Page 1 of 1

Finally!!

Posted: Wed Mar 23, 2005 8:48 pm
by DavidU
Thanks for writing CMS Made Simple.  Consider this post a testimonial, and you have my permission to use it wherever you like.

I was looking for a "lite" CMS to use to keep my fairly simple site updated.  My needs weren't many, and there weren't going to be many users who would be editing content (pretty much just me).  My budget for a tool was approximately $0, so open source hunting I went.  Opensourcecms.com is where I found a number of "lite" cms tools to begin evaluating.

The first of these tools I looked at was Etomite.  Installed it, configured it, played with it, pretty much got it working.  Then I needed some additional information, so I went to the developer's website.  Lo and behold, it was now shut down, since the developer had gotten fed up with being flamed over his product roadmap (i.e., he needed to make money).  I wasn't interested in a product which the developer was no longer going to support.  Etomite jettisoned.

Next up was Mambo.  Installed it and got it running.  Looked at the admin interface and my head exploded.  I wasn't about to use a tool for which I needed to read an extensive manual in order to understand just its basic concepts.  Mambo trashed.

I then found something called LucidCMS.  Looked easy enough.  Installed it, configured it, played with it.  Didn't quite do everything I needed it to do (menu rendering stuff), so I dived a little deeper.  Ah, now I have to start coding PHP to get some of my basic needs done.  Ok, I'm willing to do some programming (I *am* a programmer after all), so I did some hacking, got it halfway working, found out I'd need to do a whole lot more just to get my basic needs.  Sighed loudly and decided to look further

Found CMS Made Simple.  Installed it, configured it, played with it.  Played some more.  Got my site working the way I wanted it.  Got my menu working the way I like it without any PHP hacking, just inserting the template tags in the right place and creating some CSS entries.  About ready to launch with the new functionality.

CMSMS does what I need it to do (so far at least), easily and quickly.  Nice work, dude.

Re: Finally!!

Posted: Thu Mar 24, 2005 12:52 am
by Ted
Thats great! Thanks so much for the kind words.  I'll definatly bookmark this for later use.

That's the first time I've heard that about Etomite.  I considered them our strongest "competition".  All you Etomite people, you're welcome here.  You can even use your "snippits" (hint: user defined tags).  Ok, I'm done.  :)

Thanks again!

Re: Finally!!

Posted: Wed Apr 06, 2005 1:58 am
by rombeh
wishy wrote: ...
You can even use your "snippits" (hint: user defined tags).  Ok, I'm done.  :)
...
how about eto's search modules? can you (not me :D) adopt to CMadeSimple? :D

thanks for ur great work, really MadeMyWorkSimpler

Re: Finally!!

Posted: Wed Apr 06, 2005 2:05 am
by Ted
Do you have a link?  I can definatly take a look, as I'm very interested in a search module.

Re: Finally!!

Posted: Wed Apr 06, 2005 4:30 am
by rombeh
found this one from 'snippit', i don't know if it's help or no

Code: Select all

$searchString = 
isset($_POST['search']) && 
$_POST['search']!= "{{" && 
$_POST['search']!= "[[" && 
$_POST['search']!= "[(" && 
$_POST['search']!= "[~" && 
$_POST['search']!= "[*" ?
$_POST['search'] : "" ;


$SearchForm .= '<form name="SearchForm" action="" method="post">'; 
$SearchForm .= '<input type="text" name="search" class="text" value="'.$searchString.'"><br />'; 
$SearchForm .= '<input type="submit" name="sub" class="button" value="Search">'; 
$SearchForm .= '</form>'; 

if(isset($_POST['search']) && $_POST['search']!='') { 
   $search = explode(" ", $_POST['search']); 
   $tbl = $etomite->dbConfig['dbase'].".".$etomite->dbConfig['table_prefix']."site_content";
   $sql = "SELECT id, pagetitle, parent, description FROM $tbl WHERE ($tbl.content LIKE '%".$search[0]."%'"; 
   for ($x=1;$x < count($search); $x++) { 
       $sql .= " AND $tbl.content like '%$search[$x]%'"; 
   } 
   $sql .= " OR $tbl.pagetitle LIKE '%".$search[0]."%' "; 
   for ($x=1;$x < count($search); $x++) { 
       $sql .= " AND $tbl.pagetitle like '%$search[$x]%'"; 
   } 
   $sql .= " OR $tbl.description LIKE '%".$search[0]."%' "; 
   for ($x=1;$x < count($search); $x++) { 
       $sql .= " AND $tbl.description like '%$search[$x]%'"; 
   } 
   $sql .= ") AND $tbl.published = 1 AND $tbl.searchable=1 AND $tbl.deleted=0;"; 
   $rs = $etomite->dbQuery($sql); 
   $limit = $etomite->recordCount($rs); 
   if($limit>0) { 
      $SearchForm .= "<p>The following results were found:</p><p><table cellspacing='0' cellpadding='0'>"; 
      for ($y = 0; $y < $limit; $y++) { 
         $SearchFormsrc=$etomite->fetchRow($rs); 
         $SearchForm.="<tr><td style='padding: 1px'><a href='[~".$SearchFormsrc['id']."~]'><b>".$SearchFormsrc['pagetitle']."</b></a></td><td style='padding: 1px'>"; 
         $SearchForm.=$SearchFormsrc['description']!='' ? " - <small>".$SearchFormsrc['description']."</small>" : "" ; 
         $SearchForm .= "</td></tr>";
      } 
      $SearchForm .= "</table>";
   } else { 
      $SearchForm.="<p>Sorry, couldn't find anything!</p>"; 
   } 
} 

return $SearchForm;
and hereis site_content table:

Code: Select all

site_content` (
  `id` int(10) NOT NULL auto_increment,
  `type` varchar(20) NOT NULL default 'document',
  `contentType` varchar(50) NOT NULL default 'text/html',
  `pagetitle` varchar(100) NOT NULL default '',
  `longtitle` varchar(255) NOT NULL default '',
  `description` varchar(255) NOT NULL default '',
  `alias` varchar(100) default '',
  `published` int(1) NOT NULL default '0',
  `pub_date` int(20) NOT NULL default '0',
  `unpub_date` int(20) NOT NULL default '0',
  `parent` int(10) NOT NULL default '0',
  `isfolder` int(1) NOT NULL default '0',
  `content` mediumtext NOT NULL,
  `richtext` tinyint(1) NOT NULL default '1',
  `template` int(10) NOT NULL default '1',
  `menuindex` int(10) NOT NULL default '0',
  `searchable` int(1) NOT NULL default '1',
  `cacheable` int(1) NOT NULL default '1',
  `createdby` int(10) NOT NULL default '0',
  `createdon` int(20) NOT NULL default '0',
  `editedby` int(10) NOT NULL default '0',
  `editedon` int(20) NOT NULL default '0',
  `deleted` int(1) NOT NULL default '0',
  `deletedon` int(20) NOT NULL default '0',
  `deletedby` int(10) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `id` (`id`),
  KEY `parent` (`parent`),
  FULLTEXT KEY `content_ft_idx` (`pagetitle`,`description`,`content`)
) TYPE=MyISAM COMMENT='Contains the site''s document tree.'