This forum is for assistance with theme development.

Apply a border to Bluemarine main content?

I'm just starting a Drupal site with Bluemarine and I'm loving it! However I'm trying to do something that I thought would be very easy but I'm having a hard time. I want to apply a simple border via CSS to the main content box of my Bluemarine (phptemplate) site. The problem is that it when I apply it to the "#main" div, which I think is where it should go, the border doesn't cover the full "box" (which on my site is in yellow) as you can see in these two nodes (note this site's in it's infancy);

Third level context-sensitive links?

I'm trying to figure out how to make 4.7 follow the layout rules of the website template. I've created a custom template and I've gotten almost everyhting working except displaying submenus to secondary links.

Basically I'm creating mostly static site (not blog or news portal type) using pages. I need to have the first level menus horizontally in the header and second level menus on the left side. Side menus should be context sensitive so using primary links and secondary links seems to be the best bet. This I have working - selecting primary links from horizontal menu brings up respective secondary links menu on the left side. However, I need to have one more level (ideally several more but one more will suffice for 99% of cases). Thus I'd like to have something in line of:

Lev1A -- [Lev1B] -- Lev1C
-------------------------------

Lev2 (Lev1Bsub)
Lev2 (Lev1Bsub)
  --  Lev3
  -- Lev3
Lev2 (Lev1Bsub)
  -- Lev3
Lev2 (Lev1Bsub)

The problem is that while in the admin menu I can create children to secondary links I can't seem to be able to display those. I'm not using the sidebar block to display associated menu where I declared my primary and secondary links, I'm pushing the primary_links and secondary_links arrays out directly (foreach) with custom HTML. The reason I'm not using the sidebar block is because the menu inside it is not context sensitive and displays whole hierarchy all the time. Besides I really don't need the menu header.

Is it possible to define a new region in node.tpl.php

Hi all,

I need to define a new region in node.tpl. I want the content in this form:

Node body
::::::::::::::::
new Region
::::::::::::::::
Comments
(...)

The problem is that I can´t achieve the print $new_Region; to work in node.tpl.php, after adding it in template.php following this instructions:

http://drupal.org/node/29139

Is it only possible to add regions to page.tpl.php and not to node.tpl.php?

Customising the front page

I'd like to customise the front page to do the following:

* Show the x most recent posts promoted to the front page in one column
* Show the next y most recent posts promoted to the front page in another column (in a different format - will use CSS to determine this)

Can anyone give me any pointers on how to do this?

I'm not sure if I've seen any PHP snippets which relate to nodes promoted to the home page?

Drupalsites VISIT link - How to bold ?

I noticed that on http:// top.drpualsites.net the link

"VISIT XYZ site" is bold and capitalized.

Can anyone help on how to hack this.

Thanks a million

How to display this block in node AND blog?

I have this block that displays the same thing that Author Information displays, but does so in nodes, but makes one of my custom fields linkable (profile_blog_title links to the users blog).

I'd like to use this instead of Author Infomation to display in a users blog listing.

Pages

Subscribe with RSS Subscribe to RSS - Theme development