<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: dynamic template in post</title>
		<link>http://www.kriesi.at/support/topic/dynamic-template-in-post</link>
		<description>Support Forum - Topic: dynamic template in post</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 00:49:30 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/dynamic-template-in-post" rel="self" type="application/rss+xml" />

		<item>
			<title>ronvanbreukelen on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72364</link>
			<pubDate>Wed, 22 Aug 2012 18:36:11 +0000</pubDate>
			<dc:creator>ronvanbreukelen</dc:creator>
			<guid isPermaLink="false">72364@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey Dude,&#60;/p&#62;
&#60;p&#62;I solved it by making a trigger in MySQL.&#60;br /&#62;
Thanks for your help!&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Ron
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72341</link>
			<pubDate>Wed, 22 Aug 2012 17:04:09 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">72341@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; No, unfortunately not because all our themes/templates use post meta to store this kind of data.&#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ronvanbreukelen on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72340</link>
			<pubDate>Wed, 22 Aug 2012 17:00:18 +0000</pubDate>
			<dc:creator>ronvanbreukelen</dc:creator>
			<guid isPermaLink="false">72340@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;That's not possible in MarsEdit and that's not very user-friendly for my customers also.&#60;br /&#62;
And MarsEdit is only an example.&#60;/p&#62;
&#60;p&#62;I hoped that I could set the template in the code somewhere.&#60;br /&#62;
If that's not possible then I can't work with this template.&#60;/p&#62;
&#60;p&#62;Is there a template that his this possibility?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72330</link>
			<pubDate>Wed, 22 Aug 2012 16:28:15 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">72330@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Tbh I'm not sure if this is possible. Flagship stores the template as meta value (aka &#34;custom field&#34;) for each post/page and you'd need to set a custom field with the key &#34;_avia_elements_avia_options_flagship&#34; and the value:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;array( &#38;#39;layout&#38;#39; =&#38;gt; &#38;#39;dynamic&#38;#39; , &#38;#39;dynamic_templates&#38;#39; =&#38;gt; &#38;#39;basis&#38;#39; )&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'm not sure if MarsEdit supports custom fields and if you can set arrays as custom field values...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ronvanbreukelen on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72315</link>
			<pubDate>Wed, 22 Aug 2012 15:43:02 +0000</pubDate>
			<dc:creator>ronvanbreukelen</dc:creator>
			<guid isPermaLink="false">72315@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Dude,&#60;/p&#62;
&#60;p&#62;the way I see it, is that this setting you gave sets the default value for creating a post within WordPress.&#60;br /&#62;
After this change, if I make a post in WordPress, the defaults are set to the correct values.&#60;/p&#62;
&#60;p&#62;But what I want, is that every post I create, also from outside WordPress, gets the correct dynamic page settings.&#60;/p&#62;
&#60;p&#62;So where on the wrong trail ....&#60;/p&#62;
&#60;p&#62;Any more suggestions?&#60;/p&#62;
&#60;p&#62;Ron
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72311</link>
			<pubDate>Wed, 22 Aug 2012 15:12:28 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">72311@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Maybe the &#34;old&#34; default option is still stored in the database. Afaik Kriesi's framework reads the meta box option arrays and stores them into the wp_postmeta database table. The meta_key is &#34;_avia_elements_avia_options_THEMENAME&#34; - thus in this case it should be &#34;_avia_elements_avia_options_flagship&#34;. Try to delete this meta key entry - this will force flagship to rewrite the data. In addition this code change won't affect existing post entries because the default value will only be used if no option value was set before.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ronvanbreukelen on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72299</link>
			<pubDate>Wed, 22 Aug 2012 13:38:27 +0000</pubDate>
			<dc:creator>ronvanbreukelen</dc:creator>
			<guid isPermaLink="false">72299@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Dude,&#60;/p&#62;
