Heavily changed subtheme, better to create a theme?

Events happening in the community are now at Drupal community events on www.drupal.org.
betovarg's picture

Hi,

I've been working on a site based on openpublish for a while. The site is growing and the theme has changed very much, it actually looks nothing like the main openpublish theme. Im currently having an issue with IE7, the oldest browser we're supporting (we're running heavy jquery stuff, for instance) and the browser gets hammered everytime it loads my stylesheets, and the one cached from openublish.

I tried to make a duplicate of the theme (please do not refer to the part where I kill the kittens... yesterday someone told me I was doing a massacre), changed the info file in order to have drupal recognize it as another theme. I then turned it on and selected it as the default but the page-header.tpl and the page-footer.tpl do not load. Is openpublish unable to use another theme?

I guess i will have to have my css overwrite the default openpublish stylesheets for now, so they dont get loaded, i really think i dont need them.

Suggestions are welcomed. Thnx!

PD. I must say i know the benefits of creating a subtheme, but there are of course drawbacks like these when you have a site looking veri different from the original theme.

Comments

OpenPublish does recognize

resveld's picture

OpenPublish does recognize the new theme.
Make sure you change all OpenPublish related things in sites/all/themes/yourtheme/yourtheme.info
Leave the css stuff in there as well.

Clear the drupal cache and you should be fine.
I tweaked the default css.

The main thing you should set in your .info is the following:

base theme = openpublish_theme

-Ronald

Can someone relate the basic

ithacaindy's picture

Can someone relate the basic steps for developing an OpenPublish-compatible theme? I need from OP only the article nodetype and the ability to add photo captions.

Just build the node type

HFT's picture

Just build the node type 'article' on a fresh Drupal install and use a module like http://drupal.org/project/image_caption for the images.

What about building it with

ithacaindy's picture

What about building it with Drupal 7, which has the article notdetype pre-built? Is there a D7 version of image_caption?

Well if it does what you

HFT's picture

Well if it does what you need, just use it. Otherwise change the parameters of the content type/view to what you need.

Re. Image Caption; have a look on the module page...

Thanx Resveld, but those are

betovarg's picture

Thanx Resveld, but those are the steps in order to make a subtheme... can openpublish support the creation of a new theme?

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: