close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Importing Custom Style Sheet

Thread began 10/11/2011 9:16 pm by Martin | Last modified 7/30/2013 12:16 pm by drewgss371883 | 1766 views | 24 replies |

Martin

Importing Custom Style Sheet

Greetings,

I have just created a Power CMS site and I am trying to add a style sheet containing numerous custom classes for my client. From what I have been reading in the HTML editor section this "import" functionality was supposed to be available in 3.02 (which I have installed).

So I open up the contents_update.php file in the admin_cms folder and click on the HTML Editor icon to edit it. Under the styles list preset I choose the edit button and I then expect to choose the import button - but it is greyed out?? When I click on it I get the message that there are no presets or site style lists. Please define your style list then optionally save as a new preset.

Ok, so I take the default style span tag that is in the list and say ok. The dialog asks me to give it a reference name. I choose "test" (the name I gave it). However when I go back in and choose test again, while I do have a choice to import now, I do not have anyway to browse to my existing style sheet. Do I really have to go in and define everything 1 style at a time? With 30 or 40 custom classes, this is going to get tedious really quickly.

Do you have any ideas what I should be doing differently? Am I missing something? After searching I cannot find any instructions in the Getting Started for PowerCMS builder or HTML Editor to handle this...

Your help would be appreciated as always!

Sign in to reply to this post

Jason ByrnesWebAssist

next to the editor preset list, click the pencil icon, then go to the Styling tab.

On the Styling tab, click the plus button and select your style sheet to import it.

then click the pencil icon near the bottom to edit the styles that will be listed in the HTML Editor menu.

Sign in to reply to this post

Martin

Hi Jayson,

Thanks for getting back to me. I knew I must be missing something...

However, when I go to add my stylesheet of classes it works ok. However when I try to save it I get the following message.

"these settings are managed through your website admin area. Please log into your website admin to make changes."

Any idea what that is about??

Thanks,
Martin

Sign in to reply to this post

Jason ByrnesWebAssist

Some of the settings for the editor are configured in the wa_settings table of the cms database, the editor will not allow these to be changed, and will throw that error message. It should not effect setting the CSS File to import though, as long as the styles list is functioning the way you want, you can ignore that alert.

Sign in to reply to this post

jeffsure

I'm poking my nose into this old thread because I'm trying to do the same thing. I've followed your instructions, Jason, and yet my styles aren't showing up in the Styles drop-down in the PowerCMS editor. I know that's not much info, but any thoughts as to what i might be doing wrong?

Sign in to reply to this post

Jason ByrnesWebAssist

first thing to double check is that the changes to the webassist folder where all uploaded to the server.

make sure to upload the entire WebAssist folder.

Sign in to reply to this post

jeffsure

Originally Said By: Jason Byrnes
  first thing to double check is that the changes to the webassist folder where all uploaded to the server.

make sure to upload the entire WebAssist folder.  



That fixed it. Thanks, Jason.

Sign in to reply to this post

CUAD

I went through and did exactly this. But my styles still will not show. Is there something else that I am missing. I went into the pages with the editor added the styles in the style panel and then clicked "ok". Then received the error that you can only make changes in the admin area. Clicked ok on that, then went on to upload all the files again on the server. But still no styles of mine show in the editor.

Sign in to reply to this post

Jason ByrnesWebAssist

make sure that the entire webassist folder is uploaded to the server.

you may need to clear the browsers cache to see the changes.

if you continue to have problems, send a screen shot showing the styes tab settings and the settings on the window to edit the styles that are displayed in the styles list (This is the edit icon on the styles tab near the bottom).

Sign in to reply to this post

wbrooks199805

I don't see anything for styles.

I am re-uploading everything. What file is it?

Okay I saw the update but I still do not have a pencil icon in the styles dropdown or in the editor. Please I need to get my style sheet attached!

Sign in to reply to this post
loading

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...