&#60;p&#62;thanks for your reply.&#60;/p&#62;
&#60;p&#62;I did what you said but without any result.&#60;/p&#62;
&#60;p&#62;On line 106 I pasted your code. As far as I can see the only difference is the word &#34;dynamic&#34; behind 'std'.&#60;/p&#62;
&#60;p&#62;Then in the next array on line 121 I placed the name off my template (basis) behind 'std'.&#60;br /&#62;
This looks like: &#34;std&#34; 	=&#38;gt; &#34;basis&#34;,&#60;/p&#62;
&#60;p&#62;But it hasn't got any effect.&#60;/p&#62;
&#60;p&#62;Any suggestion?&#60;/p&#62;
&#60;p&#62;Ron
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72293</link>
			<pubDate>Wed, 22 Aug 2012 12:53:16 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">72293@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Yep, sry - I mistakenly read &#34;Flashlight&#34; instead of &#34;Flagship&#34;. Go to flagship\includes\admin\register-admin-metabox.php and replace:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;quot;std&#38;quot; 	=&#38;gt; &#38;quot;&#38;quot;,
					&#38;quot;no_first&#38;quot;=&#38;gt;true,
					&#38;quot;subtype&#38;quot; =&#38;gt; array( &#38;#39;Use default&#38;#39; =&#38;gt; &#38;quot;&#38;quot;,
										&#38;#39;left sidebar&#38;#39; =&#38;gt;&#38;#39;sidebar_left&#38;#39;,
										&#38;#39;right sidebar&#38;#39;=&#38;gt;&#38;#39;sidebar_right&#38;#39;,
										&#38;#39;no sidebar&#38;#39;=&#38;gt;&#38;#39;fullsize&#38;#39;,
										&#38;#39;Dynamic Template&#38;#39;=&#38;gt;&#38;#39;dynamic&#38;#39;
										)),&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;quot;std&#38;quot; 	=&#38;gt; &#38;#39;dynamic&#38;#39;,
					&#38;quot;no_first&#38;quot;=&#38;gt;true,
					&#38;quot;subtype&#38;quot; =&#38;gt; array( &#38;#39;Use default&#38;#39; =&#38;gt; &#38;quot;&#38;quot;,
										&#38;#39;left sidebar&#38;#39; =&#38;gt;&#38;#39;sidebar_left&#38;#39;,
										&#38;#39;right sidebar&#38;#39;=&#38;gt;&#38;#39;sidebar_right&#38;#39;,
										&#38;#39;no sidebar&#38;#39;=&#38;gt;&#38;#39;fullsize&#38;#39;,
										&#38;#39;Dynamic Template&#38;#39;=&#38;gt;&#38;#39;dynamic&#38;#39;
										)),&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In the next array search for:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;quot;std&#38;quot; 	=&#38;gt; &#38;quot;&#38;quot;,
		&#38;quot;required&#38;quot; 	=&#38;gt; array(&#38;#39;layout&#38;#39;,&#38;#39;{contains}dynamic&#38;#39;),&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and insert the template value as standard.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ronvanbreukelen on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72289</link>
			<pubDate>Wed, 22 Aug 2012 11:45:36 +0000</pubDate>
			<dc:creator>ronvanbreukelen</dc:creator>
			<guid isPermaLink="false">72289@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Dude,&#60;/p&#62;
&#60;p&#62;as far as I can see (and tried) posts do support dynamic templates.&#60;br /&#62;
But I have to select it in every post and I want a post to have a default value.&#60;/p&#62;
&#60;p&#62;Can I hardcode this value in php?&#60;/p&#62;
&#60;p&#62;Thanks in advance,&#60;/p&#62;
&#60;p&#62;Ron
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72243</link>
			<pubDate>Wed, 22 Aug 2012 07:00:47 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">72243@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; No, posts do not support dynamic templates at the moment. &#60;/p&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ronvanbreukelen on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-72220</link>
			<pubDate>Wed, 22 Aug 2012 06:09:12 +0000</pubDate>
			<dc:creator>ronvanbreukelen</dc:creator>
			<guid isPermaLink="false">72220@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Nick,&#60;/p&#62;
&#60;p&#62;thanks for your kind reply.&#60;/p&#62;
&#60;p&#62;My problem is not about MarsEdit and I know that I can set the dynamic template in the post.&#60;br /&#62;
The point is, that posts are not made within the WordPress environment, but from the outside.&#60;br /&#62;
For my pages to show up correctly, I need posts to have a default dynamic template.&#60;/p&#62;
&#60;p&#62;Is there a way to set the dynamic template for posts?&#60;/p&#62;
&#60;p&#62;How can I make my question a support question, because this issue makes the difference for me for going live with the website or not.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Ron
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-71890</link>
			<pubDate>Mon, 20 Aug 2012 13:23:56 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">71890@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Ron,&#60;/p&#62;
&#60;p&#62;You may select dynamic templates for both posts and pages on the bottom right side of the add new/edit posts/pages in Flagship backend. I've never used MarsEdit,and unfortunately don't own a Mac to test it. I think your best bet is to contact MarsEdit support forum, since most blogging software allows the user to declare custom form fields within the blogging software itself.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ronvanbreukelen on "dynamic template in post"</title>
			<link>http://www.kriesi.at/support/topic/dynamic-template-in-post#post-71362</link>
			<pubDate>Thu, 16 Aug 2012 11:18:05 +0000</pubDate>
			<dc:creator>ronvanbreukelen</dc:creator>
			<guid isPermaLink="false">71362@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I use Flagship.&#60;/p&#62;
&#60;p&#62;I can't find a way to set a default dynamic template for posts.&#60;br /&#62;
Sure, when I make a post then I can set the dynamic template, but that doesn't work for me, because then posts aren't made within WordPress, but f.i. with MarsEdit.&#60;/p&#62;
&#60;p&#62;Can you please help me out?&#60;/p&#62;
&#60;p&#62;Greetings,&#60;/p&#62;
&#60;p&#62;Ron
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
