PDA

View Full Version : Adding CMS to Existing Site


mark305140
01-19-2010, 09:59 AM
I know how to implement Power CMS on a new site with no initial content, but I am confused as to how to convert an existing php site to use Poser CMS. If the data for each page is stored in the db, adding the code to the top of each page will not automatically work will it? I've tried cutting and pasting from existing content in a web browser and lose all the formatting and image links. Any help would be apporeciated. I've got lots of existing sites that need to be converted.

Thanks!

neilo
01-19-2010, 10:15 AM
Hi Mark,

What worked for me was to select in Dreamweaver all the content (per edit area) I wanted to pre-populate the power CMS with, and in Dreamweaver 'code view' copy it all. Then, in PowerCMS Admin - (either insert or update) content, click the 'source' button to get source view, and just paste it in.

(This (http://www.pictuality.co.uk/) is a page I tested it on; - three areas, main contnt area, and two areas in the sidebar. All of it was pasted in from the source code of my document in to the source view of the three areas in my CMS).

Don't forget to remove the content from the actual HTML of the page - or it will appear twice!

mark305140
01-19-2010, 06:51 PM
I will give this a try. Thanks for getting back with me.