Theming is about the development, adaption and configuration of "themes". A "theme" in Drupal is a set of files containing PHP, templates, Javascript and CSS that in concert provides a certain appearance of a site, and that clearly separates layout and styling of a Drupal site from content and ...
-1
votes
0answers
12 views
Select a image from first node alone in Drupal [duplicate]
Hi i am exploring drupal little bit deeper. I have 5 results coming from views.All results have Images inside the body. I want to select the first image from the first node in the view. How can i do ...
-3
votes
1answer
24 views
Custom sub-menu in Zen theme
I want to convert the following HTML to a dynamic Drupal menu.
<ul id="main-nav" class="sf-menu"> //this is static
<li>
<a hreft="...">Home </a> //this is parent ...
0
votes
0answers
12 views
Trying to Access User Profile Notice: Undefined index: #attributes in theme_container() (line 3252 of /home8/site/public_html/includes/form.inc)
This is the full error
Notice: Undefined index: #attributes in theme_container() (line 3252
of /home8/site/public_html/includes/form.inc). Recoverable fatal
error: Argument 1 passed to ...
0
votes
1answer
17 views
Drupal admin themeing and customizations
I am looking into how I might customize the backend, but re-themed is not the ultimate agenda. Say for instance, 'admin/content', where I have filter options for various content types. Below that I ...
0
votes
3answers
28 views
Can I add more blocks in a View page?
I have a page that I created by View, I tried to create a template by creating node--view_page_machine_name.tpl.php, but it didn't work, the page did not change to this new template style.
How can I ...
0
votes
2answers
40 views
How to add a CSS class to some certain pages depending on the path alias? [on hold]
I'm trying to add a CSS class to some certain pages for some certain menu styling depending on the current alias path. It works well with the following function but I'm wondering is there another way ...
-2
votes
0answers
22 views
Region has two blocks: print blocks in separate positions [duplicate]
In Drupal 7, my theme has a region name "feature". It has two Blocks. I want to print this block separate. how is it possible?
My Code is:
<?php print render($page['feature']); ?>
It prints ...
0
votes
3answers
32 views
Theming a content type
What's the best way to theme a content type? Is there an effective way? Can I just use my page template, resave it with a different name and do it that way?
0
votes
2answers
32 views
Adding a template to a specific page
I want to have a template for a specific page, as I want to add multiple Javascript pulled games to it.
The nid is 34, so to create this page, I would have to create page--node--34.tpl.php, correct?
0
votes
0answers
20 views
“true” 'first' 'last' classes in menus
I am building a zen subtheme in which I try to adjust my menus from:
<ul class="menu">
<li class="first">
<ul class="menu>
<li ...
-2
votes
1answer
31 views
How to add additional logo in drupal 6 [on hold]
In my theme, while configuring the theme i am able to configure my Logo on "Logo image settings" . But i need to configure one more logo in the same way. I am displaying 2 logo`s in my project in 2 ...
0
votes
0answers
12 views
Still render region containing Shopping Cart block if empty
How to still render a region that has only shopping cart block but the shopping cart is empty?
I am overriding the region with custom region template file and it is not being called/executed since the ...
1
vote
1answer
45 views
blockquote breaking in the middle
When I post something with long blockquote, that's OK, but when this post appeared on front page, it's breaking is such way, that no one can guess that there are also a continuation of the post.
For ...
0
votes
1answer
20 views
Taxonomy terms from multiple vocabs on a single line
I migrated from Drupal 6 to Drupal 7 and used the same theme, now the "post tags" (taxonomy terms from multiple vocabularies) aren't displayed on the same line as shown below.
How to get these ...
0
votes
2answers
15 views
How do I hide an area in a template or layout if multiple regions have no content?
I am able to set this up using a single check for a content in a region, but what if say 3 regions must all have content before the area is displayed?
Here's what I use in my templates when checking ...