Search the Community
Showing results for tags 'widgets modules'.
-
Hi, this PW looks like great stuff! Great work you guys! I'm trying to find a solution for implementing widgets on my pages. For starters, I'm trying to create a simple widget which just requires two InputfieldText instances in the admin. Now, I realized that I could create a template for the widget, and then add widgets to a page by creating child pages based on that template. I could then check for child pages using that widget template, and render those into my page instead of linking to them (as with normal child pages). That works technically, but I don't like to idea that the list of child pages becomes a mix of actual child pages and in-page widgets. How would you guys implement this feature? Would you use templates for widgets, and somehow alter the way the child pages are listed in the admin? Is there a way to present the widget child pages in a separate tab within the page editing view (and not display them in the Pages view, and not in the Children tab)? Or would you create a Fieldtype which can hold multiple values, and an Inputfield which presents multible GUI elements? I've spent quite a lot of time trying this approach, but I can't get the values from the two InputfieldText:s to be sent when saving... I managed to read values into them from the DB though... However, that was achieved without extending the InputfieldWrapper, and I'm guessing that some important PW features went missing along the way then... Any advice? Cheers & thanks, .Thomas