Hi,
I'm using fotogallery theme and trying to add link at the left panel (just below "search" option). Couldn't get the right way how to do so and appreciate if anyone can help me.
See if the custom link config option puts it in the right place. If not, edit the theme's template.html and add in your new link just after the {SUB_MENU} tag.
Hi Nibbler,
Can you show me how to do it? Or may be you could give one example on that. I'm getting nowhere from your words. ???
I'm using fotogallery theme without any modification. It's a fresh one.
Post a link to your gallery for a start.
Quote from: Joachim Müller on March 28, 2008, 08:42:20 AM
Post a link to your gallery for a start.
Unfortunately, I still don't have link for my gallery. All this while, I'm using offline server. What if I zip the package and send it to u personally?
Negative.
Hey,
I've found where to put the link at. I put the link name in config section. But then, only one link allowed. How can I put more links (using this feature)?
Do as I suggested...
If you're not already using the {CUSTOM_HEADER} option, here's a simple (but not very elegant) way to add the extra menu items:-
1) Edit the theme template.html to put {CUSTOM_HEADER} where you want the extra menu items to appear:
<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}{CUSTOM_HEADER}
2) Using a text editor (like Notepad) create a file called something like "extra_menu_items.php" in your fotogallery themes folder. Type in this code and edit it to suit your links:
<?php
echo <<<EOT
<a href="path/to/first/target/" title="Go to aaa">Link 1</a>
<a href="path/to/second/target/" title="Go to bbb">Link 2</a>
<a href="path/to/third/target/" title="Go to ccc">Link 3</a>
<a href="path/to/fourth/target/" title="Go to ddd">Link 4</a>
EOT;
?>
3) Use "Config>>Themes settings>>Path to custom header include" to point to the new PHP file. You'll need to enter something like:
Quotethemes/fotogallery/extra_menu_items.php
Then save the new configuration and try it out.
Steve