[pmwiki-users] PageLogoUrl

Petko Yotov 5ko at 5ko.fr
Tue Aug 11 13:52:44 CDT 2015


On 2015-08-11 20:28, Monte Padget wrote:
> I have been trying to set the $PageLogoUrl without success. Pointing
> to the pmwiki-32.gif with the default setting from the
> sample-config.php file as the starting point. I am not getting the
> icon to display in the upper left. I tried to add one for my site, but
> couldn't get it to display before realizing the the default one wasn't
> displaying.
> 
> I just uncommented out the line:
> 
> $PageLogoUrl = "$PubDirUrl/skins/pmwiki/pmwiki-32.gif";
> 
> With the $PubDirUrl line commented out.
> 
> # $PubDirUrl = 'http://www.mydomain.com/path/to/pub';

This can be a problem with permissions on the server, or with 
mis-configuration of the file paths.

Is the page working with other skins? Are the styles applied 
(backgrounds, colors...)?

When you look at the HTML source of the page, after the <div 
id='wikilogo'> tag, you'll see an <img> tag with the URL address of the 
logo (with the 'pmwiki' skin).

Is that address correct? If not, I'd double-check the variables 
$PubDirUrl and $FarmPubDirUrl in all possible local configuration files 
(farmconfig.php, config.php, Group.php...)

Can you open the correct address of the logo with your browser, and is 
the logo visible? If not, I'd check the permissions on the directories 
of the server. The directories should be readable by the server process, 
which has a different owner than the directories and files (you). So 
right-click on every directory and file, click on "Properties" or 
something similar, then select "Permissions" and place checkboxes so 
that the file can be read by users/processes other than the owner (you).

Petko

-- 
Change log     :  http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes  :  http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade :  http://www.pmwiki.org/wiki/PmWiki/Upgrades

If this message helped you and saved you time, feel free to make
a small contribution: ♥ http://5ko.fr/donate-ml (mailing list).




More information about the pmwiki-users mailing list