This forum is for assistance with theme development.

Remove: Create Content -> Page -> Publishing options and or general modifications to Create content pages

I am creating a site that will use Drupal to enforce document publishing queues. The idea is to have two roles, Staff and Admin. Staff can log in and create a page but should not be allowed to publish it. The Admin would then login and make any revisions to the page then approve/publish it.

A Drupal Loop? / wrapping divs around undefined elements

Hello all,

I'm new to Drupal, and I have come here from the land of WordPress skinning.

My question is, is there 'the drupal loop' that I can dig into, add some divs and classes, move things around, and delete things here and there? With WordPress you have a set of PHP files within the theme where these can be edited, but I'm not seeing that in Drupal. (Does this have to do with the 'blocks' set up?)

phptemplate_user_list overwrite

I want to override user_list template (one, used for active/last
users block). So, in 4.7 template.tpl.php added:

function phptemplate_user_list($items, $title = NULL) {
 return _phptemplate_callback('user_list', array('items' => $items,
'title' => $title));
}

and placed user_list.tpl.php in theme directory. This one contains

Problem with Taxonomy and template

I have a two columns design with the menu in the left column, when i choose a word (taxonomy)to saw all articles in this term my menu going down. the taxonomy use some diferent css?

you can see the diference in this two url:

the first is a normal view:
http://tantascosas.com/drupal/

the second is a taxonomy of one term:
http://tantascosas.com/drupal/?q=taxonomy/term/1

Using Tabs.Module for the "Non-Coder"

I have been working on building my first theme for Drupal and its been relatively easy. I am just running up against one wall, implementation of the tabs module (from the jstools module group).

I would like to implement this in 2 places..
1. User Profies
2. organic groups home pages.

I am not a developer, just a graphic designer. Here are more specific questions regarding the use of the tabs API.
-

User Pages

Here is an example of the calls for user fields when building a custom user profile page.
<div class="fields"><?php print $user->name ?></div>

$tabs = theme('tabs_tab_page', t('Bio'), t(test content  .'));
$tabs .= theme('tabs_tab_page', t('About'), t('test content'));
$tabs .= theme('tabs_tab_page', t('Contact'), t('Second page content'));
$tabs .= theme('tabs_tab_page', t('Blogs'), t('Second page content'));
$tabs .= theme('tabs_tab_page', t('Commitments'), t('Second page content'));

$output = theme('tabs_tabset', 'name', $tabs);
print $output;

how you you put them together?

Organic Groups

how would over ride OG in the theme layer and apply tabs to the content types? Each content type appears to be displaying as its own fieldset at the moment.

THank you to anyone would is able to assist me. Your help is appreciated. I am willing to offer a small bounty. DOn't have much, but let me know what you think it is worth. WIll moniter this thread.

In need of a wall...or way to access node vocabulary $vid

How do I get access to a node's vocabulary? I have a block (similar module block) that must be displayed only for nodes that are within a vocabulary regardless of their term and sub term categorisation. Using the block visibility feature in 4.7, how do I display the block only on nodes that are in this vocabulary (called faqs). The vid for the vocabulary is 74. It is a container node type.

Somebody explain this so that I can make a handbook page on how to do it and save alot of walls the pain.

Pages

Subscribe with RSS Subscribe to RSS - Theme development