close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

CSS with PowerCMS

Thread began 2/22/2010 5:52 pm by Gregg292456 | Last modified 7/28/2010 11:03 am by Gregg292456 | 2357 views | 10 replies

neilo

Just to explain the process a bit, so you know what should be happening. When you make achange in the Editor interface, it will write those changes to the HTMLEditor/common/insert or update php file but will not create a new file. When you select your stylesheet and styles from within the Editor interface, it writes the styles' names to a new .xml file (insert or update) and writes to the custom/php file the path to where that xml file is, and where the actual stylesheet is.

As this information (style names and location of stylesheet) is the same for both the admin/insert and update pages, the information just needs to be copied to the files from one (insert or update) php page to the other one.

For HTMLEditor in PowerCMS2, although there are javascript files as well as php (and xml) files, the paths only need to be copied to the php pages.

If you wanted to add the styles to PowerStore3 instances of HTMLEditor, the changes would be made/copied in the custom/javascript files.

In SiteSculptor, it would just be to the one 'contents_update_ContentValue1.php' file i.e. - you wouldn't need to do any copying and pasting at all.

If you use the HTMLEditor extension itself to apply an instance of the editor on a page, then the changes would be made to just thecustom/javascript file for that instance.

In every case, when styles are selected, a new custom/xml file is created. All that is required is to make sure that the paths to the correct xml file(s) and stylesheet are present and accurate in either the custom/php or javascript files. It wouldn't hurt (if in doubt) to copy the same lines to both the php and javascript files.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...