Menu Content

Support

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

Pagination & urls
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Pagination & urls

Pagination & urls 18 years, 4 months ago #70

  • Ginger
Installed 2 days ago
Joomsef
Installer shows version 1.2.4
Interface shows version 1.2.3

Frontpage component is the default homepage

Not sure how to ask this so bear with me

Home = frontpage component (should be & stay index.html)
7 items added to frontpage showing 4 + pagination

Menu link (home) has now changed to /2.html

On the pagination
<< Start < Prev 1 2 Next > End >>


2 Next > End >> (all these now go to = /index.html)


<< Start < Prev 1 (all these now go to = /3.html)

So these are all the same page
www.mysite.com/
www.mysite.com/2.html
www.mysite.com/3.html

Can you tell me what I screwed up

Re:Pagination & urls 18 years, 4 months ago #86

  • jaku
Hello,

you probably did not screw anything. It is just how it works.

The reason of the behaviour you described is folowing: Joomla! pagination generates different URLs (there are different params in it) when you access the page directly or via pagination. Still it is the same page with same content. But the SEF component checks the URL as whole, so if there are some differences, it will store it under different number in order not to loose any informaiton from the original URL.

This is simple how it works. Maybe it could be optimized further, but then the code would get much more complicated and also the translation of URLs would become a bit slower.

This should however have no negative influence on your site functionality, so if you don't mind it too much, just leave it so. Otherwise you have possibility to edit the autogenerated URLs manually to match your needs on 100%.

Best regards,
Honza

Re:Pagination & urls (CB plugin related) 17 years ago #3528

  • zen
  • OFFLINE
  • Posts: 25
Sorry to dig up such an old thread, but it was the closest one that seemed to be related to what I've been experiencing.

Joomla: 1.0.12
Artio JoomSEF: 2.1.0
CB: 1.1
JoomSEF CB Plugin: 1.1.1

In CB userlist pagination, let's say I have 5 pages like below:



JoomSEF CB plugin generates URL for this pagination as below:

page2 = /userslist-2
page3 = /userslist-3
page4 = /userslist-4
page5 = /userslist-5
Next = /userslist-2
End = /userslist-5

This all makes sense to me. However, when you move to the next page (page2), the pagination now shows:

Start = /userslist-6
Prev = /userslist-6
page1 = /userslist-6
page2
page3 = /userslist-7
page4 = /userslist-8
page5 = /userslist-9
Next = /userslist-7
End = /userslist-9

I'm sure you can see the problem by now, but by the time I went through all the page navigation, the number at the end of URL went up to -37. In my mind, the plugin should generate /userslist2-5 no matter which page you are in.

Here's some of the relevant settings in my component:

Exclude source info (Itemid) No
Reappend source (Itemid) No
Ignore multiple sources (Itemids) Yes
Append non-SEF variables to URL Yes

I tried switching 'Exclude source info' to 'Yes' but it made no difference.

Is this a known behavior in the component/plugin? or is this rectified in the later release? I haven't tried using JoomSEF 2.2.x and CB plugin 1.1.3 to see this problem goes away, but thought I would check before I do so.

TIA

Re:Pagination & urls (CB plugin related) 17 years ago #3529

  • zen
  • OFFLINE
  • Posts: 25
I have upgraded JoomSEF to 2.2.4 and CB plugin to 1.13 and saw this issue has been resolved.

Thank you.
  • Page:
  • 1
User Login Empty