TOPIC:

Creating Custom Themes 10 years 2 weeks ago #54684

  • TheMuffinMan's Avatar Topic Author
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
In ContentBuilder, themes are provided through plugins and can serve styles, javascript and sample codes (content & forms).

Currently ContentBuilder ships with 2 theme plugins, "khepri" and "blank" (which uses the class "blanktable_content").

If you want to create your very own theme (with own classes), you can create a custom theme plugin.

It is quite simple:

- Have a look at SITE/plugins/contentbuilder_themes/khepri/khepri.php

- Copy the khepri folder and change the name to whatever plugin name you like.

- Then rename the files inside "khepri.php" and "khepri.xml" to your plugin name.

- Edit your PLUGINNAME.php and replace "khepri" in the classname with your plugin name.

- Then edit the "khepri.xml" accordingly (name-tag and both values in filename-tag)

- Finally edit the html and css in your PLUGINNAME.php. You might like to to try the different places where you can add css and maybe javascript if necessary.

- Zip all files within that directory, install and enable it on your site and choose it in your view. From that point in it will create the sample from within your theme plugin.

Please Log in or Create an account to join the conversation.

Re: Creating Custom Themes 10 years 1 week ago #55886

  • telibera
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Aprendiendo Joomla desde México
  • Posts: 27
  • Thanks: 1
Hi Muffin Man:
I think that I made my first Theme, I do edit both files from the copied and renamed directory; something isn't clear to me; what directory should zip and instal; the entire compoment or the pligins directori... ? :huh:

Here is my plugin directory...

File Attachment:

File Name: telibera.zip
File Size:5 KB
Attachments:

Please Log in or Create an account to join the conversation.

Re: Creating Custom Themes 10 years 1 week ago #55913

  • TheMuffinMan's Avatar Topic Author
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
Hi,

all files from the plugin directory into one zip. According to joomla's documenation:

docs.joomla.org/Creating_a_Plugin_for_Joomla_1.5

It is for J! 1.5 but still valid for 1.6/1.7

Regards,
Markus

Please Log in or Create an account to join the conversation.

Re: Creating Custom Themes 10 years 1 week ago #55979

  • telibera
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Aprendiendo Joomla desde México
  • Posts: 27
  • Thanks: 1
Here is one advice:

I had problems with the aparence of my list; I try to change the theme, but none results come; so I went to the css of my template and there i found the solution.

I'm very new programing so firebug wher very helpfull in this point.

Ty for this magnific Component.

Please Log in or Create an account to join the conversation.

Re: Creating Custom Themes 10 years 1 week ago #55980

  • TheMuffinMan's Avatar Topic Author
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
I'll try your theme, thank you for the contribution!

Please Log in or Create an account to join the conversation.

Re: Creating Custom Themes 9 years 11 months ago #60441

  • onumad
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 18
  • Thanks: 0
Hi, I already have a new template active. In my case educa theme.
I've this file in the plugin folder:

educa.php, educa.xml and educa.css.

For now, educa.css is empty; What I need to change to customize (in frontend) my Menu ListView?.

Sorry for my bad spanish!

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.052 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!