Search Engine Friendly URL's kill the links

A multipurpose module, plugin and component

Search Engine Friendly URL's kill the links

New postby shavertech » Fri Oct 21, 2011 12:42 am

From the documentation:
Calling applications

You can call an Application by two ways:

relate an Application item with Joomla! menu item or. After the installation of the component there is, as an example for the study, main menu item "Hello Jumi!" connected to the "Hello Jumi!" Application item.
write somewhere int the Joomla! content link to the Application item URL adress. The rule for link creation is simple:
index.php?option=com_jumi&fileid=xxx
where xxx is ID of Jumi application, that can be seen in the right column of Jumi Application Manager list.


Calling the file this way with the default joomla SEO turned on doesn't work when you're using the fileid method.

For example, I have a table of contacts returned:
Code: Select all
$rL =& $db->loadObjectList();


And then looping through the results
Code: Select all
foreach ($rL as $row) {
                  $urled = JRoute::_("index.php?option=com_jumi&fileid=4&cid=".$row->conid);
                  echo "<tr><td><a href=\"{$urled}\">$row->conid</a></td><td>$row->name</td><td>$row->company</td><td>$row->email</td></tr>\n";
              }


This method works correctly when SEO is not turned on, and gives a URL like:
http://localhost/joomla7/index.php?option=com_jumi&fileid=4&cid=1&Itemid=471


However when SEO is turned on, the URL ends up like this:
http://localhost/joomla7/joomi-contacts?cid=1

"joomi-contacts" is the name of the menu item from the first page, and so does not link to the second page.
shavertech
 
Posts: 41
Joined: Tue Oct 18, 2011 11:41 am

Re: Search Engine Friendly URL's kill the links

New postby ilanle » Sat Oct 22, 2011 1:34 pm

Hey dude,
I just posted about the same question on the forum and just noticed your post (this always happens!)
Anyway, can you update anything on this problem?
Thanks
Ilan
ilanle
 
Posts: 2
Joined: Sat Oct 22, 2011 1:18 pm


Return to Jumi

Who is online

Users browsing this forum: No registered users and 1 guest

cron