Author Topic: I wan to customize the home.html  (Read 4166 times)

0 Members and 1 Guest are viewing this topic.

Offline digitalfarm

  • Pre-Newbie
  • Posts: 5
    • View Profile
I wan to customize the home.html
« on: August 18, 2009, 03:26:08 PM »
I want ot move the php elements in order areas of the template. can you tell the exact codes to copy that would just affect the Categories elements, New images Elemnts and search etc

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: I wan to customize the home.html
« Reply #1 on: August 18, 2009, 05:50:14 PM »
... the "php elements" in the templates are tags like {tag_name} ...
... so you can find in home.html tags like ...

{random_image} : for the random image
{if categories}{lang_categories}{categories}{endif categories} : for the categories
{new_images} : for the new images

... a.s.o. ... you will find quickly the meaning of the tags ...
... all other code in home.html is "html" and for your website design ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline digitalfarm

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: I wan to customize the home.html
« Reply #2 on: August 18, 2009, 07:30:20 PM »
Ok I understand so basically if you copy the tags to a specific area of the html file it shoud work .But other properties for the tags such as table size etc need to copied also?.  I want it to be affected by css. I am using the default 960 template.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: I wan to customize the home.html
« Reply #3 on: August 18, 2009, 09:19:07 PM »
... the most tablesizes are defined also in the templates or in header.html ... it is depended from the template ...
... and some sizes e.g. "Number of category table cells" or "Image table cells" or "Image table rows" are defined in the ACP -> General Settings ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...