Pretty urls doesn't work in paginationof News

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

Pretty urls doesn't work in paginationof News

Post by seregarem »

All urls in News module work normally, but in a pagination in a summary: it wasn't changed after beginning of using pretty urls. Is it a bug of this module?

My .htaccess

Code: Select all

 Options +FollowSymLinks
  RewriteEngine on
  RewriteBase /

  # 301 Redirect all requests that don't contain a dot or trailing slash to
  # include a trailing slash
  # except for form POSTS
  RewriteCond %{REQUEST_URI} !/$
  RewriteCond %{REQUEST_URI} !\.
  RewriteCond %{REQUEST_METHOD} !POST$
  RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

  # Rewrites urls in the form of /parent/child/
  # but only rewrites if the requested URL is not a file or directory
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.+)$ index.php?page=$1 [QSA]
RewriteRule ^News/rss(.+)$ index.php?page=News/rss$1 [S=1]

Code: Select all

$config['url_rewriting'] = 'mod_rewrite';1.6
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';

CMS Made Simple™ 1.10.3 "Hyacinthe"
News 2.12.3
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Pretty urls doesn't work in paginationof News

Post by calguy1000 »

Is it a bug of this module?
Answer: No. It is not a bug.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

Re: Pretty urls doesn't work in paginationof News

Post by seregarem »

Could you tell me how to solve this problem?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Pretty urls doesn't work in paginationof News

Post by Rolf »

Hi seregarem,

It is just the way it is build right now. Nothing to do about it I am afraid...

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
seregarem
Forum Members
Forum Members
Posts: 200
Joined: Sat Aug 28, 2010 1:03 pm

Re: Pretty urls doesn't work in paginationof News

Post by seregarem »

So, will this be made in the new version?
sasha2002
New Member
New Member
Posts: 6
Joined: Sun Aug 09, 2009 7:32 am

Re: Pretty urls doesn't work in paginationof News

Post by sasha2002 »

Also request this *Feature*
How it can be possible to make this in config but not in standart module?
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Pretty urls doesn't work in paginationof News

Post by Wishbone »

Use CGBlog
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Pretty urls doesn't work in paginationof News

Post by calguy1000 »

CGBlog (nor any of my modules) don't support pretty urls on pagination links either. We have no plans, and it is not reasonable to do this.

Adding all of the parameters that are needed (sort item, sort by, page number, page limit, summary template, detail page, detail template etc) to the url and separating it by / instead of the &cntnt01 stuff would just make it a different type of ugly.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Pretty urls doesn't work in paginationof News

Post by Wishbone »

I stand corrected.
Post Reply

Return to “Modules/Add-Ons”