<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Creating different content on different pages"]]></title>
		<link>http://forums.jcatalog.com/forums/posts/list/2.page</link>
		<description><![CDATA[Latest messages posted in the topic "Creating different content on different pages"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Creating different content on different pages</title>
				<description><![CDATA[ Hi forum,<br /> <br /> I'm pretty helpless right now...<br /> I'm looking for a solution to have different contents on different pages, example:<br /> <br /> Page 1: <br /> <br /> Header<br /> Some dynamic range<br /> Footer<br /> <br /> Page 2-n:<br /> <br /> Different Header than Page 1<br /> Same dynamic range<br /> Different Footer<br /> <br /> I have absolutley no clue how to set this up.<br /> I tried it to check the value of page-number so that in dependence of the site number the content will change.<br /> But I learned that theres no way to get used to it because page-number is the last point that will be generated before the PDF will be created so theres no choice to use it as possibility.<br /> <br /> The document itself got an uncertain amount of pages and only page 1 differs from the other ones.<br /> <br /> Somebody have a solution?<br /> <br /> I already tried to make a copy of the first template and switch it with another layout via multi-layout manager but this wont work by now.<br /> <br /> Maybe theres a possibility in later versions - I'm using v. 1.3.<br /> <br /> Hope someone might help.<br /> <br /> Thanks,<br /> <br /> Olli<br /> ]]></description>
				<guid isPermaLink="true">http://forums.jcatalog.com/forums/posts/preList/156/9845.page</guid>
				<link>http://forums.jcatalog.com/forums/posts/preList/156/9845.page</link>
				<pubDate><![CDATA[Mon, 8 Feb 2010 13:49:20]]> GMT</pubDate>
				<author><![CDATA[ os_185]]></author>
			</item>
			<item>
				<title>Re:Creating different content on different pages</title>
				<description><![CDATA[ [size=18]In latest versions (3.1 and 4.0), you can use regions.[/size]<br /> <br /> To do this, please use regions, as follows:<br /> <br /> 1. To your layout, add first and rest regions: <br /> <br /> [i]Right click on page -&gt; Insert page -&gt; Region first<br /> Right click on page -&gt; Insert page -&gt; Region rest[/i]<br /> <br /> Visually, you'll see three pages:<br /> <br /> a) your page, with grayed region spaces<br /> b) two new pages, with grayed body space.<br /> <br /> With mouse, you can drag wires displaying regions, to extend it as you need.<br /> <br /> Now, you  need to move all region specific elements into newly added pages, at non-grayed space (including headers and footers), and arrange as you  need.<br /> <br /> That's all - you made custom headers and footers for first page and for other pages.<br /> <br /> In the same way you can manage even/odd regions too.<br /> <br /> [size=18]In the ancient version 1.3, the idea is the same [/size] but it is much complex to do; here you need multi-layout manager, as follows:<br /> <br /> 0. Make new clean layout and attach  correct XML to it. We'll not do anything with pages; it is just main holder for regions we'll use. Name it foo_main.lay.<br /> 1. Update your layout: it should contain the page flow you need to fill with data, without headers and footers. Name it foo_body.lay<br /> 2. Make new layout, and place all headers and footers related to first page. Name it foo_first.lay<br /> 3. Make new layout, and place all headers and footers related to other pages. Name it foo_rest.lay<br /> <br /> Important: be sure all your layouts uses the same XML!<br /> <br /> Now, open again layout foo_main, and follow to Multi-Layout Manager.<br /> <br /> Here, with drag and drop from right top list box, add all your other layouts (foo_body, foo_first and foo_last) into left top list box. Do not add foo_main itself here!<br /> <br /> Now we almost there. But we need to combine layouts in dialog.<br /> <br /> So, check the expression is '1', and specify for all layouts the same group name (at left top list, select layout and fill form data below lists, for each from list). But please keep check boxes at the bottom unchecked. This trick informs XSLfast all 3 layouts are related to one group (flow). And now you can choose check boxes at the bottom of form, as follows:<br /> <br /> 1. Select foo_body. Check box is [x] body<br /> 2. Select foo_first. Selections are [x] even/odd/first/rest, in radio group (x) first/rest, in combo box - first<br /> 3. Select foo_first. Selections are [x] even/odd/first/rest, in radio group (x) first/rest, in combo box - rest<br /> <br /> Now you can generate PDF.<br /> <br /> Note for ancient version 1.3: multi-layouts are supported only from multi-layout manager. So, if you'll use usual PDF generation in XSLfast 1.3, you'll get blank page. For versions 3.0 and above, you need to use one unified way to generate PDF files / Export XSL / XSL-FO: generate button at tool bar / menu point.<br /> ]]></description>
				<guid isPermaLink="true">http://forums.jcatalog.com/forums/posts/preList/156/9846.page</guid>
				<link>http://forums.jcatalog.com/forums/posts/preList/156/9846.page</link>
				<pubDate><![CDATA[Mon, 8 Feb 2010 20:59:52]]> GMT</pubDate>
				<author><![CDATA[ Victor Krapivin]]></author>
			</item>
			<item>
				<title>Re:Creating different content on different pages</title>
				<description><![CDATA[ Yikes!<br /> That did the trick!<br /> You really helped me out with that - thank you <img src="http://forums.jcatalog.com/forums//images/smilies/bc548c479cdc7a319ce7db330d25fb30.gif" border="0"><br /> <br /> But now my next problem is at hand:<br /> <br /> How can I export this newly created document as an .xsl file?<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.jcatalog.com/forums/posts/preList/156/9848.page</guid>
				<link>http://forums.jcatalog.com/forums/posts/preList/156/9848.page</link>
				<pubDate><![CDATA[Tue, 9 Feb 2010 07:18:18]]> GMT</pubDate>
				<author><![CDATA[ os_185]]></author>
			</item>
			<item>
				<title>Re:Creating different content on different pages</title>
				<description><![CDATA[ For version 1.3 and multi-layout - you have only one way, sorry.<br /> <br /> You need to follow layout preferences dialog (Layout/Layout preferences menu), and specify XSL file to be used directly in dialog.<br /> <br /> Once you did this, open Multi-Layout Manager again, and generate PDF. The XSL (and XSL-FO) file will be generated at place you specified.<br /> <br /> For modern versions (3.1 and 4.0) please use File -&gt; Export menu as usual.<br /> ]]></description>
				<guid isPermaLink="true">http://forums.jcatalog.com/forums/posts/preList/156/9850.page</guid>
				<link>http://forums.jcatalog.com/forums/posts/preList/156/9850.page</link>
				<pubDate><![CDATA[Tue, 9 Feb 2010 20:17:23]]> GMT</pubDate>
				<author><![CDATA[ Victor Krapivin]]></author>
			</item>
			<item>
				<title>Re:Creating different content on different pages</title>
				<description><![CDATA[ Wow...<br /> I'm fully satisfied <img src="http://forums.jcatalog.com/forums//images/smilies/8a80c6485cd926be453217d59a84a888.gif" /><br /> <br /> Thank you, very, very much.]]></description>
				<guid isPermaLink="true">http://forums.jcatalog.com/forums/posts/preList/156/9851.page</guid>
				<link>http://forums.jcatalog.com/forums/posts/preList/156/9851.page</link>
				<pubDate><![CDATA[Wed, 10 Feb 2010 09:27:05]]> GMT</pubDate>
				<author><![CDATA[ os_185]]></author>
			</item>
	</channel>
</rss>
