Support > cpg1.5 themes (visuals)
[url]Album name[/url] under lastalb thumb
3git:
You're right Joachim. Plugin is very good, but I'd like to customize it a little bit.
Now I've found out that when I do:
$alb_name = $thumb['title'];
$params = array(
'{CELL_WIDTH}' => $cell_width,
'{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
'{THUMB}' => $thumb['image'],
'{CAPTION}' => $thumb['caption'],
'{ADMIN_MENU}' => $thumb['admin_menu'],
'{ALB_NAME}' => $alb_name,
besides
$params = array(
'{CELL_WIDTH}' => $cell_width,
'{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
'{THUMB}' => $thumb['image'],
'{CAPTION}' => $thumb['caption'],
'{ADMIN_MENU}' => $thumb['admin_menu'],
'{ALB_NAME}' => $thumb['title'],
I get right album name only for lastalb panel, but random, lasthits etc shows {ALB_NAME} below thumb. Before that (second option) I got album name under lastalb thumb and empty space in others.
Now my question is: Could anyone point me how to ask DB for right album name? So I can do something like:
$query = "SELECT from........
$alb_name = $query
$params = array(
'{CELL_WIDTH}' => $cell_width,
'{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
'{THUMB}' => $thumb['image'],
'{CAPTION}' => $thumb['caption'],
'{ADMIN_MENU}' => $thumb['admin_menu'],
'{ALB_NAME}' => $alb_name,
Maybe that will help to show proper album name. One more thing, If I choose for expample $thumb['filename'] besides $thumb['title'] everything works great ;/ ...wierd.
Αndré:
--- Quote from: Joachim Müller on May 10, 2010, 02:41:35 pm ---I'm not sure if Timo (the author of enlargeIt) is aware of this thread.
--- End quote ---
I already posted in the EnlargeIt! thread:
--- Quote from: Αndré on May 10, 2010, 12:04:41 pm ---Timo, please note that issue.
--- End quote ---
3git:
It's not just enlargeIt issue, I just want this 'album name link' under lastalb thumb (done) and metas (lasthits, random etc). EnlargeIt just made me to work on this as far as it disables thumb link to thumbnails.php.
But still, any help welcome.
Navigation
[0] Message Index
[*] Previous page
Go to full version