4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: sunl on December 19, 2012, 09:05:57 PM

Title: Custom Image table cells
Post by: sunl on December 19, 2012, 09:05:57 PM
Hello

Merry Christmas to All  :)

I was trying to customise "Image table cells"

So  i changed manually this code in categories.php
Code: [Select]
$count++;
    if ($count == $config['image_cells']) {
      $thumbnails .= "</tr>\n";
      $count = 0;
    }

I changed $config['image_cells'] to 2 and it show 2 image cells.
But here is problem. Actually i tried to point from sub domain and it was successful but my main site also started to show two image cells.
Is there anyway?  so that my main site show 4 image cells and sub domain show 2 cells for same database
Title: Re: Custom Image table cells
Post by: Rembrandt on December 19, 2012, 09:39:55 PM
Hi!

Try this: http://www.4homepages.de/forum/index.php?topic=28703.msg154398#msg154398

mfg Andi
Title: Re: Custom Image table cells
Post by: Jan-Lukas on December 19, 2012, 09:55:58 PM
auf den Tag vor 2 Jahren gepostet  :lol:
Antwort #1 am: Dezember 19, 2010, 07:58:04 »
Title: Re: Custom Image table cells
Post by: sunl on December 19, 2012, 10:51:03 PM
Thanks for reply "Rembrandt" 
 
Link you provide seems customise  image cells for independent categories.

But my problem is i want categories image cells for two independent domains, one main domain and second subdomain.

When user came to main domain yoursite.com it show 3 image cells for all categories but when user came from sub-domain like xyz.yoursite.com to same database it show 2 image cells for all categories.  Like attachments

is it possible?