Print the {TITLE} in another location Print the {TITLE} in another location
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Print the {TITLE} in another location

Started by serg5777, June 05, 2012, 06:41:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

serg5777

Where should I take, I have shown by an arrow in the screenshot. Thank you
http://s019.radikal.ru/i634/1206/b3/e77f370decf3.jpg

Αndré

I assume you want to display the picture title in the navigation bar? What should be displayed if there's no picture title set? Nothing? The file name?

Please post your current modification.


Moving from permission to themes board.

serg5777

That's right, I need to file name, title pictures :)

serg5777

In <<<$template_img_navbar>>>
<td align="center" class="navmenu" width="48">{TITLE}</td>

Αndré

Copy the function theme_html_img_nav_menu from themes/sample/theme.php to your theme's theme.php file if it doesn't exist. Then, find
'{LOCATION}' => $location,
and below, add
'{TITLE}' => $CURRENT_PIC_DATA['title'] ? $CURRENT_PIC_DATA['title'] : $CURRENT_PIC_DATA['filename'],

serg5777

Many thanks Αndrй, as always helped out!  ;)

Αndré

As always, please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.