moving topic to this section...
Hi all,
I'm pretty new to CMS made simple but it quick jumped on top of my personal preferences about building websites.
I find it pretty easy to use, but I have a question about how urls are forged for news module.
I get clean urls only for the single news report (even if with numbers like http://site/news/12/55/title/), but not while browsing between summary pages (like Page 1 of N etc.)
you can have a look to http://aviscarloforte.altervista.org/novita/ and understand what I'm talking about.
Is there a way to customize url forging?
Clean URLs for News, Album etc
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Clean URLs for News, Album etc
Please don't duplicate post.
answer: no.
Once you add parameters like sort order, sorting field, page number, page limit, summary template, detail template (and other parameters that the news and other various modules support for customizing the output) to the url, no matter what you do, it won't be pretty. and besides, usually it's the detail view that's most important anyways... users don't generally care about how ugly the url is to access "the 4th page of all news articles (even expired ones) sorted by author in decending order with 5 items per page", using a different detail template.
News allows you numerous ways to organize the data, just by adding more calls to the module. Making the pagination urls 'pretty' would require removing that flexibility.
answer: no.
Once you add parameters like sort order, sorting field, page number, page limit, summary template, detail template (and other parameters that the news and other various modules support for customizing the output) to the url, no matter what you do, it won't be pretty. and besides, usually it's the detail view that's most important anyways... users don't generally care about how ugly the url is to access "the 4th page of all news articles (even expired ones) sorted by author in decending order with 5 items per page", using a different detail template.
News allows you numerous ways to organize the data, just by adding more calls to the module. Making the pagination urls 'pretty' would require removing that flexibility.
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.
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.
Re: Clean URLs for News, Album etc
As I said, I did *NOT* duplicate the post. I deleted it from the old section, after one week without any response.calguy1000 wrote: Please don't duplicate post.
Thank you for fast and clear answer
Re: Clean URLs for News, Album etc
Or using hidden form fields.calguy1000 wrote:News allows you numerous ways to organize the data, just by adding more calls to the module. Making the pagination urls 'pretty' would require removing that flexibility.
Re: Clean URLs for News, Album etc
Deak, what do you mean?
how can be achieved with hidden fields, for example?
how can be achieved with hidden fields, for example?
Re: Clean URLs for News, Album etc
Hi Lafayette,lafayette wrote: Deak, what do you mean?
how can be achieved with hidden fields, for example?
Sorry this was directed more at Calguy and how the module is built. It would require some fundamental changes -- I wasn't suggesting this was something you did, sorry!