Author Topic: advertisement between image rows?  (Read 19513 times)

0 Members and 1 Guest are viewing this topic.

Rembrandt

  • Guest
Re: advertisement between image rows?
« Reply #15 on: July 07, 2011, 05:37:32 PM »
....
is supposed to look like this:
...
search in the code: ( http://www.4homepages.de/forum/index.php?topic=26027.msg141892#msg141892 )
$thumbnails .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";

and replace:
$thumbnails .= "<td colspan=\"".$config['image_cells']."\" valign=\"top\">\n";


mfg Andi

Offline Szooguun

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: advertisement between image rows?
« Reply #16 on: July 11, 2011, 12:51:14 PM »
....
is supposed to look like this:
...
search in the code: ( http://www.4homepages.de/forum/index.php?topic=26027.msg141892#msg141892 )
$thumbnails .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";

and replace:
$thumbnails .= "<td colspan=\"".$config['image_cells']."\" valign=\"top\">\n";


mfg Andi


THX :)

Offline J.Lond

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: advertisement between image rows?
« Reply #17 on: July 20, 2012, 12:37:08 PM »
I have managed to get this working on the index page with new images.  Plain text and html code work fine but when I use my own custom language tags {blahblahblah} they do not show up.  The language tags work properly when placed in the home template.  I am using version 1.7.11.  Thank you.

Rembrandt

  • Guest
Re: advertisement between image rows?
« Reply #18 on: July 20, 2012, 06:43:31 PM »
Hi!
you must register your custom tags in the categories.php or where ever

$site_template
->register_vars("blahbla"$lang['blablub']);

or:

$site_template
->register_vars(array(
"blahbla" => $lang['blablub'],
"huhu" => $lang['blubblub'],
"hallo" => $lang['huhu']
));


mfg Andi