Can CMS generate html pages ?

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
darkingPB

Can CMS generate html pages ?

Post by darkingPB »

This is maybe faster.I found manbo and postnuke don't support it. Can cms support?
darkingPB

Re: Can CMS generate html pages ?

Post by darkingPB »

  ??? ,I found that my web space cannot  support mode_rewirte and i don't have the rights to edit the httpd.conf,so if  cms made simple can direct generate html that is pertect.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Can CMS generate html pages ?

Post by Elijah Lofgren »

darkingPB wrote:   ??? ,I found that my web space cannot  support mode_rewirte and i don't have the rights to edit the httpd.conf,so if  cms made simple can direct generate html that is pertect.
If you are having problems with pages now working try doing the following:


Open config.php,

find:

Code: Select all

$config['internal_pretty_urls'] = true;
change it to:

Code: Select all

$config['internal_pretty_urls'] = false;
I don't think CMSMS can generate static HTML pages. But if you don't mind URLs like /index.php?page=page_name CMSMS should work fine for you even if you don't have mod_rewrite on your server.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Can CMS generate html pages ?

Post by Dr.CSS »

Elijah
isn't there a way to append .html to the end of pages.... page.html
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Can CMS generate html pages ?

Post by Elijah Lofgren »

mark wrote: isn't there a way to append .html to the end of pages.... page.html
Yes, I had thought it only worked with mod_rewrite but it works with "internal_pretty_urls" also to end up with URLs like:
/index.php/navigation_menus/navtop.html

If one of the following is set in config.php

Code: Select all

$config['assume_mod_rewrite'] = true;
$config['internal_pretty_urls'] = true;
Then setting:

Code: Select all

$config['page_extension'] = '.html';
Will make pages have a .html extension.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Can CMS generate html pages ?

Post by Dr.CSS »

so do you think .html pages load faster?
i have a feeling that was what he was reffering to...
maybe if they are hand code static pages... ???
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Can CMS generate html pages ?

Post by tsw »

You could always wget -r to get full set of html files
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Can CMS generate html pages ?

Post by Dr.CSS »

tsw
tsw wrote: You could always wget -r to get full set of html files
???
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Can CMS generate html pages ?

Post by nils73 »

CMS made simple will not "generate" HTML as static content - if that was the question. I know that there are CMS out there that can do that and I assume that one could write a module that could do that so that you have static pages again. There might be one or two situations I can figure where this would make sense but they rarely exist in real life.

Next best solution would be mod_rewrite and if that does not work then pretty-urls is your friend. Both simulate HTML-extensions but just to make the URL-scheme look prettier and maybe for some SEO reasons.

Regards
Nils
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Can CMS generate html pages ?

Post by Dr.CSS »

so still the question is which loads faster :.
just curious  ;)
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Can CMS generate html pages ?

Post by nils73 »

Hm ... just a guess:

1. Generated HTML-pages (no DB-query at all)
2. Mod_Rewrite
3. Pretty URLs

Well ... 2 and 3 might be same speed, but I would gues that 3 is kind of slower still. Piratos might know better since he is Mr. Performance himself.

Regards
Nils
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Can CMS generate html pages ?

Post by tsw »

mark wrote: tsw
tsw wrote: You could always wget -r to get full set of html files
???
wget fetches any html page and with parameter -r does it recursively and checking all links and gets those pages too (including all images and so on)
darkingPB

Re: Can CMS generate html pages ?

Post by darkingPB »

Can we develop a module that generate the static html pages automatic?It seems that typo3 can
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Can CMS generate html pages ?

Post by Dr.CSS »

i still ask Why?
do you think they load faster...
have you something against .php...
a lot of large, big name sites use .php...
darkingPB

Re: Can CMS generate html pages ?

Post by darkingPB »

???
Post Reply

Return to “Developers Discussion”