Page 1 of 1
Clean URLs for News, Album etc
Posted: Tue Oct 06, 2009 6:18 pm
by lafayette
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?
Re: Clean URLs for News, Album etc
Posted: Tue Oct 06, 2009 7:36 pm
by calguy1000
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.
Re: Clean URLs for News, Album etc
Posted: Tue Oct 06, 2009 8:04 pm
by lafayette
calguy1000 wrote:
Please don't duplicate post.
As I said, I did *NOT* duplicate the post. I deleted it from the old section, after one week without any response.
Thank you for fast and clear answer
Re: Clean URLs for News, Album etc
Posted: Thu Oct 08, 2009 10:07 am
by Deak
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.
Or using hidden form fields.
Re: Clean URLs for News, Album etc
Posted: Thu Oct 08, 2009 10:28 am
by lafayette
Deak, what do you mean?
how can be achieved with hidden fields, for example?
Re: Clean URLs for News, Album etc
Posted: Fri Oct 09, 2009 6:21 am
by Deak
lafayette wrote:
Deak, what do you mean?
how can be achieved with hidden fields, for example?
Hi Lafayette,
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!