Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
What I'm looking to do is to provide articles in a simular way that Ars Technica does it. The key aspects I'm after are:
Seperate Teaser, there the teaser shown on the frontpage is not shown in the article itself.
Different Images, where the article submitter has the option of providing a standard image which is attached and placed within the article, or a thumbnail is displayed which can be clicked through to the larger image (with text explaining the image).
Multiple Pages, to help space out larger dumps of information.
Dropdown Pages, providing a dropdown form field that lists each page in the article, giving the user a way to navigate all pages at whim.
Article Rating, allowing the user to judge how useful the article is.
Page Forward/Back, giving the user the navigation option akin to a "book".
Seperate Feedback, only showing the feedback on its own seperate page rather than under each page of content.
I'm sure there are other aspects to this that I would like to implement but without a doubt, this is the core of the article system I'm envisioning. Poking around a bit, and looking in the module downloads, I can see some of this possible using the Story module and an expanded image module, but I was more wondering who else has cove
I am having some trouble with 'taxonomy_access', after trying to read the forums on this I am still confused. Anyway I have a site in the works on drupal 4.6.5. Here is a simplified example of my site that shows 'taxonomy-access' not working properly (unless of course i am doing something wrong, which i hope...)
Anyway so assume my site has 1 main vocabulary for all content. That vocab has 2 sub-categories: 'public', and 'restricted'
Now I create 2 roles on the site: group1 and group2
I am wondering if it is possible in drupal 4.6.5 to create a number of different profiles for different roles. I saw a posting about this already in a forum, dated june 2005 but it received no comments so I am trying to see if maybe someone can help now...
Can anyone tell me if there is a Library module out there? Basically, Im looking to create a library of documents that are kept seperate from my site content. The library will have a category structure with basically two levels of categories; root level categories (lets say 10 of them) and sub-categories (200 total, 20 per root category).
Our site will be displaying news, aggregated content from feeds, and user comments. I would like to keep this library of documents seperate, yet be able to embed certain documents within specific categories (based on vocabulary/taxonomy).
I'm trying to make a page that displays the most recent node's teaser followed by a node_title_list that excludes the most recent node.
I've already set up a page that displays the teaser for the most recent node and displays a node_title_list, but I can't figure out how to exclude the node whose teaser is displayed from the node_title_list:
<?php $nlimit = 1; ?>
<?php $result1 = db_query("SELECT n.nid, n.created FROM {node} n WHERE n.status = 1 AND n.type = 'flexinode-2' OR n.type = 'flexinode-7' OR n.type = 'flexinode-6' OR n.type = 'flexinode-11' OR n.type = 'flexinode-4' ORDER BY n.created DESC LIMIT $nlimit"); ?>
<?php while ($node = db_fetch_object($result1)) {$output .= node_view(node_load(array('nid' => $node->nid)), 1);}; ?>
<?php print $output; ?>
<?php $n2limit = 25; ?>
<?php $result2 = db_query("SELECT n2.created, n2.title, n2.nid, n2.changed FROM drupal_node n2 WHERE n2.status = 1 AND n2.type = 'flexinode-2' OR n2.type = 'flexinode-7' OR n2.type = 'flexinode-6' OR n2.type = 'flexinode-11' OR n2.type = 'flexinode-4' ORDER BY n2.changed DESC LIMIT $n2limit"); ?>
<?php $output2 .= "<div class=\"item-list\"><ul>\n"; ?>
<?php $output2 .= node_title_list($result2); ?>
<?php $output2 .= "</ul></div>"; ?>
<?php print $output2; ?>
One method I thought might work: save the first node's nid and exclude it from the db_query. The problem is I don't know how to include variables in the query. I tried saving the first node's nid to a variable $first, but it just causes a mySQL error when I place it in the db_query, as in "AND n2.nid != $first" or "AND n2.nid != $result1->nid" or something similar.
How do I restrict anonymous access to all content except the front page? I want to create an intranet and create content for authenticated users only. But if I restrict anonymous access to content in the node module, there is an ugly "Access denied
You are not authorized to access this page." message when someone hits the front page. As far as groups, I'm using OG.