Buy Now
Sign in

SEF url not working for Chronoforms

tejaswi , November 19 2013
T
tejaswi
Hi,

We implemented one contact form by using chronoforms , But we linked that form in vcard.xsl file to the contact name of the directory. When user clicked on the link , it is redirecting finely but the SEF url not working..We didn't installed any SEF extensions . We are using normal joomla SEF.

Joomla 2.5
SobiPro version 1.1.3 [ Budgie ]
Chronoforms ( 4.0 )

Thanks
GreyHead
Hi tejaswi,

Please explain exactly what you mean by "it is redirecting finely but the SEF url not working"

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
S
sohopros
Hi Bob!
We needed to create a form that is called from a sobipro directory. So, each directory entry from sobipro passes some params through the url that we use on chronoforms to set the email recipient and the contact name shown in the form header.

When you click on a contact name for one one the entries on the link below, it takes us to the form as expected, but the url generated is a non-sef url. The url includes '?option=com_chronoforms&chronoform=contact_form'. We would like this urls to be search friendly. If possible include the contact name and venue name in the url.

Can you, please, give us some input on this issue?

link for the directory -> http://www.venturacountywest.com/sport-venues/397-BMX

Appreciated,
SOHO Prospecting Team
S
sohopros
Hi GreyHead,
Was that an adequate explanation? We are still trying to solve this problem.
GreyHead
Hi sohopros,

I'm not clear what the problem is? Why do you need SEF URLs for a form page? They shouldn't normally be searched. If you have an SEF component you can probably set it up to use a short-form URL to redirect to the form page.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
S
sohopros
Hi Bob,
I'm not clear what the problem is?
When the contact name [e.g. Yvonne Valles] is clicked on the v-card on the page: http://www.venturacountywest.com/sport-venues/397-BMX, we would like the url to take a unique, sef, form for each contact, So instead of http://www.venturacountywest.com/sport-venues/index.php?option=com_chronoforms&chronoform=contact_form&Itemid=315
We would like it to be http://www.venturacountywest.com/sport-venues/freedom-park/yvonne-valles

Why do you need SEF URLs for a form page?
The reason we need sef urls, is that our specification requires them.
If you have an SEF component ...
Once again, we do not have a sef component, we depend on the native Joomla router.

Do you have any ideas for a best-practice solution to this problem?
admin
Hi sohopros,

The form link should use the link of the same page under which its displayed, so in case the form is displayed under this link: http://www.venturacountywest.com/sport-venues/397-BMX

Then the form should submit to a url like this:
http://www.venturacountywest.com/sport-venues/397-BMX?chronoform=xyz&event=submit

But if you have a "link" to the form in the directory item then simply add a new "hidden" menu item to your form, and use that menu item alias to link to the form, so the link is like this:
form?p1=v1&p2=v2

Regards,
Max
Max
If your main question got answered then please mark the answer using the button!​

Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
S
sohopros
Hi Max!
The issue is that we have a single form that is shared between a couple dozen sobipro entries. When we click a link on the sobipro entry the email recipient and the contact name are passed to the form using url params. We need each one of the variations on the form to have a unique url.

A solution for that would be create a hidden menu item for each variation of the form, but every time a need entry is added we would have to create a new menu item.

Thank you.
SOHO Prospecting Team
admin
Hi sohopros,

No, you need to create 1 menu item to your form, say that menu alias is "sobi-form", then the form link will be:
www.domain.com/sobi-form

Now you just need to use that link in your Sobi items, and add the url parameters:
www.domain.com/sobi-form?p1=v1&p2=v2

If you need a more sef solution like:
www.domain.com/sobi-form/v1/v2

then you need to add a custom "router.php" to the chronoforms folder, since the new parameters added are not CF parameters, but I don't think that it would be very important to have SEF url for the contact form, the page would be indexed anyway.

Regards,
Max
Max
If your main question got answered then please mark the answer using the button!​

Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!