Both CMSB-generated content and hand-coded

5 posts by 3 authors in: Forums > CMS Builder
Last Post: August 30, 2009   (RSS)

Hello.

Can we have both CMSB generated content and content written in an outside text editor on the same page and have it viewable and editable in CMSB?

In other words, I already have a complete web site and am trying to integrate CMSB into it so the folks in the office can update pages. As I already have tons of content on the pages, how can I get that content to be editable in CMSB?

And I would like to add content to pages by hand using a simple text editor and ftp'g to the server; and also have the office people add content using CMSB, and have it all show on the web page PLUS have the folks in the office be able to edit the hand coded stuff I uploaded in CMSB. Is this possible? Or do I need to do all content additions using CMSB?

Thanks, Dave.,

Re: [pineridgefarm] Both CMSB-generated content and hand-coded

You could probably create some fields (text boxes or wysiwyg) into which you could paste the code that needs to be edited, but it seems like that defeats one of the main reasons for using CMSB in the first place, which is to allow users to edit the content of a site without needing to deal with code and the real possibility of "breaking" a page which you'll then have to fix.

You could look into the idea of creating CMSB fields for all the data and then using using "If" statements to determine whether the individual content has been updated.

If it has been updated then show the updated content from the database. If it has not been updated (the field in question is blank) then show the old hand coded code.

Eventually, all of the site content will be pulled from the database and all of the old hand coding can go away. (or just stay there and never be seen or used)

Hope that works for you.

Best,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [chris] Both CMSB-generated content and hand-coded

Thank you both for the advice.

Chris, I'd like to be able to submit sample for support other than via this forum. May I do so in an email?

Dave

Re: [pineridgefarm] Both CMSB-generated content and hand-coded

By Chris - August 30, 2009

Hi Dave,

Sure thing! My email address is chris@interactivetools.com.
All the best,
Chris