Hey
I'm look for a way to to print out all content from a top level page and all pages down.
Maybe through sql and export to pdf.
How do i get all that in sql or is there a way in admin to help out.
Hey
I'm look for a way to to print out all content from a top level page and all pages down.
Maybe through sql and export to pdf.
How do i get all that in sql or is there a way in admin to help out.
You'd probably need a stored procedure that performed a recursive query on the database to get all pages and paragraphs in all navigation branches.
Dynamicweb has a function for printing all the content in a subtree to either HTML or PDF:
http://manual.net.dynamicweb.dk/Default.aspx?ID=642
Another option is to find all the PageID's from one place in the structure, and select paragraph/pages in that array. Let me know if it is needed.
np wrote:
Dynamicweb has a function for printing all the content in a subtree to either HTML or PDF:
http://manual.net.dynamicweb.dk/Default.aspx?ID=642
Another option is to find all the PageID's from one place in the structure, and select paragraph/pages in that array. Let me know if it is needed.
I have tryed the function for printing all the content in a subtree, but i only get the result for the current page.
Do i need to use a different tag than <!--@DwPrinterfriendly-->
Take a look at this:http://template.dynamicweb.dk/TemplateTags/Dynamicweb-template-tags/Page-tags/Page-property/DwPrinterfriendly.aspx
np wrote:
Take a look at this:http://template.dynamicweb.dk/TemplateTags/Dynamicweb-template-tags/Page-tags/Page-property/DwPrinterfriendly.aspx
Thanks.
Is it possible to see the sql for 'Printer freindly for current page and subpages'
I seem to have trouble with pages require login.
The SQL could bee usefull
Resolving this using the database would be a potential souce of reducing the performance of the site, so this feature uses the cached informations in the PageView object.
What problems are you experiencing?
You must be logged in to post in the forum