OpenPublish theme

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

I would like to use OpenPublish with other themes.

Maybe if OP developer would give us a basic guildelines for those modules that require* only the current OP theme.

This way we could eliminate a few features or modules in OP and use other themes.

Comments

Do you have a specific theme

irakli's picture

Do you have a specific theme in mind?

.............................................
http://twitter.com/inadarei

I would like to use the

domineaux's picture

I would like to use the newswire, other adapative themes or the themes that use fusion and skinr.

Currently, I really need to build a site that allows possibilities of large amount of content on pages.

In such cases having flexibility for content display blocks,etc. really needs to be facilitated well to save time maintaining the site.

I may be able to do more with the OpenPublish theme. I've not spent enough time to really test it's limits.

In theory, you can use any

irakli's picture

In theory, you can use any theme you want. OP theme is nothing more than a Drupal theme.

However, no theme is ever generic enough for you to just dump it on top of any kind of website. There's always tweaking and customization involved.

What would be great is if/when you customize other themes to fit OP functionality, you could contribute generic version of that and we'll gladly include it in the distribution.

Having richer choice of themes to start with is definitely a priority for OP.

.............................................
http://twitter.com/inadarei

I second that

pixelsweatshop's picture

I think OP could really benefit form using the fusion/skinr combo. The flexibility of them will really enhance the user's experience.

it is also the direction that acquia is going. Even the new drupal commons is done with fusion/skinr.

+1 for Fusion/skinr!

ndwilliams3's picture

+1 for Fusion/skinr!

Been working to convert the

ndwilliams3's picture

Been working to convert the openpublish_theme to Fusion. Using Acquia Prosper as a base, but harder than I initially thought. Had to make a change to openpublish_core/theme_helpers/router.inc on line 39 to include fusion_core as an an OP-"compatible" theme.

function _is_openpublish_theme($tkey = NULL) {
  global $theme_key;
 
  if (empty($tkey)) {has to be modified
    $tkey = $theme_key;
  }
 
  if ($tkey == 'openpublish_theme' | 'fusion_core') {
    return TRUE;
  }
 
  $theme_infos = list_themes();
 
  if (!empty($theme_infos[$tkey]->base_theme)) {
    return _is_openpublish_theme($theme_infos[$tkey]->base_theme);
  }
  else {
    return FALSE;
  } 
}

The other issue I ran into was the context module. Contexts cannot be set on a theme basis like the core blocks can. Therefore, each context had to be edited to add blocks to the fusion regions.

I would like to see Fusion included in the distribution of Openpublish, but with the context module, the only way would be to include another profile to build the contexts with fusion regions.

Applaud

pixelsweatshop's picture

ndwilliams3, I applaud you effort in getting the conversion done. I wish I was better at themeing so i can give you a hand (But I guess that;s why I use fusion skinr in the first place). I think the trick to getting it done right, is to get everything out of the theme tpl files and into views, cck, and blocks (and css). This way it will be easier for the users of OP to adopt and customize using the UI. I (and I am sure many others) will be so grateful for this. Keep up the good work.

Fusion and Skinr are a great

ndwilliams3's picture

Fusion and Skinr are a great addition to Drupal! It has made theming a lot easier. I love the organization and structure it offers compared to other base themes. I feel it is the future of themes in Drupal. It is the theme equivalent of CCK and Views.

I don't think it will be possible to get everything out of tpl files. The unique presentation of Openpublish content and specifically the RDFa inclusion require changes to the default variables, which are included through custom tpl files.

I was working on a generic version first, but deadlines call! Once I get my project finished, I will complete a generic version and submit it.

FYI after further investigation, I realized the change to core above is not needed. The theme check function is only needed for the page-header and page-footer preprocess.

@nigel.waters How is your

ndwilliams3's picture

@nigel.waters How is your CSS? I think I have most of the tpl changes in place, just working on the CSS adjustments if you want to help? If so, I can post it in the next day or two.

Absolutely

pixelsweatshop's picture

My CSS skills are pretty good. I would definitely love to help on the generic one and see if we could resubmit it back to the community. I am pretty new to Drupal and have been looking for way way to contribute something back to the community. My limited skills have kept me from finding something, but I think this could be a great way for me to do it.

OpenPublish

Group organizers

Group categories

Group notifications

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

Hot content this week