Author Topic: Custom Image table cells  (Read 4334 times)

0 Members and 1 Guest are viewing this topic.

Offline sunl

  • Newbie
  • *
  • Posts: 20
    • View Profile
Custom Image table cells
« 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

Rembrandt

  • Guest
Re: Custom Image table cells
« Reply #1 on: December 19, 2012, 09:39:55 PM »

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: Custom Image table cells
« Reply #2 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 »
Danke Harald




Offline sunl

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Custom Image table cells
« Reply #3 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?

« Last Edit: December 20, 2012, 12:26:38 PM by sunl »