cotonti.com : [Release] Widgets https://www.cotonti.com Laatste forum onderwerpen Cotonti en Thu, 29 Jan 2026 08:02:35 -0000 MIHDev
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 :)]]>
Wo, 15 Dec 2010 06:22:40 -0000
GHengeveld
To make stuff more flexible I'll probably add the option to use XTemplate-style conditionals and variables.

I don't know what you mean by the 'single tag' and 'multi-part types', or what you would want it for.]]>
Wo, 15 Dec 2010 05:20:12 -0000
MIHDev A useful feature would be to have a single tag which could define multi-part types, eg: Site Navigation, Latest Page etc.. wrapped up in a single tag {PLUGIN_WIDGETS} or multiple singular tags {PLUGIN_WIDGETS_RECENTPOSTS}]]> Wo, 15 Dec 2010 04:55:27 -0000 GHengeveld
Some ideas for widget types:
  • Table of contents (TOC)
  • Site navigation (structure)
  • Random page contents
  • Latest page in specified category
  • Social media
  • RSS reader
  • Simple forms
]]>
Wo, 15 Dec 2010 04:18:41 -0000
MIHDev ]]> Wo, 15 Dec 2010 04:08:30 -0000 schulle4u Wo, 15 Dec 2010 02:00:49 -0000 GHengeveld
Actually we've been creating a lot of plugins for Siena, because many core features are moved out of core into a plugin. For example the hidden groups and user avatar/photo are now in plugins.]]>
Di, 14 Dec 2010 19:30:35 -0000
Kort Di, 14 Dec 2010 19:16:38 -0000 GHengeveld
Widgets was designed to make simple things very easy to set up, if you're doing complex stuff it's better to write a separate plugin for it. For example you can use it to include 3rd party widget code, such as the Twitter widget, Google Analytics, AddToAny buttons etc. Mostly Javascript. Whether or not to use rloader is up to the site admin.]]>
Di, 14 Dec 2010 18:53:54 -0000
ez This uses every major hook, if there will be more plugins like this, then the
hooking system will have a lot of hooks to process.
I also use all hooks sometimes too.. ;)

Maybe we should think of a 'smarter' way to process hooks ???
(Only fire used hooks, in stead of looping all hooks and just try them)

For more advanced widgets there should also be a section that loads css and js files.
Maybe you can use my rloader plugin: http://code.google.com/p/rloader/
( I have developed it for widget stuff :) )

These were just some ideas.. ( I like widgets !! )

ez]]>
Di, 14 Dec 2010 15:45:14 -0000
GHengeveld
Note: This is a Siena-only plugin. If you really want it to work in Genoa, it will need quite a few changes.

Right now it only supports plaintext and HTML, but I have plans to add options for showing contents from a page, the latest post in a topic, etc.

Download here]]>
Di, 14 Dec 2010 10:56:39 -0000