Hello
I would like to create the k_page_name automatically based on the k_page_id in the template using
But it gives me -1 instead of the newly generated id.
Later on I would like to create a Shortcode calculated from other variables but also depending on the k_page_id, e.g.:
How could I do this?
I would like to create the k_page_name automatically based on the k_page_id in the template using
- Code: Select all
<cms:config_form_view>
<cms:persist
k_page_name=k_page_id
/>
</cms:config_form_view>
But it gives me -1 instead of the newly generated id.
Later on I would like to create a Shortcode calculated from other variables but also depending on the k_page_id, e.g.:
- Code: Select all
<cms:config_form_view>
<cms:persist
k_page_name="<cms:if k_page_name!=''><cms:show k_page_name /><cms:else/><cms:date format='s' /><cms:show k_page_id /><cms:date format='m' /></cms:if>"
/>
</cms:config_form_view>
How could I do this?