ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:redirecting with different templates (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:redirecting with different templates
#6874
kai920 (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
redirecting with different templates 3 Months, 2 Weeks ago Karma: 0  
I have 6 templates on my site... one "index template" (like a splash page), and 5 site templates.

I am trying to send a simple acknowledgment message after the user submits the form, without using 5 different forms. (each form has 1 redirect URL field... thus 5 different URLs I can redirect to)

Even if I redirect to the original form URL, I will still need 5 forms.

Is there a way to avoid this?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6880
GreyHead (Admin)
Admin
Posts: 2801
graph
User Offline Click here to see the profile of this user
Re:redirecting with different templates 3 Months, 2 Weeks ago Karma: 59  
Hi kai920,

I'm not understanding correctly. ChronoForms doesn't do any styling so should pick up the template code in use??

What happens if you just add some simple html in the OnSubmit after email box? That should show up as a a Thank You page. If the css in it matches the template css it should be styled too??

Bob
 
Report to moderator   Logged Logged  
 
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
  The administrator has disabled public write access.
#6884
kai920 (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:redirecting with different templates 3 Months, 2 Weeks ago Karma: 0  
Hello Bob,

Here's the thing, in the admin backend Chronoforms auto-generates the link URL (for example: index.php?option=com_chronocontact&chronoformname=toolkit) but this link actually uses the DEFAULT template (my "splash page" template) -- which is not what I want.

I found that I need to create a link URL with a unique ItemID to be able to assign the template I need. I have tried adding some simple html thank you page ( see here) but on redirect this uses the index template because it redirects to index.php?option=com_chronocontact&task=send&chronoformname=toolkit.

The redirect method that works is to use the mambot and use the {chronocontact} call to bring up the form, then redirect to a specific content item that has a short thank you message. But this method requires 5 different {chronocontact} calls (5 content items) + 5 different "form acknowledgment" content items.

I hope my explanation makes sense!<br><br>Post edited by: GreyHead, at: 2008/03/23 00:42
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#6889
GreyHead (Admin)
Admin
Posts: 2801
graph
User Offline Click here to see the profile of this user
Re:redirecting with different templates 3 Months, 1 Week ago Karma: 59  
Hi Kai,

If you collect the ItemID from the page somehow you could change the redirect in the 'OnSubmit after email' box. I think that would do what you want.

Bob
 
Report to moderator   Logged Logged  
 
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
  The administrator has disabled public write access.
#6951
admin (Admin)
Admin
Posts: 1570
graphgraph
User Online Now Click here to see the profile of this user
Re:redirecting with different templates 3 Months, 1 Week ago Karma: 22  
Hi Kai,

Try to make the Chronoform menu item of type &quot;Component&quot;, once you make the menu item and click APPLY you will see the formname field on the right hand side and then you can add the form name, this way the menu item will have a unique ItemId!

Cheers

Max
 
Report to moderator   Logged Logged  
 
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
  The administrator has disabled public write access.
#6983
kai920 (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:redirecting with different templates 3 Months, 1 Week ago Karma: 0  
Hi Max &amp; Bob,

Thank you both - good suggestions. I had not noticed the form name parameter at the right of the component link before. Not sure how it will help but will play around with it.

Also like Bob's ItemID idea... I will try something with _GET itemid and see if that can redirect me to different URLs.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

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

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials