HTML Blob via User Defined Tag?

General project discussion. NOT for help questions.
Post Reply
spyro

HTML Blob via User Defined Tag?

Post by spyro »

I am basically coding a multi-page form in a user defined tag using if/elseif. one of the pages in the flow has a large blob of HTML content. Basically a user agreement. So I was thinking of storing the agreement as an HTML blob and calling it from the user defined tag.

...
elseif ($_POST['terms'] ) {

$html = ??HTMLBLOB??; \r";
$html .= "\r";
$html .= "\r";

}
...
echo $html;
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: HTML Blob via User Defined Tag?

Post by calguy1000 »

no guarantees, but try the smarty eval function.  It's what's used in the default news templates now.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “General Discussion”