Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How to migrate away from rah_output_section_form?
I need to upgrade a site where this snippet basically powers every part of the site except the front page:
<txp:rah_output_section_form prefix="section_" default="section__default" />
What’s the new core-only equivalent? Is there really a core-only way to do that—pick a form to display dependent on the section being displayed, and otherwise display some default form? (I’d love that)
Thanks!
Last edited by maruchan (2015-07-14 23:23:34)
Offline
Re: How to migrate away from rah_output_section_form?
Here you go, Gocom to the recue..
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#3 2015-07-15 01:34:08
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: How to migrate away from rah_output_section_form?
hcgtv wrote #293199:
Here you go, Gocom to the recue..
If you don’t want error messages try atb_if_form.
I would love to see something in the core – e.g. <txp:if_form form=xyz" />
.
Offline
Re: How to migrate away from rah_output_section_form?
Thanks both of you! Great that there’s a no-error option too :-) I’ll give that a shot.
Offline