PDA

View Full Version : modifying subnav link variables


lightnb
03-19-2006, 09:12 PM
you know the table at the top, where it says "home, upload, search" etc.?

I want to edit those link variables, so that instead of being text phrases they are graphical buttons.

where can i find the actuall links?

thanks,

Nick

Morgan
03-21-2006, 05:21 PM
Look for the following in the settings.php file:
Content visible to registered users only.

WNM07
07-08-2008, 03:01 PM
Content visible to registered users only.
can you give me an example of how i would edit that to make an image show instead of text?

Morgan
07-09-2008, 02:31 PM
From:
Content visible to registered users only.
To:
Content visible to registered users only.
Or edit the photoplog_home phrase via the ACP or edit the photoplog_sub_navbar template.

WNM07
07-10-2008, 04:30 PM
yeah i understand how to make the images appear but with edit and delete each picture has it's own address

Morgan
07-10-2008, 04:36 PM
It's the same for the other links. The A HREF part is already set. You replace the phrase part as shown in the previous post:
Content visible to registered users only.
Content visible to registered users only.
Or edit the photoplog_edit phrase via the ACP or edit the photoplog_sub_navbar template, the latter of which would require that you set both the A HREF link and IMG tag, so it's probably not the easiest choice. Editing the photoplog_edit phrase would probably be the easiest choice, but that of course would affect all places where the phrase appears on screen, so that leaves the PHP file edits.