This forum is for assistance with theme development.

Moving page.tpl.php and page.vars.php to subtheme not working

I want to get more control over the bootstrap classes on aside(s)/main content container.

bootstrap/themes/system/page.tpl.php has the aside classes hardcoded (col-sm-3) and in bootstrap/themes/system/page.vars.php there is logic that adds a class to the main content container depending on whether there is one sidebar, two sidebars or no sidebars (col-sm-6, col-sm-9, col-sm-12 respectively).

Moving page.tpl.php and page.vars.php to subtheme not working

I want to get more control over the bootstrap classes on aside(s)/main content container.

bootstrap/themes/system/page.tpl.php has the aside classes hardcoded (col-sm-3) and in bootstrap/themes/system/page.vars.php there is logic that adds a class to the main content container depending on whether there is one sidebar, two sidebars or no sidebars (col-sm-6, col-sm-9, col-sm-12 respectively).

Change Main Menu Link Code Format

Quick Question: How do I reverse the output of main menu links from
<li><a></a></li>
to be
<a><li></li></a>

Long Explanation of the Question:

I tried searching for this but I'm not sure how to phrase what I'm looking for.
I've dug around in the tables, theme files, etc for a while too.

I'm using Drupal 7.38 and the theme is Responsive Bartik.

Main Menu Link Generation

Quick Question: How do I reverse the output of main menu links from

  • to be

  • Long Explanation of the Question:

    I tried searching for this but I'm not sure how to phrase what I'm looking for.
    I've dug around in the tables, theme files, etc for a while too.

    I'm using Drupal 7.38 and the theme is Responsive Bartik.
    I have the main menu as a block in the sidebar and it outputs this code:

    [SOLVED] Custom Content Type Form, Field collection not working

    Custom Content Type Form, Field collection not working

    when I click the "Add More" button the app/browser crashes.

    Conditional clauses around fields?

    I am doing some complicated themeing and I have image fields that could have more than one image uploaded into them.

    I did this on my node template:

    <li> print render($content['field_large_horiz_images'] [0]);</li>
    <li> print render($content['field_large_horiz_images'][1]);</li>

    Pages

    Subscribe with RSS Subscribe to RSS - Theme development