• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: pretty url modulo news
PostPosted: Mon Mar 12, 2012 7:52 pm 
Offline
Forum Members
Forum Members

Joined: Tue Feb 28, 2012 1:24 pm
Posts: 176
ciao a tutti

ho attivato il mod rewrite con successo nella versione cmsms 1.10.3 - modulo news 2.12.3

ma purtroppo nel modulo news non funziona come vorrei ovvero

ottengo un indirizzo cosi:

http://www.xxxxxxx.com/news/7/56/Agente-di-commercio-ecco-le-caratteristiche-che-lo-contraddistinguono


ma lo vorrei cosi
http://www.xxxxxxxx.com/news/Agente-di-commercio-ecco-le-caratteristiche-che-lo-contraddistinguono

come posso risolvere? grazie mille in anticipo

_________________
http://www.gianlucacompagno.com/


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: pretty url modulo news
PostPosted: Tue Mar 20, 2012 4:09 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Mon Jan 14, 2008 9:08 pm
Posts: 599
Location: Villadossola - (VB)/Italy
giapippo wrote:
ciao a tutti

ho attivato il mod rewrite con successo nella versione cmsms 1.10.3 - modulo news 2.12.3

ma purtroppo nel modulo news non funziona come vorrei ovvero

ottengo un indirizzo cosi:

http://www.xxxxxxx.com/news/7/56/Agente-di-commercio-ecco-le-caratteristiche-che-lo-contraddistinguono


ma lo vorrei cosi
http://www.xxxxxxxx.com/news/Agente-di-commercio-ecco-le-caratteristiche-che-lo-contraddistinguono

come posso risolvere? grazie mille in anticipo


non puoi ottenere quello che vuoi... cmsms ha bisogno di sapere a quale pagina del cms deve andare per visualizzare il dettaglio (nel tuo caso "56") e il modulo News qual è l'ID da visualizzare (nel tuo caso "7")... se li togli non ti funziona più nulla.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: pretty url modulo news
PostPosted: Tue Mar 20, 2012 4:13 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8158
Location: Fernie British Columbia, Canada
Normally news article titles are not forced to be unique across the system (all modules etc), therefore there is no automatic way of generating urls like you want. However in CMSMS 1.10.x, When editing a news article there is a 'url' field where you can manually type in the url for the news article and it is forced to be unique across the system.

If this url field is empty then the standard 'pretty url' containing the detail page, and the article id will be generated for the detail url.

Addendum:
This is 'another' mechanism of accessing the same data... the routes for news/##/##/some-string are still valid ways to access the news article. Therefore it is very important that you have the canonical url stuff working properly in your templates so that google doesn't think you have duplicated content.

_________________
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting