Search found 26 matches

by raul.lnx
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...
by raul.lnx
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...
by raul.lnx
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...
by raul.lnx
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...
by raul.lnx
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
by raul.lnx
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.
by raul.lnx
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: -------------------------...
by raul.lnx
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...
by raul.lnx
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...
by raul.lnx
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 .......
by raul.lnx
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...
by raul.lnx
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&nbsp; are the same webpage....... But, why in the title of the News, the li...
by raul.lnx
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...
by raul.lnx
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&...
by raul.lnx
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 :D

Go to advanced search