Issues with article links in AJAX scroller

12 years 2 months ago #6718 by marcovis
Hello Saka,

That would be great! How do I reach you?

Kind regards,
Marco Visser

Please Log in or Create an account to join the conversation.

12 years 2 months ago #6719 by Saka

Please Log in or Create an account to join the conversation.

12 years 2 months ago #6732 by marcovis
Hello Saka,

What happens, so far I can see myself, is this:

- In Joomla's backend, I've got SEO-friendly URL off;
- In the AJAXscroller module 'general settings' I've got 'Turn off AJAX': yes;

Then when I click on one of the article titles of the articles that are displayed in the AJAXscroller, the AJAXscroller adds '&Itemid=101' to the URL of the articles, which makes the articles display in the frontpage (messing up frontpages layout). This happens with all the articles displayed in the scroller (currently two, but I've tested with multiple).

Now, when I change in the AJAXscroller general settings 'Turn AJAX off' to 'no', this is what happens:

- When clicking the first article's title (the one that's first in the displayed category), it opens like I would like it to: in a single article view.
- When clicking the second (and all other) article titles, the scroller adds '&Itemid=101' to the end of the link, making the article show in the frontpage.

If that would help you, I could give you access to the backend.

I've added you to mu Skype and would really like to chat about this issue.

Kind regards,
Marco Visser

Please Log in or Create an account to join the conversation.

12 years 2 months ago #6733 by marcovis
Does it maybe have to do something with this line in helpers/content.php (allthough it's commented out):
//$link = "index.php?option=com_content&view=article&id=$row->slug&catid=$row->catslug" . $Itemid;

It's a bit of a longshote, but it looks like here an itemid is added to the link. Maybe there's 'Itemid=101' in $Itemid and this gets somehow added to the links?

Kind regards,
Marco Visser

Please Log in or Create an account to join the conversation.

12 years 1 month ago #6747 by marcovis
Saka,

Please ....

Kind regards,
Marco Visser

Please Log in or Create an account to join the conversation.

12 years 1 month ago #6748 by Saka
OK, fixed it now for you.

You must add your articles or their category to a menu so it can get an Itemid different than frontpage Itemid. It's not AJAX Scroller issue, it's general understanding of how Joomla works.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch