I searched the boards for this, and can't find anything.
in displayimage.php, how do I change nav_menu to put the file name instead of "File #/#"? I see exactly where all of this code is generated...the "file" part is "$pic_pos" in theme_html_img_nav_menu()...but don't know what or where to replace that with to get the file name.
thanks in advance for your help.
Copy theme_html_img_nav_menu() from the sample theme into your theme.php and modify your copy.
change
$pic_pos = sprintf($lang_img_nav_bar['pic_pos'], $human_pos, $pic_count);
to
$pic_pos = $CURRENT_PIC_DATA['filename'];
bingo...thanks.
So what if i don't want to replace "File" with image title but rather change File to say "Item" .. what am i to change in the codes? thanks
Quote from: larrpan on February 29, 2008, 06:59:37 PM
So what if i don't want to replace "File" with image title but rather change File to say "Item" .. what am i to change in the codes? thanks
that's in your language file, under $lang_img_nav_bar 'pic_pos' => 'FILE %s/%s'
change "FILE" to "ITEM".
;DYES! U ROCK MAN! CHEERS