Sat Sep 20, 2014, 7:54 am
 Locked  4  2499
Showing 1 to 5 of 5 entries.
Tue Feb 12, 2008, 4:18 am

I am using a menu to open my chrono form page. On the details for that menu item I have the parameters set to show the Page Title but it won't show up no matter what I try with the template. I'd love to display it using a variable but nothing is working.

I also have a page class suffix set but that isn't working either. In code view it isn't even pulling that style name in at all.

2 0
Mon Feb 11, 2008, 4:12 pm
Tue Feb 12, 2008, 5:57 am

Hi Patty,

Regarding the page title please see this post :
Here
Regarding the class suffix, it should only change the Page body area, you have full control over the form code actually so you can set whatever styles you like, for example put the whole form code inside a div element with the class you like! :)

Cheers,

Max<br><br>Post edited by: GreyHead, at: 2008/02/12 15:46


If your main question got answered then please select the answer using the GREEN button!

Moderator
11275 13550
Mon Aug 14, 2006, 1:29 am
Wed Feb 13, 2008, 12:43 am

Is there a way to display the page title from the template rather than the Form? I've tried <?php echo $this->title; ?> but it only gives me the Title tag of the site name, not my page title.
<?php
global $mainframe;
$mainframe->setPageTitle("My Title");
?>
works in the Template file but i want it to pull the title of the page dynamically. By page title i'm referring to the Page Title I've plugged into the Menu Item that launches the form.
----
Is there a way to pull the page class suffix so that it can be controlled by the template? I have 20-30 forms so I want to control things dynamically as much as possible rather than having to edit each form.

2 0
Mon Feb 11, 2008, 4:12 pm
Wed Feb 13, 2008, 1:47 am

Hi Patty,

I cant understand the problem here! may be you have a problem because you don't want to edit all forms ? the few lines of code above will change the page title as you need, in the form HTML box just paste those lines and they will do the job! :)

regarding the class suffix, what do you expect the code output to be and how its now, give me examples and I can update the current version with a new one with those changes!

Cheers,

Max


If your main question got answered then please select the answer using the GREEN button!

Moderator
11275 13550
Mon Aug 14, 2006, 1:29 am
Wed Feb 13, 2008, 6:03 am

Hi Patty,

You could possibly use the mosSnippets mambot to include a snippet in every form. I'm not sure that it helps (you'd need to enable mabots for the forms as well).

Bob


ChronoForms technical support
If you'd like to buy me a coffee, thank you very much

Moderator
37321 40026
Tue May 29, 2007, 6:15 pm
Showing 1 to 5 of 5 entries.

Powered by ChronoForums - ChronoEngine.com

ChronoForms Book

The ChronoForms Book, written for ChronoForms v3 contains 350 pages of invaluable ChronoForms How-tos hints and tips.

Note: many of the ideas can be used in ChronoForms v4 but the admin interface is very different and code examples may need to be modified.

SSL

Members Login

 

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com