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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.