Author Topic: 2 questions about edit home.html file  (Read 8573 times)

0 Members and 1 Guest are viewing this topic.

Offline suderDesign.pl

  • Pre-Newbie
  • Posts: 4
    • View Profile
2 questions about edit home.html file
« on: January 08, 2006, 04:13:54 PM »
Hi everyone, I have 2 questions about edit home.html file:

1. How/where can I edit table "New images" on home.html ? I would like have images on the centre of their columns and delete "lightbox" buttons but only on table "new images" on home.html

2. Where can I edit width of "who is online" table on home.html. I saved this file with widht of this table set on 100% width but it looks that:  :?

Could you help me? :)

PS. Sorry for my english  :oops:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 2 questions about edit home.html file
« Reply #1 on: January 08, 2006, 08:38:27 PM »
Hope you know basic HTML ;)

1. How/where can I edit table "New images" on home.html ? I would like have images on the centre of their columns and delete "lightbox" buttons but only on table "new images" on home.html
In index.php find:
Code: [Select]
    $new_images .= $site_template->parse_template("thumbnail_bit");Replace it with:
Code: [Select]
    $new_images .= $site_template->parse_template("home_thumbnail_bit");Then create a new template home_thumbnail_bit.html (copy of thumbnail_bit.html) with whatever changes you want.


2. Where can I edit width of "who is online" table on home.html. I saved this file with widht of this table set on 100% width but it looks that:  :?
Edit whois_online.html template
Your first three "must do" before you ask a question:
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)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline suderDesign.pl

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: 2 questions about edit home.html file
« Reply #2 on: January 08, 2006, 09:59:52 PM »
BINGOOOO  :mrgreen: :mrgreen: :mrgreen:

Thank You Very Much Vano :)

But I have small one more question:

I couldn't find where can I change number of [new] thumbnails on home.html / index.php [example from 3 to 4 thumbnails]. Could you help mi with this small question ;) ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Your first three "must do" before you ask a question:
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)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline suderDesign.pl

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: 2 questions about edit home.html file
« Reply #4 on: January 08, 2006, 10:32:41 PM »
Oh Yes, I saw this topic, but i don't want example 4 thumbnails in 2 line but 4 thumbnail in 1 line - that like I can change number of columns in categories table at the index...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 2 questions about edit home.html file
« Reply #5 on: January 08, 2006, 10:44:48 PM »
Its controled by "Image cels" in the settings. You can set manualy the number you want in index.php find:
Code: [Select]
    if ($count == $config['image_cells']) {Replace with:
Code: [Select]
    if ($count == XX) {Replace XX with your number.
Your first three "must do" before you ask a question:
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)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline suderDesign.pl

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: 2 questions about edit home.html file
« Reply #6 on: January 08, 2006, 11:10:26 PM »
Thak You very much... once more ;)