Allowing User Group Node Content Editing?

Hi All,

How do I allow a group of users to be able to edit the content text? The only way I can seem to do it is if I enable 'Use the Full HTML text format' in the permissions. I think that is because that is how I entered the node page.

If I don't enable that option, when a user goes to edit the page they can edit the title etc, but the node body is greyed out.

However, I was just wanting my user group to see the text, and edit as plain text. Is there anyway I can allow this at all?

Thanks.

make text bigger on website for people with poor vision (disability access)

in Joomla there is an option to make text bigger on website for people with poor vision (disability access)

is there an option or module that does that in drupal?

print related fields in template

In D7, I've got a content type that includes a taxonomy field. Taxonomy being an entity, that term has an image. How can I print that related image in my content type's tpl.php?

In case I didn't describe it well, I'm currently using this:

		<?php if ($content['field_county']):
			print render($content['field_county']);
		endif; ?>

County is a taxonomy vocabulary, and this returns the term. Each of the terms have images associated with them. What code would I use to show that image, as well?

Block css help

Hi,

Im relatively new to drupal and would like some help on a block issue.
I have created a zen sub theme in drupal 7 and its working great. I have created a custom region and placed a block in it which has an swf file in it which appears on my home page. It's all working fine.The trouble im having is with the css styling of the block. It's sitting offset to the rest of the page. I was wondering which stylesheet i have to add the blocks id to so i can position it accordingly. I realise there is a simple fix for this but i cant seem to get the block to be recognised by any style sheets. I would like it to sit inbetween the main menu and the page content. Have i added it to the wrong part of my page.tpl.php? I've done something correct because it shows up on the site but just being able to id it aand style it has got me. LoL !!
If someone could give me some guidance on the procedure on how to add a custom region properly to the page.tpl.php file and then which stylesheet to work and how to identify it, i'd be very grateful.

http://www.5starmarrickville.com/Home

here's what i've added ....

(my info file)

regions[flash]          = Flash 

(where i've added it to my page.tpl.php file)

print render($page['flash']);

hook_load and hook_node_load in Drupal 7

Hi,

In Drupal 7, the function signature for hook_load is hook_load($nodes); the function signature for hook_node_load is hook_node_load($nodes, $types). Neither have a return value.

My understanding is that a function like

mymodule_load($nodes) {
... do stuff ...
}

creates a local copy of the $nodes array, i.e. the $nodes array is passed by value unless there is an ampersand in front of it. With no return value, how can this function get information back to the nodes?

How to render a field in a node in two different ways?

Hi all,

Suppose I have a content type called course. The course has two fields: field_major and field_credits, where field_major is a taxonomy term (for example, Economics, Chemistry, Basket Weaving), and field_credits is an integer. The label for field_major is Major, and the label for field_credits is Credits.

Now, suppose I create a node--course.tpl.php file copied from my super-theme's node.tpl.php. Now I'd like to display two things for some example course node:

(1) Major: Basket Weaving
(2) Credits: 4 towards Basket Weaving

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x