Forum Moderators: coopster

Message Too Old, No Replies

Searchable Template System

Can't make it work.

         

Doraemon

11:27 am on May 13, 2005 (gmt 0)

10+ Year Member



Hi.

My website mainly has static content. In order to make it as easy as possible to maintain, I decided to use a PHP template system. I went for PHITE [dreammask.com] and it works fine. However, my problem is that I seem to be unable to make this system work with search scripts, since all content is stored in .inc files. Hence, the search returns the .incs and the links are all wrong (instead of www.myserver.com/PHITE.php?sitesig=mysite&page=the_page_i_want).

A quick sidenote: I am no programmer.

I tried other template systems, but PHITE acutally does what I need. One template file in which I can load multiple page-specific content (e.g. in my design, I have three places where individual content has to be loaded).

I also tried CMS like Mambo, Limbo, PHPcms, etc., but they are way too big and complicated for my site.

Is there a work-around or can you recommend a different template system which allows me to load content into more than one spot of my design (that was the main problem with other template system I tried)? MySQL is available, if that helps.

Thanks a lot in advance! :)

dreamcatcher

12:24 pm on May 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use Savant as my preferred template engine. As with text editors, its finding the right one for you.

As for CMS systems have you tried Sub Dreamer? Its not free though.

SeanW

12:45 pm on May 13, 2005 (gmt 0)

10+ Year Member



Try a search script that crawls rather than running on the file system. htdig works well for me, and it's possible to wrap the output in PHP so that you can template that.

For templating I use Smarty. It's nice, but it's missing some features that I liked from Template Toolkit (perl templates).

Sean

Doraemon

1:03 pm on May 14, 2005 (gmt 0)

10+ Year Member



Thanks for the answers.

htdig looks pretty complicated. I'm not sure if I am able to make it work.

Anyways, thanks for the answers. If anyone has another idea, it'd great!