Hi,
I have a PageTemplateExtender that retrieves content for sub pages and creates a tab system where the user can click on the tabs a get pagecontent without haveing to do a posback.
In my PageTemplateExtender i generate Global:Page.Content tags and it works fine except if you have page with a ParagraphSetup. The content of the ParagraphSetup template is ignored by the Global:Page.Content.
Is this a bug or is it how it is suposed to work?
Is there any method in the Dyniamicweb API to retrieve pagecontent including content from the paragraphsetup?
Here is the content for page 72 http://g2dynamicweb.pro.drax.se/Default.aspx?ID=72&Purge=True
Here is the content generetad for the same page by Global:Page tag http://g2dynamicweb.pro.drax.se/Products/Casino.aspx
Urgen help needed. :)
Regards / Aki
Developer forum
E-mail notifications
API for getting page content
Posted on 15/01/2010 07:56:22
Replies
Nicolai Høeg Pedersen
Posted on 15/01/2010 09:49:51
The Global:Page.Content tag inserts the same as DwContent in a page template - except Global paragraphs... (Due to possible cirkular reference problems.)
Posted on 15/01/2010 10:47:33
OK,
Any ideas of why the fist tab "Product Info" does not generate Paragraph setup html but the next tab "Case Scenario" does generate it. The content of the tabs are generated with Global:Page.Content.
/Aki
Any ideas of why the fist tab "Product Info" does not generate Paragraph setup html but the next tab "Case Scenario" does generate it. The content of the tabs are generated with Global:Page.Content.
/Aki
Posted on 15/01/2010 11:06:47
Is there any methond in the API for retrieving pagecontent?
/Aki
/Aki
Nicolai Høeg Pedersen
Posted on 15/01/2010 11:19:20
Frontend.Pageview.Current.Content.CreateContent(PageID)
Posted on 15/01/2010 14:28:22
Thanks! Works like a charm. :)
You must be logged in to post in the forum