Creating DPagebreak styles is very easy, just copy an existing style folder found in *JOOMLA ROOT*/media/dpagebreak/ and rename it. That's all there is to it, and sharing the styles you create with others isn't very difficult either. You can either zip your style folder and have them extract and FTP it to the *JOOMLA ROOT*/media/dpagebreak/ directory.
Unfortunately everyone doesn't have FTP access to their own sites or they just prefer the simplicity of Joomla!'s built in installer, that's why I've created the DP Style Example plugin. By using the installer styles can be installed using Joomla!'s built in extension installer and can be installed/uninstalled easily. They are grouped as "DP Style" plugins and do not require being published to function, as long as they are listed they are accessible by DPagebreak.The rest of this post will explain how the DP Style Example plugin should be used to share your styles with others.
"DP Style - Example" Instructions
1. Download and extract the plugin.
2. Rename the "Example" folder to your styles name, we will use "My-Cool-Style" as an example.
3. Edit or replace style.css file inside the "My-Cool-Style" with your own and add any other files required by your style.
4. Rename "example.php" and "example.xml" to "my-cool-style.php" and "my-cool-style.xml" and open the "my-cool-style.xml" file.
5. Add your information to the author block of the XML file by editing the highlighted areas.
<name>DP Style - My-Cool-Style</name>
<author>YOUR NAME</author>
<creationDate>November 2010</creationDate>
<copyright>(C) 20xx YOUR NAME</copyright>
<license>GNU/GPL</license>
<authorEmail>you@email.com</authorEmail>
<authorUrl>
yoursite.com
</authorUrl>
<version>1.0.2</version>
6. Either edit and rename the language file (en-GB.plg_dpagebreak_
my-cool-style.ini) or edit the highlighted area here in the XML file to change the description.
<description>DPAGEBREAK_DPSTYLE_DESC</description>
7. Change the highlighted areas below to match your styles information.
<files>
<filename plugin="my-cool-style">my-cool-style.php</filename>
<filename>index.html</filename>
</files>
<languages folder="languages">
<language tag="en-GB">en-GB/en-GB.plg_dpagebreak_my-cool-style.ini</language>
</languages>
<media destination="dpagebreak">
<folder>My-Cool-Style</folder>
</media>
8. Then zip it all into "My-Cool-Style.zip" and share it with the rest of us
[attachment=0:1oc7ar1d]<!-- ia0 -->DP-Style-Example-1.0.2.zip<!-- ia0 -->[/attachment:1oc7ar1d]