Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-07-14 23:23:06

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 595
Website

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

#2 2015-07-15 00:00:04

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: How to migrate away from rah_output_section_form?

Here you go, Gocom to the recue..

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

#4 2015-07-15 22:23:24

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 595
Website

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

Board footer

Powered by FluxBB