hi
sorry for this stupid newbie question, but i have no idea how to solve this...
i have created some primary links. they have url aliases like "news", "download", "tools". now, i'd like to add content to this pages, but the content type "page" or "article" only creates a simple page. it is not possible to add more then one article on one page. how can i add more then one node to a page? i don't realy like the idea about adding all this page code with all styles and images in one big WYSIWYG field... this sounds like horror coding...
i'm not talking about front page here, i know, there is a checkbox "display on front", but how to tell display "node/19" and page "download" at position 2 and display "node/24" on position 1 and so on?
Regards
Marc
Comments
Some ideas
1. Use taxonomy module. Create vocabulary with terms 'news', 'download', ... and attach it to 'page' node type. Add some pages and tag them as 'news'. Add alias from "taxonomy/term/{term_id}" to "news" where {term_id} is an id of your 'news' term. Repeat for other sections.
2. Use CCK and Views modules to add necessary node types and create node lists by types.
3. Wait for Drupal 5.0 release (or try Drupal HEAD) with built in CCK :)
4. Write your own modules for 'news', 'download' and other node types (just copy/rename/replace story.module) and add a pages with PHP scripts listing only necessary node types:
drupal cvs doesn't have cck
tried the Drupal CVS and it doens't come with CCK build in. I had to install CCK CVS.
It has "lightweight" CCK
I tried HEAD month ago. It was possible to create custom node types without additional CCK modules. Lightweight because it lacks ability to add custom fields for now. However it is sufficient to create lists of different node types using pages with PHP or Views module.
head?
whats the difference between drupal head and drupal cvs
and where can i get drupal head
thanks
CVS
Concurrent Version System contains branches for 4.6, 4.7 release and HEAD -- current unstable development version. HEAD is automatically archived periodically to http://ftp.osuosl.org/pub/drupal/files/projects/drupal-cvs.tar.gz
no cck folder
yup this file u linked doesn't have cck module folder in the modules folder.
Built into node.module
Basic CCK behaviour (create new node types) is implemented in node.module. CCK slowly migrating into core. Page and Story are no longer a separate modules, but a content types created with node module, you can delete them and create your own from content types settings page.
Just a thought...
I havent used this before myself, have just read about it and it sprang to mind.
Cant this be done entirely with taxonomy and custom urls using boolean operators, you end up with urls such as:
(assumming a taxonomical heirarchy exists)
taxonomy/term/4+6/1/page
OR, for a feed,
taxonomy/term/4+6/1/feed
These become your primary link urls (the one for a page anway).
Of course, these return lists, not single nodes, but if your term only has one node, then it could work?
It's a bit of figuring our how this works, try searching for more info or see the Building Communites with Drupal, Wordpress and phpBB book, chapter 2, quite a lot of detail there on how to build urls that will return something close what it sounds like your looking for.
I havent used the Article module either, but I assume it does similar to what I describe above also, maybe give that a look as well.
I'm quite new to drupal so I dont want to put you wrong, anyone got something to add to this?
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
i think that the main
i think that the main question was already answered and it meant something bit more basic (just how to print multiple nodes on one page - if i understood correctly) but the above solution just solved my little problem with getting two different node types on one site ( explanation over a "vote up/down") thou needs a fix of the css or smth as the names of the taxonomy's are printed above nodes as usually, which might look a bit strange :]