PDA

View Full Version : title - yes again


esck
05-27-2007, 06:20 AM
First of all, great plug in.

I'm using lite version because this section it's not that popular yet at my site, but if it ever does, I'll get the pro version, as it seems the best gallery mod for vb.

And now my problem

I've checked all the posts about how to change the title and so on, and it does works, but not quite well.

My title now says: Mysite.com - Gallery -

notice the last "-" :confused:

It should be: Mysite.com - Gallery

also in the breadcrumb navigation says: Mysite.com > Mysite.com - Gallery :confused:

it should say something like: Mysite.com > Gallery

I hope you can help me with this Morgan

Thanks in advance

Morgan
05-27-2007, 05:31 PM
The phrase to edit is the following using the ACP Phrase Manager:
Content visible to registered users only.
You could also edit the following in the PhotoPlog functions.php file:
Content visible to registered users only.
IIRC there is no dangling dash in a default install, so that might be coming from some other change.

esck
05-31-2007, 11:37 PM
yes it does, in fact is in the code you mentioned, the red part

Content visible to registered users only.

If I remove it, bye bye dash

But I still have some problems

navigation works great with the "photoplog_photoplog" phrase edited to "gallery".

Content visible to registered users only.

but page title only shows Gallery

could I add to this code something like this?

Content visible to registered users only.

I think not, I just tested that and it broke my site :(

Morgan
06-02-2007, 02:55 AM
That dash is followed by a variable and that variable should always be set. If it's blank, then perhaps a PhotoPlog phrase was changed to blank. Try comparing against the online demo (http://www.photoplog.com/demo/lite/index.php) for any trailing dash. As for the edit, you need to use a period before and after the "-" part to make the concatenation.