Page 1 of 1

Pretty urls doesn't work in paginationof News

Posted: Sun Mar 18, 2012 11:02 am
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

Re: Pretty urls doesn't work in paginationof News

Posted: Sun Mar 18, 2012 12:44 pm
by calguy1000
Is it a bug of this module?
Answer: No. It is not a bug.

Re: Pretty urls doesn't work in paginationof News

Posted: Sun Mar 18, 2012 12:56 pm
by seregarem
Could you tell me how to solve this problem?

Re: Pretty urls doesn't work in paginationof News

Posted: Sun Mar 18, 2012 7:53 pm
by Rolf
Hi seregarem,

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

grtz. Rolf

Re: Pretty urls doesn't work in paginationof News

Posted: Mon Mar 19, 2012 6:42 am
by seregarem
So, will this be made in the new version?

Re: Pretty urls doesn't work in paginationof News

Posted: Tue Mar 20, 2012 2:35 am
by sasha2002
Also request this *Feature*
How it can be possible to make this in config but not in standart module?

Re: Pretty urls doesn't work in paginationof News

Posted: Tue Mar 20, 2012 2:07 pm
by Wishbone
Use CGBlog

Re: Pretty urls doesn't work in paginationof News

Posted: Tue Mar 20, 2012 3:40 pm
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.

Re: Pretty urls doesn't work in paginationof News

Posted: Tue Mar 20, 2012 4:57 pm
by Wishbone
I stand corrected.