143 Posts
pretobrazza
10 years ago
1
Topic
Hi all,

EDIT March 1st 2014: HERE is the solution (workabout) without external modal plugins

I think I finally found the solution on how to render a modal box in a relatively simple way!! It's crazy but it works the way I have been dreaming for .. since a long time!!

1) If you have YOO Widgetkit enabled and you don't use it for anything else in your website,. set the components>widgetkit>lightbox>enable on [NO]
2) Go to system>Clear Cache>Clear all the cache + Clear the cache of your browser
3) Install http://www.nonumber.nl/extensions/modals (it's free and rendering even works on my galaxy mini)

Ready?
1) If you have a seach/list in Seblod go to construction/List&search types>[your List&search type]
2) In there go to Item and choose #2 (List&Markup(class)) and (in my case) select -LINK- for your Title field
3) Choose #3 (Typography etc) and select -HTML- for your Title field. Next to it will appear a + sign. Click on it and fill in the following code:
{modal $cck->getId('art_title') |width=360|height=315|}$cck->getValue('art_title'){/modal}



4) Save it

Now on your website, each title of each record of your List will link to the content of your Form&content type and show it in a Modal box.

Simple hé ;)
Bernard

ps. I't a non official version of a site under construction but scroll to the bottom of This link and click on "paradijs voor kinderen" or "maak je een reis door de tijd". Both are the non formatted results of list&search types (modules) which are linked to an article just like comments, explained by Daniel Young, are.

Get a Book for SEBLOD
143 Posts
pretobrazza
10 years ago
0
Level 2
Hello Zwergo,

As I'm working on the site, I took out (it seems) the article ID out of the url. Yet I'm still struggling with somthing putting an ID in front of the category in my dynamic menus.

The LINK above to the site is fixed now.
I'm working on the same principle HERE too in a table with 5000+ records. Every little blue link leads to a modal window.

Thank you for letting me know!

Bernard
Get a VIP membership