Forums / Cotonti / Extensions / [Release] Widgets

Manage simple widgets

MIHDev
#27514 2010-12-15 06:22
Hi m8,

My request can sound strange and it's probably only me who uses it but it is sometimes useful, its called 'combination-tagging'

eg:
Lets say you have {EXTRA1},{EXTRA2},{EXTRA3} and {EXTRA4} but you want them all outputted in a singular form for whatever reason, thus I have created a tag called {EXTRA} which is the result of building all 4 tags into a single tag, it only works in some cases where fields are suited in pairs. One example is news. {NEWS_TITLE}, {NEWS_TEXT}, {NEWS_DATE}, {NEWS_POSTER} can all be combined to form {NEWS}.

Like the idea of XTemplate conditionals and variables, that adds huge scope for adding templates to fields which would be superb :)
[b]Know the question and you will be far more likely to get an answer.[/b]