Home Private Messages Search
CPG Dragonfly™ CMS
 
Wiki ⇒ Dragonfly Themes

Wiki ⇒ Dragonfly Themes  

Glossary
The Project
Install
Upgrading or Switching
Dragonfly admininistration
Dragonfly public view
Dragonfly Themes
Build local server
Tips and Tricks
Rules & Regulations
v9 Developer's Manual
v10 Developer's manual
Wiki Permissions
7: Dragonfly Themes
Contains sub categories

The dragonfly theming system is actually quite simple from a designer view, forget about opening theme.php for a minute.

If you are using the dragonfly theme...first open your css in your favorite text editor.
Inside you will see the links to the header and background logos. Insert your image here and play around with it's size compared to the layout.

Now open the html template files from the themes/dragonfly/templates folder in your favorite WYSIWYG local html editor like Dreamweaver, Topstyle or any html editor that doesn't rewrite table or div code (frontpage2K is not suggested).

Attach the themes stylesheet to it (i.e. temporarily link href="themes/dragonfly/style/style.css" type="text/css" rel="stylesheet").
You should be able to see a portion of the sites template as you would online but editable. Now manipulate the css and html code to your wishes.

To see your changes sitewide quicker without having to upload it each time, run a test site locally using apache, MySql and PHP and always use a browser that doesn't cache css.

You should be able to manipulate the style of the page without touching any php code.

The templates have {CONTAINERS} for the information from the php. This {INFO} is replaced by the output of the php code in modules and the core. You have full control of where these containers are displayed or whether they are at all... you could leave some out without an issue... like say you don't want the posters name on the news stories....you could remove {newstopic.S_INFORMANT} from the template. To change the color of something find the style tag or other tag closest to item and modify that.

Next ⇒ adding vars to be displayed in templates

 
Updated: Monday, November 07, 2011 (03:56:00) by Phoenix
Created:  Wednesday, January 19, 2005 (04:44:42) by DJ Maze

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy