Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

JoomSEF with JomComment and Pagination Broken
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: JoomSEF with JomComment and Pagination Broken

JoomSEF with JomComment and Pagination Broken 15 years ago #9424

Hello,

I am having an issue with JomComment and Pagination in while using JoomSEF. I am not sure if the error is with JomComment or JoomSEF, but since this problem doesn't exist when you turn off JoomSEF I thought I would start here.

We have a site, where the SEF url for example is

/information/something


the real url is:

index.php?option=com_content&catid=2&id=43&view=article&Itemid=48


JomComment wants to have a url like this:

/information/something?cpage=20


However, all links are changed to:

/something


Note that the subdirectory is taken off. Checking the SEF urls, it is adding this entry via JRoute

/something -> index.php/information/something&cpage=20?option=com_content&view=frontpage&Itemid=48


note that the location of the cpage variable is off.

I've tried changing the settings on the component in JoomSEF and exclude cpage as a variable to SEF but nothing seems to work. Any ideas?
The topic has been locked.

Re:JoomSEF with JomComment and Pagination Broken 15 years ago #9458

  • jaku
Hello,

I do not quite understand what you mean by "all links are changed to" - when? how?

In JoomSEF, SEF URL has its "real" equivalent stored in DB. Whan the SEF URL is called, JoomSEF simply locates it in DB and replaces with the original, before the handling is given over to JoomSEF.
One the URL is stored to DB, it does not get modified, unless done so manually in URL Manager.

So I am a bit lost in your explanation. -- maybe JomComment is working with the URLs somehow after they get SEFed with JoomSEF?
As regards JoomSEF you should be easily able to find the SEF URL and its real URL equivalent with JoomSEF. If there are any additinoal URL being generated by JomComment, you should be able to find them also. If they are however changed "on-fly", then there is not much JoomSEF could do about it.
The topic has been locked.

Re:JoomSEF with JomComment and Pagination Broken 15 years ago #9467

Jan, Thank you for your response.

Within the JomComment component, pagination adds links, such as

< 1 2 3 4 >

With JoomSEF turned on, these links turn into non-usable ones, they point to a root folder which does not exist.

JoomSEF seems to be re-writing these urls incorrectly, but without knowing the underlying system it is hard to say.

Any ideas?

Screenshot of the url rewriting enclosed.

2009_12_04_0838-20091204.png
Attachments:
Last Edit: 15 years ago by ddrager.
The topic has been locked.

Re:JoomSEF with JomComment and Pagination Broken 15 years ago #9470

  • jaku
Hello,

seems the screenshot did not make it. Please post it again; note there is a size limit.
The topic has been locked.

Re:JoomSEF with JomComment and Pagination Broken 15 years ago #9475

You are correct, sorry about that. Screenshot edited and inserted above.

Thanks,
-Dave
The topic has been locked.

Re:JoomSEF with JomComment and Pagination Broken 15 years ago #9492

  • dajo
  • OFFLINE
  • Posts: 5069
Hi Dave,

I've tested this issue with JomComment 3.0.1 and it seems the component is not compatible with SEF in Joomla 1.5. It should be fixed very easily:

In the file /components/com_jomcomment/views.jomcomment.php on line 820 change the line:
$config['base_url'] = $_SERVER['REQUEST_URI'];

to:
$config['base_url'] = 'index.php?'.JURI::buildQuery($mainframe->getRouter()->getVars());


This seems to do the trick.

I've already contacted the JomComment developers.

Best regards,
ARTIO Support Team
ARTIO Support Team
Last Edit: 15 years ago by dajo.
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty