4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: digitalfarm on August 18, 2009, 03:26:08 PM

Title: I wan to customize the home.html
Post by: digitalfarm 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
Title: Re: I wan to customize the home.html
Post by: mawenzi 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 ...
Title: Re: I wan to customize the home.html
Post by: digitalfarm 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.
Title: Re: I wan to customize the home.html
Post by: mawenzi 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 ...