https://www.icyphoenix.com/viewtopic.php?f=26&t=3317 ----------------------------------- luckyou03 Tue 25 Dec, 2007 00:14 FAP CUSTOMIZATION - Add Titles To Next & Previous Pics In Pic Navigation ----------------------------------- Hi i was wanting to add the actual picture titles to the next and previous pictures on the picture navigation on album_showpage_body right now the tpl file shows: [code linenumbers=false]
{pics_nav.L_PICS_NAV}
{pics_nav.L_PICS_NAV_NEXT}
{PIC_TITLE}
{pics_nav.L_PICS_NAV_PREV}

[/code] so instead of {pics_nav.L_PICS_NAV_NEXT} it'd be like {pics_nav.L_PICS_NAV_NEXT_TITLE} and {pics_nav.L_PICS_NAV_PREV} it'd be like {pics_nav.L_PICS_NAV_PREV_TITLE} ----------------------------------- Artie Tue 25 Dec, 2007 16:12 Re: Add Titles To Next & Previous Pics In Pic Navigation ----------------------------------- I assume you are wanting the pic title to display in the tooltip on mouseover of the next/prev thumbnails. This should do that for you. OPEN [b]album_showpage.php[/b] FIND 4 instances of [codeblock]'PIC_PREVIEW' => $pic_preview,[/codeblock] AFTER ADD (2 instances where applicable for Next Pic) [codeblock]'PIC_TITLE' => $next_pic_rows[$i]['pic_title'],[/codeblock] [b]AND[/b] AFTER ADD (2 instances where applicable for Previous Pic) [codeblock]'PIC_TITLE' => $prev_pic_rows[$i]['pic_title'],[/codeblock] OPEN [b]album_showpage_body.tpl[/b] FIND [codeblock]alt="{pics_nav.L_PICS_NAV_NEXT}" title="{pics_nav.L_PICS_NAV_NEXT}"[/codeblock] REPLACE WITH [codeblock]alt="{pics_nav.next.PIC_TITLE}" title="{pics_nav.next.PIC_TITLE}"[/codeblock] FIND [codeblock]alt="{pics_nav.L_PICS_NAV_PREV}" title="{pics_nav.L_PICS_NAV_PREV}"[/codeblock] REPLACE WITH [codeblock]alt="{pics_nav.prev.PIC_TITLE}" title="{pics_nav.prev.PIC_TITLE}"[/codeblock] ----------------------------------- luckyou03 Wed 26 Dec, 2007 04:40 Re: Add Titles To Next & Previous Pics In Pic Navigation ----------------------------------- you are the best, thanks very much