I am really new to CMS and don't have any clue what html blogs are for under the template section. I tried to read it up at your docs but I don't see any manual about it. Could someone please be kind to tell me what it is for and how to use it?
Also, I notice CMS doesn't work with SSI codes. I tried using the {literal}{/literal} tags but still don't work. Does anyone have any idea how to get around the problem?
Any help would be appreciated.
how to use html blogs
Re: how to use html blogs
You mean BLOB. A quick search through the forums (search key: html blob) gives 3 pages worth of info on the subject.Essie wrote: I am really new to CMS and don't have any clue what html blogs are for under the template section.
Does your server interpret the right files for this? CMSMS standard 'makes' .shtml files.Essie wrote: Also, I notice CMS doesn't work with SSI codes. I tried using the {literal}{/literal} tags but still don't work. Does anyone have any idea how to get around the problem?
Any help would be appreciated.
AddType text/html .shtml
AddHandler server-parsed .shtml
see http://httpd.apache.org/docs/1.3/mod/mod_include.html
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!
CMSMS rules!
Now they call it Joomla, but it still sucks!
CMSMS rules!
Re: how to use html blogs
In order to get the .shtml working, though, you do need to setup the freindly URL functionality. Take a look here: http://wiki.cmsmadesimple.org/tiki-inde ... Clean+Urls
-
Essie
Re: how to use html blogs
Yes, that is what I mean. Sorry, I did a typo. Yes what is HTML Blobs? And how do I use it?petert wrote: You mean BLOB. A quick search through the forums (search key: html blob) gives 3 pages worth of info on the subject.
Essie
Re: how to use html blogs
What about using the search function in this forum?Essie wrote:Yes, that is what I mean. Sorry, I did a typo. Yes what is HTML Blobs? And how do I use it?petert wrote: You mean BLOB. A quick search through the forums (search key: html blob) gives 3 pages worth of info on the subject.
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!
CMSMS rules!
Now they call it Joomla, but it still sucks!
CMSMS rules!
-
Essie
Re: how to use html blogs
Thanks. Found it. I also did a typo error at the beginning at the search form. No wonder I had 0 search result.petert wrote: What about using the search function in this forum?
-
Essie
Re: how to use html blogs
Just just went to your link to try and still did not work. My web server is capable of handling ssi codes. I am already using it throughout all of my exisiting static .html files.wishy wrote: In order to get the .shtml working, though, you do need to setup the freindly URL functionality. Take a look here: http://wiki.cmsmadesimple.org/tiki-inde ... Clean+Urls
My main directory's .htaccess has
AddHandler server-parsed .html
The cms files are stored in it's own directory at /cms folder
I've added .htaccess to cms directory so (public_html/cms/.htaccess) according to the instruction you gave me with the following codes:
php_flag magic_quotes_gpc Off
php_flag register_globals Off
php_flag session.use_trans_sid Off
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [NC]
#Rewrites page.shtml as index.php?page
RewriteRule ^(.+)\.shtml$ index.php?page=$1
Then in config.php file changed
$config['assume_mod_rewrite'] = false;
$config['page_extension'] = '.html'; (because I savea all my ssi files in that extension)
to
$config['assume_mod_rewrite'] = true;
Then, in the templated I added the ssi codes like: but I get nothing in the preview screen.
I tried playing around with
#Rewrites page.shtml as index.php?page
RewriteRule ^(.+)\.shtml$ index.php?page=$1
by uncommenting one or the other. I even tried to change the .shtml to .html. Still not working.
Did I miss something or forget a step? Thanks.
Re: how to use html blogs
Instead of using SSI, you should just make an HTML Blog with the html in footer_copyright,html and insert that blog into your template.
It's just more unnecessary overhead to handle the same thing.
Plus, I'm not sure if apache will even parse SSI if it's doing mod_rewrite. I think mod_rewrite does it's thing first before any of the other processing.
It's just more unnecessary overhead to handle the same thing.
Plus, I'm not sure if apache will even parse SSI if it's doing mod_rewrite. I think mod_rewrite does it's thing first before any of the other processing.

