Hi,

I'm really new to drupal, however through searching the web and learning bits and pieces, I've managed to build a really nice site with a database of nodes displayed in views etc with loads of what i conceder "cool stuff", and I'm donkey proud of it. However I can't get my head around adding simple text to the main body of pages. Every time I add "basic page" content type, which is supposed to be for static content, or so it says, it is displayed as a selectable content type with an odd "read more" link.

So to be specific, I would like to add text to a page without a browser being able to select the title and seeing the node type (going to a different view", and would like to remove the "read more" link - cos its pointless when all the text is being displayed.

Further to this, how would I say add a paragraph of text to a page, followed by say an image, then maybe a views table?

Sorry to post such simple questions, but I found the answers to much more complicated stuff on the web, this simple stuff eludes me.

Thanks in advance :-)

Comments

SidneyGijzen’s picture

I would recommend to look into Display Suite, which lets you customize the display of nodes in several view modes (teaser, full node, search result, etc..)

vm’s picture

with reference to the basic page content type you can:
edit the content type and remove the body field which is set to text area with summary
add a long text area (one without a summary) and readmore won't come into play

http://drupal.org/project/insert_view = allows a view to be set inside a body area
http://drupal.org/project/insert = allows an image to be set inside the body area

The above recommendations assumes that you only want a title and a single text area which contains the components you've mentioned.

coldpookie’s picture

those two modules look like just the ticket, however, when I add "long text" it still displays read more. I've just found this module to give a try: http://drupal.org/project/readmorecontrol

Do you know of any way of making the compulsory "title" field non select able? so people don't click on the title and then see the node view.

Cheers

vm’s picture

when I add "long text" it still displays read more.

you would have to explain a but more about how you've accomplished this as I don't find that to be a possibility under normal circumstances on a default install. Without a summary, I don't see a readmore generated on my sandbox.

you can create a custom tpl.php file for the content type and remove the a tag around the $title variable.

coldpookie’s picture

Hmm, that's odd, maybe its my local host making things weird,

Cheers for the tip about the title

vm’s picture

shouldn't be host related. Likely a setting somewhere we've crossed wires with.

vm’s picture

shouldn't be host related. Likely a setting somewhere we've crossed wires with. Can't say without seeing how your fields are set in your manage fields tab.