This forum is for assistance with theme development.

Omega subtheme settings issues

Hello all

I just started to discover Omega as I want to go a step beyond the use of a pre-formated theme in order to create mine.

Omega looks great and is nearly answering to my wishes but I have a strange behavior I don't understand at the moment.

I followed the instructions and created a subtheme, activated it and put it as my default theme for a test website with no issue.

Now I have decided to change some default settings of the subtheme by inactivating some areas I don't need and did a Save Configuration.

I go back then on a page where this new behavior should be applied and I saw that there was not anymore the area I decided to inactivate..all seems OK

Then I continue to work like this on other areas but at some moment I run a cache clearing on Page and Others and then once this clearing ended what was my surprise to see my page with the default subtheme settings including the areas reappearing...where they was supposed to be hidden!!!

Same think for all area/region I modified (change some number of columns for some regions, inactivate some other regions etc.) all changes disappeared..I have again a standard template with standard settings !!

Did I missed something ?

Drupal 7 and Internet Explorer Issues

I hope this is the right forum for this problem. I have searched everywhere for a solution but with no success.

I developed a Drupal site (custom child theme for Zen) and on the development server everything looks fine in all browsers.

I did a test migration to another server before the launch. This move went well and everything looks fine in all browsers.

Then I moved the site to its live server where everything looks fine in all browsers except Internet Explorer which is not loading the stylesheets.

Showing/hiding a sidebar for certain pages

Hi,

We have a custom theme that has a sidebar. On certain pages, we don't want to display the sidebar--whatever content would normally be in the sidebar will simply not be present on those pages.

We could handle this by making two themes: one with a sidebar, and one without. Then, ThemeKey could be used to control which pages use which theme.

This isn't a very good workflow for our content creators, however. Ideally, when they are creating the page they would simply select whether it includes a sidebar or doesn't.

how to delete <em>..</em> which auto insert in my html?

Hello everybody,
My site work fine. However, It have been appear ".." in html recently. When i use firebug to view html. The auto appear, that make text-style to italic. I don't know, why auto appear? Help me please. How to turn off auto appear in my html?
Thank you very much,

Make responsive block image

Hi , all

I would like the block image in the header be responsive like the all site ? As i move it, the grafic in the header is static how can i fix it?

Thank you for spending your time.

url: chaniapolis.gr
Sorry for my english typing.

p.k

Simple passing data from module to template through theme

I'll try to search and find some solution on my question but I'm confused.
If someone could help me at these first steps on drupal developement, just post some tips here.

I have write a custom module like.

My module name is photo_order

So I have a photo_order.info

name = Photo Order
description = Photo list to select customer order.
package = easyTECH
core = 7.x
files[] = photo_order.module

I have photo_order.module

function photo_order_menu() {
  $items['photo_order/event/%'] = array(
    'title' => 'Photos List',
    'page callback' => 'photo_order_showlist',
    'page arguments' => array(2), // The matched wildcard.
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
    );
  return $items;
}

With that hook just implement my menu and set the page callback function

Then I have try to write the callback that do a select on db and I wish to pass this data to the template to design a custom layout of photo list.

function photo_order_showlist($event = NULL) {
  $query = db_select('node', 'n');
  $query
    ->condition('type', 'node_gallery_item')
    ->fields('n', array('title'))
    ->range(0,100);
  $result = $query->execute();

  return theme('photo_order',array('output' => $result));
}

Pages

Subscribe with RSS Subscribe to RSS - Theme development