Search found 8 matches

by fritzfs
Tue Feb 26, 2008 9:23 pm
Forum: Tips and Tricks
Topic: Search module - Meta & Title
Replies: 0
Views: 1731

Search module - Meta & Title

Hello guys, any idea on how to set {title} and {metadata} when (inside) Search module is active? I've tried creating UDT and connecting it thru Events->SearchCompleted, doesn't work. global $gCms; $smarty = &$gCms->GetSmarty(); $smarty->assign('metadata', '<meta name="description" cont...
by fritzfs
Mon Feb 11, 2008 2:38 pm
Forum: Tips and Tricks
Topic: News module - Most Popular news feature
Replies: 3
Views: 5042

News module - Most Popular news feature

Hello guys, I've made changes in CMSms to support Most Popular News feature. It works by counting the hits on news. 1) execute this SQL in your CMSms database: ALTER TABLE `cms_module_news` ADD `hits` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0'; 2) edit file Modules/News/action.detail.php: Just after th...
by fritzfs
Mon Feb 11, 2008 12:14 pm
Forum: General Discussion
Topic: Pretty URLS running .... but... one question!
Replies: 49
Views: 30766

Re: Pretty URLS running .... but... one question!

Yes, you can use my posted code and change the order of variables as nivekiam instructed.

Please notify me if you have any trouble getting it up & running.
by fritzfs
Mon Feb 11, 2008 12:12 pm
Forum: Tips and Tricks
Topic: TagCloud - friendly SEO URL
Replies: 8
Views: 10241

Re: TagCloud - friendly SEO URL

Yes, these are the changes for latest function.tagcloud.php, I've just downloaded it couple of days ago.
Please notify me if you have any trouble getting it up&running.
by fritzfs
Sun Feb 10, 2008 11:25 pm
Forum: Tips and Tricks
Topic: TagCloud - friendly SEO URL
Replies: 8
Views: 10241

Re: TagCloud - friendly SEO URL

URL after this will look like : http://www.domain.com/tag/keyword
by fritzfs
Sun Feb 10, 2008 11:24 pm
Forum: Tips and Tricks
Topic: TagCloud - friendly SEO URL
Replies: 8
Views: 10241

TagCloud - friendly SEO URL

Hello guys, I've done some small changes in TagCloud extension if order to have clean URL. file .htaccess : # TagCloud RewriteRule ^tag/(.*)/$ index.php?&mact=Search,m99,dosearch,0&m99returnid=&m99searchinput=$1 [L file function.tagcloud.php : in function build_tagcloud($parameters, $arr...
by fritzfs
Sun Feb 10, 2008 10:26 pm
Forum: Tips and Tricks
Topic: FEU - Newest users
Replies: 0
Views: 1627

FEU - Newest users

Hello guys, here's another UDT that will display a list of 10 newest members. global $gCms; $db = &$gCms->db; $result = array(); $q = "SELECT username FROM `cms_module_feusers_users` ORDER BY createdate DESC LIMIT 10"; $dbresult = $db->Execute( $q ); if( $dbresult ) {     while ( $row ...
by fritzfs
Thu Feb 07, 2008 3:45 pm
Forum: General Discussion
Topic: Pretty URLS running .... but... one question!
Replies: 49
Views: 30766

Re: Pretty URLS running .... but... one question!

Hello guys, here's the full solution for latest CMSms (1.2.3). Edit file modules/News/action.default.php at line 312 and replace with this: $prettyurl = 'news/'.str_replace(' ', '-', $onerow->title).'/'.$row['news_id'].'/'.($detailpage!=''?$detailpage:$returnid); Edit your .htaccess file and set lik...

Go to advanced search