Hi Tino,
You may want to take a look at the PHP function
array_count_values() which returns an array with the values and their counts.
There are examples from this link:
http://php.net/manual/en/function.array-count-values.php
Alex
I just installed a vanilla elgg-1.7.7 and installed themer. THEMER 0.5 DOES NOT WORK WITH ELGG 1.7.7. Since elgg has new theming scheme for 1.8, Themer will likely need some major rewrite. Will keep you posted but for now, dont bother with Themer...
@lj looks like you have the mobile only theme set to yes - setting it to No.
@moonslice for now, while troubleshooting, please set 'allow individual user themes' to no.
Also, on check on 'use view filepath cache' on site admin.
just an...
@poppler Themer currently has no feature to upload images but you can FTP or use the file plugin to do so. You can then provide the URL to the image to be used as background or header image. Just make sure the file/link have public permissions.
@moonslice, please make sure that your Elgg site administration setting has "Use Simple Cache" unchecked. Also, if you are using a non-mobile browser, make sure that the Themer "Mobile Only Theme" setting is set to "No".
If these...
Are you able to see the themer settings page as illustrated on the screenshots to the left of this plugin page? If not, then the plugin is either not unzipped properly or the proper permissions are not set on the directory/files. If you are able...
Just replace everything after the = sign and before the semicolon ; with the color value you want in the format '#000000'.
$themer_canvas = '#000000';
Will make the canvas area black. Just to further confuse you, you can also replace the CSS...
You could simply replace the entire value with a constant instead of calling sethexcolor. This plugin was originally created for users who are shy from digging into php code and I wanted to keep the configuration menu with enough flexibility...
@jckm2000 somewhere around line 383 or so (in case others have made changes and added/removed a few lines), there is a setting for $themer_canvas = sethexcolor(0x20+$brightness,...
Followed by $themer_page = ..., etc. Simply change the hex...
There is a section of the code that looks at the browser header information to determine information that is common with the platform it is running on. You can simply create a simple php page with the code:
<?PHP echo phpinfo();...