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.
Hi all, I'm wondering if you someone could point me in the right direction on how to accomplish the following:
A page which displays each term in a taxonomy, along with an image and a text blurb (those fields have been added to the particular taxonomy, and a different image/text is set up for every term). Under each image and text blurb, I'd like to display links to nodes that are tagged with that particular term. In other words, the page would consist of a set of several (image/text/list_of_nodes) sections. Ideally these would be laid out similar to a the grid layout in Views.
I am trying to make a Rules event based off of the Achievements module, where it logs when a person unlocks an achievement - but I am having issues actually getting the event to show.
General, sloppy code:
module.module
function module_achievements_unlocked($achievement, $uid) {
if ($uid != 0) {
$title = $achievement['title'];
rules_invoke_event('achievements_event_unlocked', $title, $uid);
}
}
I started a drupal project a few weeks ago, with no problems at all. I added some modules and themes.
And it worked fine for the past few weeks. Now today I wanted to work further on this project, but I can't do anything. When I surf to my localhost, the home-page loads with the administrator menubar on top. But when I click on any menu in the bar, My page refreshes and I get a blank page.
I didn't work in any codes and a few days ago it worked fine.
I'm developing a feature module. One thing I want to achieve is to add a field to a custom node type that will allow a user to select one or multiple nodes. Maybe something like the field for adding tags. When a node title is selected from the drop-down the node id is added in the field and if multiple nodes are selected, the node ids are separated by commas.
One alternative is a multiple select box that enables users to highlight and select available nodes within it.
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aliovox.variable' doesn't exist in /space/sites/aliovox/html/includes/database/database.inc on line 2135
I have many drupal 6 installs, so LAMP appears to work well.
I put DBNAME, it is the name of the database.
unpacked drupal zip file, created database, chowned files, created apache virtual host, ran update. Ubuntu, PHP 5.2, mysql 5.1.37
I'm updating a site from D6 to D7 and I need personalize teasers that are displayed on the home page of this site, to exclude links such as Comment, Read More and Alternative Language.
I've done this with D6 working with code (plus here), as follows:
The tags are printed in node.tpl.php, the code in Garland looks like: