Search found 26 matches
- Thu Nov 29, 2007 6:21 pm
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
Try this : <Directory /path_to/cms/> <---- ADD THIS LINE Options +FollowSymLinks RewriteEngine on RewriteBase /clients/punch/ # 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 [NC] RewriteCond %{REQUE...
- Wed Nov 28, 2007 4:21 pm
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
This is part of my .htaccess ########################################################### # # PARA EL MOD_REWRITE , HAY QUE TOCAR TB EL CONFIG DEL CMS <Directory /var/www/snowzamora> Options +FollowSymLinks RewriteEngine on RewriteBase / # 301 Redirect all requests that don't contain a dot or trailin...
- Tue Nov 27, 2007 9:07 pm
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
You can do it with this two lines: //MI HACK $row['news_title'] = str_replace(' ', '_', $row['news_title']); <--- THIS LINE REPLACE SPACE WITH _ FOR LINK $prettyurl = 'noticias/'.$row['news_id'].'/'.$row['news_title']; // FIN DE HACK And some lines below: ( about 319 ) #CreateLink($id, $acti...
- Tue Nov 27, 2007 5:34 pm
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
Hello: Now i have running again pretty title urls with CMS 1.2.0 Edit: modules/News/action.default.php Near line 294 $prettyurl = 'noticias/'.$row['news_id'].'/'.$row['news_title']; <-- OUR NEW LINE // $prettyurl = 'news/'.$row['news_id'].'/'.($detailpage!=''?$detailpage:$returnid); <--- CO...
- Mon Nov 26, 2007 6:59 pm
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
In a few days i'll post the solution to make pretty URLS NEWS TITLES to :
"www.website.com/news/$id/title_of_news.html"
The default url in CMS is /news/$id/$returnid.html
"www.website.com/news/$id/title_of_news.html"
The default url in CMS is /news/$id/$returnid.html
- Wed Aug 01, 2007 11:19 am
- Forum: Layout and Design (CSS & HTML)
- Topic: News Summary Template .......
- Replies: 2
- Views: 1329
Re: News Summary Template .......
I think you don't understand me.
I want something like this:
---------------
{if $params['category']=='PATTERN'){
DISPLAY MESSAGE
else
DON'T DISPLAY MESSAGE
{/if}
----------------
Display a message ONLY if the category name of the news is the same that mi pattern.
I want something like this:
---------------
{if $params['category']=='PATTERN'){
DISPLAY MESSAGE
else
DON'T DISPLAY MESSAGE
{/if}
----------------
Display a message ONLY if the category name of the news is the same that mi pattern.
- Wed Aug 01, 2007 8:53 am
- Forum: Layout and Design (CSS & HTML)
- Topic: News Summary Template .......
- Replies: 2
- Views: 1329
News Summary Template .......
Hello, i have a little problem. don't know how I can do this: This is the original lines: ------------------------------ {if $entry->category} MESSAGE1 {/if} --------------------------- I want display a message is the name category is equal to "XXX", for example: -------------------------...
- Fri Jun 29, 2007 6:21 pm
- Forum: CMSMS Core
- Topic: mod_rewrite ,getting the error The system cannot find the file specified.
- Replies: 10
- Views: 2925
Re: mod_rewrite ,getting the error The system cannot find the file specified.
Ok. That error I solved last day ...... but the man problem is the FCKEditorX. With mod_rewrite/pretty_urls actuvated, i can't edit news and pages ..... It shows "not found" ???into the iframe of FCKEditor?? ..... ( The toolbar not appers, only a iframe below ) ..... WOWWWW, it's solved wi...
- Wed Jun 27, 2007 10:22 am
- Forum: CMSMS Core
- Topic: mod_rewrite ,getting the error The system cannot find the file specified.
- Replies: 10
- Views: 2925
Re: mod_rewrite ,getting the error The system cannot find the file specified.
Hi: I have installed mod_rewrite in my webpage, and it seems to work very web, but now there are anothers problems. Into config.php ------------------------------------------------------------------------------------------------------ $config['assume_mod_rewrite'] = true; $config['internal_pretty_ur...
- Tue Jun 26, 2007 10:37 am
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
Yes, i think the same . All about pretty URLS must be in the same section ( post forum or wiki ) ...... Sorry .......
- Tue Jun 26, 2007 10:16 am
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
NOW RUNNING !!!!! Change this line in action.default.php ------------- $onerow->titlelink = $this->CreateLink($id, 'detail', $detailpage!=''?$detailpage:$returnid, $row['news_title'], $sendtodetail,'',false,false,'',true); add before ------------NEW LINES-------- if ($this->cms->config['assume_mod_r...
- Tue Jun 26, 2007 9:43 am
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
OK, now NEWS module is running with pretty URLs: http://www.snowboard-zamora.net/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=29&cntnt01returnid=15 and http://www.snowboard-zamora.net/noticias/29/15.html are the same webpage....... But, why in the title of the News, the li...
- Mon Jun 25, 2007 10:22 pm
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Re: Pretty URLS running .... but... one question!
Ok thanks ! but i've tried it and news doesn't work :S My section in .htaccess is this: ############################# Options +FollowSymLinks RewriteEngine on # Rewrites urls in the form of /parent/child/ # but only rewrites if the requested URL is not a file or directory RewriteCond %{REQUEST_FILEN...
- Mon Jun 25, 2007 4:38 pm
- Forum: General Discussion
- Topic: Pretty URLS running .... but... one question!
- Replies: 49
- Views: 31042
Pretty URLS running .... but... one question!
Hello: I have running pretty urls in www.snowboard-zamora.net , but only works in "pages" when you click in the main menu. It's possible set pretty urls for NEWS ? For example i have this new: http://www.snowboard-zamora.net/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=28&...
- Tue Jun 05, 2007 9:05 pm
- Forum: Layout and Design (CSS & HTML)
- Topic: Little Problem With CSS Horizontal Menu
- Replies: 2
- Views: 1427
Re: Little Problem With CSS Horizontal Menu
Thanks. Now it's working 
