2017-05-10, 16:56
(2017-05-10, 15:24)Tgxcorporation Wrote:(2017-05-09, 19:09)BobCratchett Wrote: The igConq implementation is probably way too complex for most skins - it allows an unlimited number of widgets per menu item rather than a fixed number of, say, two or three. If you just want a fixed number there are plenty of skins which have an implementation you can take a look at, but the basic idea is
I'm having a look at your skin. The widget implementation is fairly complex. I think i've understood the way it works.
I see you can switch between widgets with the "widgetControl" template because you are displaying a single widget one at a time.
Instead i'd like to display all the widgets together stacked on top of each other in a grouplist.
Is it possible with templates?
Thanks
Tgx
I know this isn't directed at me, and I sure wouldn't call myself the expert, but I think you can
I am not using multiple widgets per menu item but I am using all main menu widgets at once. If you stick your template in a grouplist and make use of parameters the navigation between the widgets is all taken care of quite easily by the grouplist.
Simplified snippet:
PHP Code:
<control type="grouplist" id="9100">
<itemgap>0</itemgap>
<orientation>vertical</orientation>
<onup>noop</onup>
<ondown>noop</ondown>
<scrolltime tween="cubic" easing="out">500</scrolltime>
<include content="skinshortcuts-template-widget_Regular">
</include>
</control>
As I wanted all the widgets to show at once regardless of which main menu is selected I stripped out the <skinshortcuts>visibility</skinshortcuts> to achieve this (well it was a little more complicated than that..) but I don't see why it wouldn't be possible to do this per menu item.
Bob will surely give you a better answer than me though