4images Forum & Community

4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: julien on January 08, 2003, 12:31:02 AM

Title: [ tag for templates ]
Post by: julien on January 08, 2003, 12:31:02 AM
Hi !!
I'm new here :)

I just would like to knowall the tags ({....}) for templates ;)

Where could i find that ??
Title: Info not available
Post by: Chris on January 08, 2003, 03:21:19 AM
Sorry, it's not documented anywhere.  You'll have to open all the templates and look for {tag_name}  

One more thing, I just learned today that all the tags from details.html are available for use in thumbnail_bit.html
Title: [ tag for templates ]
Post by: julien on January 08, 2003, 12:33:10 PM
No documentation ???

argghh very hard :(

If this system want stay "in the place", it must be documented :)


I can work on it ... with developer of course ;)
Title: [ tag for templates ]
Post by: Vraxor on January 08, 2003, 02:03:18 PM
why is documentation needed???

I once thought the same, but I discovered that it will not have any use as you can find all the tags at the default templates. Also do many MODS add some more tags. As it is not possible to use all tags at all templates, it will be lots of work to make a document in which you discribe what tags are useful for which templates, but by just looking at the default templates you will be able to find all tags you need.

Cheers,
Vraxor
Title: [ tag for templates ]
Post by: julien on January 08, 2003, 02:21:37 PM
fastidious work ...
waste of time i mean ...

But i'll do it ... and i'll do a documentation for newbies  :P
Title: [ tag for templates ]
Post by: Chris on January 08, 2003, 02:40:30 PM
Quote from: julien
... and i'll do a documentation for newbies  :P

That would be great.   :)   If you document as much as you can, I'm sure we can get a couple others to add some extra information that's not immediately obvious.
Title: [ tag for templates ]
Post by: julien on January 08, 2003, 05:35:24 PM
Ok I'll try :)
Title: Re: [ tag for templates ]
Post by: moerocksit on August 08, 2007, 06:05:53 PM
Any results?
I'm searching for something like that to modify my own gallery ...
I think it is not necessary to know all the meanings of the tags but it would be interesting to know what different kind of tags are available ... the most are self-explanatory ... and if the is a bigger request we could do it together ...
So, what about it? ( 4 years later =) )
Title: Re: [ tag for templates ]
Post by: mawenzi on August 08, 2007, 06:46:40 PM
... you can make your own list (default list) of tags for the templates ...
... one solution is ...
... search in all php files (default version) for ... 
... $site_template->register_vars(array( ... and the following tags like "tag_name" => $tag_name, ...
... or ...
... search in all template files (default template) for tags ... like ... {tag_name} ...
... and copy / paste it in your list ... e.g. like this ...

Quote
php-file ...............template-file ...............tag-name ...............tag-description ................
index.phphome.html{header}site header
index.phphome.html{user_box}loggin box

... a.s.o. ...
... and then publish your list here ... we will see whether they are complete ...
... good luck ... ;)