Jump to content

Cms Series Questions


Dbarr

Recommended Posts

Hello, i followed the how to build a cms series and ive got a functioning cms but i'd like to make a few additions i've figured out how to get a few options but i'd like the ability to have multiple pages that you can edit(duh) and if its possible it have the option to which it may read one of 2 css files.

 

Thanks

 

Denver

Link to comment
Share on other sites

i'd like the ability to have multiple pages that you can edit

The CMS is built to easily work with existing HTML/CSS pages. You'd just need to duplicate the main index.php page and make any changes you need to link things up or change the structure of the page. As long as you have the couple <?php pieces in the code, like the include at the top of the page, the $this->FP->head() (I can't remember offhand, but I believe it was something like that) and the code that creates each of the content blocks, you should be fine.

 

if its possible it have the option to which it may read one of 2 css files

This is on the front-end only, right? That the visitor gets to choose which style they view the site in? If so, that shouldn't involve the CMS at all -- you'd just follow a tutorial that discusses how to make a style sheet switcher.

Link to comment
Share on other sites

The CMS is built to easily work with existing HTML/CSS pages. You'd just need to duplicate the main index.php page and make any changes you need to link things up or change the structure of the page. As long as you have the couple <?php pieces in the code, like the include at the top of the page, the $this->FP->head() (I can't remember offhand, but I believe it was something like that) and the code that creates each of the content blocks, you should be fine.

 

 

This is on the front-end only, right? That the visitor gets to choose which style they view the site in? If so, that shouldn't involve the CMS at all -- you'd just follow a tutorial that discusses how to make a style sheet switcher.

 

What i meant is like have navbar with the ability to add pages(which are added to the navbar) without having to copy files etc.

Link to comment
Share on other sites

What i meant is like have navbar with the ability to add pages(which are added to the navbar) without having to copy files etc.

That probably won't be very easy, since the entire concept that I built the CMS on is the idea that its purpose is to make it easy to convert a static HTML/CSS site to a dynamic site where an admin user can enter content.

 

Can it be done though? Yes. You'd need to switch over to a system where the CMS loads a default index page when the site is first loaded, or loads a specific page depending on the URL. You could probably use a modified version of the current system, but use template for each page type rather than a separate page for each page in the site. Obviously you'd need a full backend to manage pages, and would need to figure out how to deal with parent and child pages (if you need that).

 

Realistically though... Why not use Wordpress, or some other system that's prebuilt? Maybe Pixie (http://www.getpixie.co.uk/), MojoMotor (http://mojomotor.com/) or Perch (http://grabaperch.com/)? Personally, knowing how much time writing that functionality would take, a < $50 licensing fee is relatively inexpensive (personally) compared to the amount of time involved to custom develop that.

Link to comment
Share on other sites

That probably won't be very easy, since the entire concept that I built the CMS on is the idea that its purpose is to make it easy to convert a static HTML/CSS site to a dynamic site where an admin user can enter content.

 

Can it be done though? Yes. You'd need to switch over to a system where the CMS loads a default index page when the site is first loaded, or loads a specific page depending on the URL. You could probably use a modified version of the current system, but use template for each page type rather than a separate page for each page in the site. Obviously you'd need a full backend to manage pages, and would need to figure out how to deal with parent and child pages (if you need that).

 

Realistically though... Why not use Wordpress, or some other system that's prebuilt? Maybe Pixie (http://www.getpixie.co.uk/), MojoMotor (http://mojomotor.com/) or Perch (http://grabaperch.com/)? Personally, knowing how much time writing that functionality would take, a < $50 licensing fee is relatively inexpensive (personally) compared to the amount of time involved to custom develop that.

 

I have used wordpress and i was just hopeing to be able to use this one. and i'l ask around see what has to be done and the best way thanks!

Link to comment
Share on other sites

  • 2 weeks later...

That probably won't be very easy, since the entire concept that I built the CMS on is the idea that its purpose is to make it easy to convert a static HTML/CSS site to a dynamic site where an admin user can enter content.

 

Can it be done though? Yes. You'd need to switch over to a system where the CMS loads a default index page when the site is first loaded, or loads a specific page depending on the URL. You could probably use a modified version of the current system, but use template for each page type rather than a separate page for each page in the site. Obviously you'd need a full backend to manage pages, and would need to figure out how to deal with parent and child pages (if you need that).

 

Realistically though... Why not use Wordpress, or some other system that's prebuilt? Maybe Pixie (http://www.getpixie.co.uk/), MojoMotor (http://mojomotor.com/) or Perch (http://grabaperch.com/)? Personally, knowing how much time writing that functionality would take, a < $50 licensing fee is relatively inexpensive (personally) compared to the amount of time involved to custom develop that.

 

 

Wondering where this gets its style?

 

<div class="fp_edit" style="height: 110px; width: 760px; ">

 

Denver

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...