• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Anyone using rsform with Joomla 1.5 & SEF url's?

Anyone using rsform with Joomla 1.5 & SEF url's? 17 years 2 months ago #1930

  • Xpresso
  • Xpresso's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
If so, what sef and configuration are you using, cheers
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 & SEF url's 17 years 2 months ago #2164

Doesn't anybody have an answer to this question yet?

I need to hardcode some absolute links to a couple of my forms and the path needs to be (native Joomla) SEF pathway.

This path will get me to my ID1 form, but the same numeric logic doesn't get me to my other five forms;

http://localhost/component/forme/1.html (directs to form ID1)

http://localhost/component/forme/2.html (ALSO directs to form ID1)

So what's the correct SEF path structure for rsForm links, and are there any plans to add a feature which allows us to select the formID number when we're setting up a menu item?

Thanks for reading,

Cheers,
Zana
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 & SEF url's 17 years 2 months ago #2219

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
This option already exists. Please use your download link to re-download the component. On new menu item, choose the component option, then in the next screen you'll be able to set up the form id parameter.

Cheers.
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 & SEF u 17 years 2 months ago #2278

  • Scott.A
  • Scott.A's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Why can't I paste in here? Otherwise it times me out before I can even write the problem!:pinch:

Post edited by: Scott.A, at: 2008/03/06 02:33

I have an issue relating to Joomla core sef (1.5.1) and RSForm. The SEF plugin works really well across the entire site with mod_rewrite enabled (was quite surprised actually). There is only one small problem, and that's with how rsform is affecting the write rule once you access the form. If I try to come out of the form page via any of the menus, for some reason these are rewritten with an extra 'index.php' in the url and then breaks up the path to css and images. Doesn't happen anywhere else - just with RSForm. Tried an external link menu (using the rewritten alias of the form), but same thing.<br><br>Post edited by: Scott.A, at: 2008/03/06 02:36
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 &amp; SEF url's 17 years 1 month ago #2603

I'm having the same problem as Scott.A above me. I have the joomla 1.5 core sef enabled as well as the apache re write and everything works fine throughout the site. But when I leave a page with a form on it, the url isn't being re written properly.

Here's an example:

http://atlantic-city-golfing.com/golf/group-reservations-form This link takes you to a page on the site with a form ( un-styled and ugly for now, it'll get pretty once i get it working properly) Now, go to any other page on the site and you'll see my problem.

Any idea what's wrong?
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 &amp; SEF url's 17 years 1 month ago #2615

I guess this issue isn't important enough for feedback? Good thing I didn't spend any money on the thing yet...
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 & SEF url's? 16 years 7 months ago #4910

  • cvoogt
  • cvoogt's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
I'm using 1.5.7 and am having the same problem. I also want to note that the rsjoomla.com site itself has that problem on ALL its pages. The page I am on right now is www.rsjoomla.com/index.php/Reply-to/RSfo...To.html?replyto=1930 !!!!

So there's probably little hope of fixing this bug unless we do it ourselves. I did purchase RsForm and don't understand why a component would mess with URL rewriting when it has no SEF extension/plugin. Seems like bad practice to me.
I changed my menu type to URL and used this instead:

www.mysite.com/index.php?option=com_forme&fid=1

The menu item won't activate when clicked, but at least the URLs are OK now.
A better solution is to use htaccess like so:
RewriteCond %{REQUEST_URI} !^/index.php
RewriteRule ^travel-request-form ^index.php?option=com_forme&amp;fid=2&amp;Itemid=20   [NC,L]
RewriteRule ^contact-us ^index.php?option=com_forme&amp;fid=1&amp;Itemid=26   [NC,L]

Then I set my menu items as External Links (URLs) using \"travel-request-form\" where the Itemid in htaccess above is the Itemid of that menu item. This activates the menu button and makes a nice URL, AND eliminates that /index.php/ problem.<br><br>Post edited by: cvoogt, at: 2008/09/30 22:55
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 &amp; SEF url's? 16 years 6 months ago #5282

@cvoogt
thanks for the workaround. Works only for monolingual sites, though. I Tried RewriteRule for each language but no success.
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 &amp; SEF url's? 16 years 4 months ago #6015

  • cvoogt
  • cvoogt's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
Hi Thomas,
I have gotten this method to work multilingually, but it's tricky.
I use JoomFish 2 on Joomla 1.5.8, and it has a bug that won't allow translating URLs in External Links (menu items).

First fix that - see:
http://www.joomfish.net/forum/viewtopic.php?f=28&t=2388&p=11140&hilit=different+external+url#p11140

You can also get around that using Firefox's Firebug addon.

Now you can translate your menu item into any languages. So for example, I had an External Link type menu item that contained this:

\"contact-us\"
That is then a relative URL, but you could also enter the absolute URL, i.e. \"www.yoursite.com/contact-us\";. You may have to depending on your setup.

That was set to be the same as that menu item's alias, \"contact-us\", but it doesn't have to be I suppose. I just did that for consistency.

Then, translate that menu item and set the translated URL to what it should be, for example in Spanish:

\"contactenos\"
Again, you might have to enter an absolute URL here, i.e. \"www.yoursite.com/contactenos\";.

In your htaccess file this is the code to use:
RewriteCond %{REQUEST_URI} !^/index.php
RewriteRule ^contact-us ^index.php?option=com_forme&amp;fid=1&amp;Itemid=143&amp;lang=en   [NC,L]
RewriteRule ^contactenos ^index.php?option=com_forme&amp;fid=2&amp;Itemid=143&amp;lang=es   [NC,L]

The Itemid is the Itemid of the menu item, and I am using two separate forms for the two languages. That seemed easiest. I also added the language variable into the URL to en sure that the whole page translates, and not just the form.

Finally, the JoomFish language module doesn't work right on RsForm with this hack, so I added some logic to my template file to hide that module on RsForm only.

This is my template code for the language module:
  &lt;div id=\&quot;languages\&quot;&gt;
  &lt;?php if($this-&gt;countModules('languages') &amp;&amp; ($_REQUEST['option'] != 'com_forme')) : ?&gt;
	&lt;jdoc:include type=\&quot;modules\&quot; name=\&quot;languages\&quot; style=\&quot;xhtml\&quot; /&gt;
	&lt;?php endif; ?&gt;
  &lt;/div&gt;

I then added a link inside each form so people viewing the English from can click a link to take them to the Spanish form, and vice versa. That would become tedious if there are more languages involved, though.

It's not perfect but at least it works. Ideally RsForm itself would fix its SEF logic internally.
The administrator has disabled public write access.

Re:Anyone using rsform with Joomla 1.5 & SEF url's 16 years 1 month ago #6876

  • gavin_g
  • gavin_g's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Last Edit: 16 years 1 month ago by gavin_g. Reason: Please remove this message
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!