4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 28, 2014, 09:05:53 AM

Login with username, password and session length
Search:     Advanced search
Follow 4images on twitter: Click here to follow!
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Requests & Discussions) (Moderators: mawenzi, Rembrandt)
| | |-+  Custom Image table cells
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Custom Image table cells  (Read 1177 times)
sunl
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 6
-Receive: 0


View Profile
« on: December 19, 2012, 09:05:57 PM »

Hello

Merry Christmas to All  Smile

I was trying to customise "Image table cells"

So  i changed manually this code in categories.php
1
2
3
4
5
$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
Logged
Rembrandt
Moderator
4images Guru
*****
Offline Offline

Posts: 4043

Thank You
-Given: 105
-Receive: 850

Vienna


View Profile WWW
« Reply #1 on: December 19, 2012, 09:39:55 PM »

Hi!

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

mfg Andi

Follow members gave a thank to your post:
wallward

For this post, 1 member gave a thank you!
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Jan-Lukas
Addicted member
******
Offline Offline

Posts: 1226

Thank You
-Given: 138
-Receive: 41


View Profile WWW
« Reply #2 on: December 19, 2012, 09:55:58 PM »

auf den Tag vor 2 Jahren gepostet  Laughing
Antwort #1 am: Dezember 19, 2010, 07:58:04 »
Logged

Danke Harald

sunl
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 6
-Receive: 0


View Profile
« 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?


* 1.png (44.61 KB - downloaded 5 times.)
* 2.png (38.35 KB - downloaded 5 times.)
« Last Edit: December 20, 2012, 12:26:38 PM by sunl » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.127 seconds with 24 queries.