reading through the documentation. I am having a really hard time working out examples where you'd use the GetRecordsFromPage etc etc.. what is the Page and when would it be used..
IE say a user has a form on a page and we submit that form how could there be more than one record for a page..
I'd really love to see more contour examples up and around.. it feels like there is alot of marketing around it saying it CAN do x and x and x but the developer's guide isn't geared to how to actually use the library by example.. more just definitions of terms.. if you don't understand how to piece those together or when to use them i feel like it doesnt really aid development..
are there any tutorials around for contour on a wider scale?
You have a 'news articles' and each 'new article' has a template, which includes a Contour form called 'comments'.
You can use the contour form to post comments, those comments are then related to the page they have been posted from.
This means that in the same template we can write some XSLT which says 'get the comments', when you run the GetRecordsFromPage function, it looks at the $currentPage and pulls back and 'comments' related to that page.
GetApprovedRecordsFromFormOnPage what is PAGE?
Hi guys,
reading through the documentation. I am having a really hard time working out examples where you'd use the GetRecordsFromPage etc etc.. what is the Page and when would it be used..
IE say a user has a form on a page and we submit that form how could there be more than one record for a page..
I'd really love to see more contour examples up and around.. it feels like there is alot of marketing around it saying it CAN do x and x and x but the developer's guide isn't geared to how to actually use the library by example.. more just definitions of terms.. if you don't understand how to piece those together or when to use them i feel like it doesnt really aid development..
are there any tutorials around for contour on a wider scale?
Okay I'll try and to a little example.
You have a 'news articles' and each 'new article' has a template, which includes a Contour form called 'comments'.
You can use the contour form to post comments, those comments are then related to the page they have been posted from.
This means that in the same template we can write some XSLT which says 'get the comments', when you run the GetRecordsFromPage function, it looks at the $currentPage and pulls back and 'comments' related to that page.
One form, multiple pages.
Laux
awesome! thank you Laurence! great example!
is working on a reply...