Saturday, November 27, 2010

How: change the background on my Plone site?

Plone is a content management system open source-used to create and manage Web sites.

It's great for non-technical people, which have required encoding not much knowledge of many languages, complex create sites, because everything from models with this system. Change the background on your Plone site can a little difficult at first, seem because no button click it quickly change the background, but you'll see, it's pretty easy to do.

    Setup
  1. Put your Plone-based site in debug mode and development.
Therefore, you must first connect to your Plone site. Registering names for connection to an admin and others certainly as an admin user.

Navigate to your URL. You need to change something. Add at the end of the URL: / handle. This will enable then access "In the ZMI."

"Portal_css." "in the ZMI", then go You see a check box with the title "Debug/development." Click it, and then click "Save". This slows down your site though, but allow that make changes in real time. Otherwise, you might wait an hour before you see the change in the background.

Make the change.

  • See the source of the page to find where to change the background in the sections.
  • If you want to change the section "about me" for example, you've got to find that looks like the line of code: "Body Hickiing About_Me."

    Modify the code to change the background. After you've found the item you want to change, you must change the code according to Plone: "Body Hickiing products {background-image}" {: URL (gradient2.png);}. "This shows how ei"n download new background image to section "Products" in their sample.

    This allows allows you to download an image to the background. If you want to change all of the sections, each section must add this code.

    According to the Web style guide should broadly 410 pixels 760 pixels your background up and design.

    Save the changes
  • Save changes to the code.
  • Navigate to the Web site and ensure that everything is working properly. If you are satisfied, return to the section "in the ZMI" website and clear the check box for "Debug development". This allows your Web service at normal speed again.

    No comments:

    Post a Comment