All Questions

Filter by
Sorted by
Tagged with
0
votes
3answers
529 views

Custom block that's always the first thing in a region?

I'm trying to create a region for my Drupal 7 theme that will be clickable drop-down to allow the user to log in/out, access their profile page and a few of other things. The best analogy I can come ...
1
vote
2answers
1k views

HTML in Menu title

I want to be able to add HTML tags in the Menu title - line breaks, italics, etc. I've gotten as far as needing a custom function in my template.php file. Something about "theme_menu_link?"
0
votes
1answer
1k views

Display a Views slideshow only if more than one image

I have a content type with an image field that allows multiple values. I have a View that displays the images using Views Slideshow. If there is only one image added to a node, I just want to display ...
6
votes
2answers
852 views

Bulk update got slower after conversion of database tables to InnoDB

After I converted the database tables to InnoDB engine from MyISAM, I noticed some operations became very slow, especially on updating multiple nodes in bulk for administrative work. Front end ...
9
votes
2answers
6k views

How do I disable comment auto approval?

I have comments that are being auto approved in Drupal and I'd like to disable that. I want to approve comments before they are published.
1
vote
2answers
1k views

Best way to add Vcard to node

I have a content type with CCK fields that make up contact information. I was asked to add a VCard / Add to outlook feature. I have a few ideas on how to do this but not sure which one is good. My ...
2
votes
2answers
315 views

Feeds: removing text from a title

I am using the feeds module to import an rss feed from twitter. The feed title and body starts with ": then my tweet". I wish to remover ":" from the creation of my nodes. I can remove it in the body ...
0
votes
1answer
390 views

Use Drupal as a 'cloud system' frontend, what is your opinion?

I'm working on a small project where I need implement some kind of cloud architecture. I'd like to deploy multiple Drupal installs among multiple servers; one would act as a domain controller and ...
1
vote
2answers
1k views

Feeds Mapping API

I'm looking for a way to import an RSS feeds into nodes. This is an example of RSS feeds that I'm trying to import: <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <...
0
votes
1answer
2k views

Embed some user profile fields in a block form

I've added some fields to user profile. None of these fields are displayed on registration form, but I want user can edit them quickly when he is logged. I want to embed some fields in a static ...
3
votes
3answers
630 views

Display 2 contents types fields in 1 view

I am trying out Drupal 7 - and am a complete noob, so please bear with me! I have a content type - 'film' which displays various fields about a film and another called 'venue' which displays data ...
4
votes
2answers
2k views

How to use Google and Ubuntu fonts on Zen theme

How can I use Ubuntu font and Google fonts on Zen theme?
4
votes
2answers
1k views

Taxonomy terms follow/unfollow module

Is there any module or options to allow site users to follow or unfollow the taxonomy terms?Basing on the following terms, I have to send a notification if any new post has been created on those ...
2
votes
1answer
977 views

Invoicing using Ubercart and Storm

I'm trying to connect Ubercart with Storm's invoicing module. When a new Storm invoice is created and the client is emailed a link to a PDF of it, they should also receive a link to an Ubercart ...
1
vote
1answer
860 views

Theming user-profile

I am on Drupal 7. Hi, I have installed the Devel module and I am using it to help me theme the user-profile.tpl.php. I want to show the e-mail information only when the user looking into the user info ...
2
votes
2answers
834 views

User registration with content profile + data manipulation on submit

I'm actually using a type with content profile in my user register form, and I'm trying to manipulate both the user and node data after submitted and inserted in database. I'm supposed to use ...
3
votes
1answer
107 views

Turn numerical filter into ON/OFF

I'm using uc_best_sellers to count the number of times a product has been sold. The module provides a numeric views filter like this: I'd like to have a view like this: A product would be a best ...
6
votes
2answers
4k views

How do you format the exposed filter options?

I am guessing this is a easy question, but I am stumped for a couple of hours. I am using Views with some exposed filters as shown below. Search keyword Drawing Type Type of Mould Customer ...
1
vote
1answer
844 views

Drupal Panels/Views conflict

I'm using Drupal 7 along with the Panels and Views modules. I've got a view with a page display, but I want to place it in a panel/page. I need the view's display to be that of a page because it has ...
1
vote
5answers
1k views

Custom logo for each organic group

I want to add a logo (CCK image field) to the group nodes and show it when users visit that group. Is there any module for that?
1
vote
1answer
2k views

FAPI 'radios' don't respect '#default_value'?

I noticed that the 'comment settings' radio buttons ('#type' => 'radios') were not respecting their default value settings in my content types. I have several module created custom content types, as ...
1
vote
2answers
219 views

How do I Print/Display Site information Form

I'm trying to print the Site Information Form, and a series of other forms in the near future, inside a lightbox using a snippet of code I found similar to the following. global $user; ...
2
votes
3answers
19k views

Menu drop down in Drupal 7

I just started to learn and to develop a Drupal 7 site; therefore, I don't know Drupal very well. How can I create the menu used in these two sites, http://www.honda.com.my/ and http://www.toyota.com....
1
vote
1answer
231 views

My module adds a CCK field to an existing content type. How do I then modify an existing view to sort using the new field?

I am building a new module ('best_answer') that builds on the functionality an existing module ('answers'). The new module adds a new CCK field ('best_answer_p') to a CCK content type ('answer') that ...
10
votes
3answers
7k views

Panels or Context module?

Can I please get some input on the differences between the two? I'm building a website where using 'context' is very important. After watching this video series about Page Manager by NodeOne, I feel ...
3
votes
1answer
2k views

What are the available image sliders?

I want to know what sliders are available for Drupal 7, and which ones can be used in blocks.
2
votes
4answers
743 views

Title showing 'Home' on Tabs

I am creating a module for searching a library of books. I have created a set of tabs on the module display page. Search Results Item The title when the Search page is selected (or default) is as I ...
4
votes
3answers
506 views

Edit content created by users with the same role

Is there any module that would allow me to edit/delete nodes created by users with the same role I have?
2
votes
1answer
721 views

Multiple user avatars

I'm looking at putting together a Drupal 7 installation for a community website. One of the features of the website will actually be in specific user profiles, which will double as "About" pages in a ...
6
votes
2answers
5k views

Import a big website using Feeds XPath Parser

I'm trying to import the content of a website with thousands of posts using Feeds and its related tools. I will import the content by accessing a page that contains all the links. I've tried ...
1
vote
2answers
6k views

How should I name the node template files for my theme?

I'm a bit confused about how to name my template files. It's the first time I started to mess with templates in drupal 7 and somehow I don't get it. I want a template file that changes the behavior ...
2
votes
2answers
527 views

Is it possible to make hook_view() the same as hook_edit()?

My current client does not like the separation between viewing their custom content types and having to travel to a different page to edit. They are pushing for the View page and the Edit page to be ...
2
votes
1answer
142 views

Putting a form into a menu

I've started learning Drupal (I'm starting with Drupal 7) and the best way to do that seemed to me to be in creating a custom theme from scratch. I'm trying to create a menu in which the login form ...
4
votes
2answers
1k views

Features Hook after successfull import

I wrote a feature module that contains content types and test nodes. After importing those nodes, a certain cache has to be rebuild. Both hooks I know (hook_install() and hook_enable()) are called ...
3
votes
2answers
1k views

Can you do anything about the div soup?

All the sites I have seen that build on drupal looks like it's hit by div soup. There are so many unused divs produced by the content and some templates I have looked on contribute more by adding even ...
4
votes
5answers
1k views

path_to_theme() return “modules/system”

I am trying to render the theme logo as a block. When I call path_to_theme() in page.tpl.php, it returns a true path, but when I call it in modulename.module, it returns "modules/system".
0
votes
2answers
394 views

Can Rules create a node reference that is empty except for a title?

Is it possible to automatically create a reference node or entity with Rules? The idea is to have a node with information and an image Gallery reference. If the image gallery is clicked on the node ...
3
votes
1answer
500 views

How to make complex taxonomy searches

How do I make complex taxonomy searches? Simplifying my drupal database to the following example (number in quotes are the taxonomy numbers assigned by drupal): Nodes = Blogs, Stories, Questions, ...
11
votes
8answers
12k views

How to theme the views exposed form?

I've created a view with a number of exposed filters, but it is pretty ugly looking. I'd like to improve the theming, including wrapping the whole thing in a fieldset as well as grouping some of the ...
2
votes
2answers
4k views

Using AJAX in Drupal 7 to change a form action

I would like to update the Drupal save_edit module to add an auto-save feature. This would look similar to the Stack Exchange auto-save (draft saved). So far I've gotten the save portion working (...
2
votes
2answers
303 views

Best approach for [back][next] form submitting

I've been doing a [back][next] to [finish] set of forms for user input fields, think of it like a questionnaire for user info where the user can still go back to the previous pages to update their ...
5
votes
3answers
3k views

Feeds creates duplicate content each time cron runs

I have created a custom feed importer but each time it runs it creates the same content again. How can I make it only create the content once?
4
votes
2answers
5k views

Is there an alternative Drupal 7 module for the Advertisement module?

We are looking to upgrade a site to from Drupal 6 to Drupal 7 that uses the Advertisement module. There is an alternative module to the Advertisement module for D7?
3
votes
4answers
2k views

Set the permission to view taxonomy term pages basing on the vocabulary

I'd like to completely disable taxonomy term pages based on the vocabulary. I want to use the taxonomy terms to organize nodes, and even let people use them, but users should not view the normal ...
1
vote
2answers
568 views

Is it possible to create a menu item and leverage path aliases?

I am trying to create a menu item that loads a view mode that calls the callback function with the path alias. $items['node/%/%'] = array( 'page callback' => '_node_view_load', 'page arguments'...
1
vote
2answers
596 views

Show all terms of a vocaboulary

I have this function that I used in a similar situation (Drupal show all terms of different vocabulary) that prints the terms of a node with a corresponding parent (if applicable). In my template.php ...
5
votes
2answers
2k views

Fatal error undefined function taxonomy_get_tree()

I want to write a module that makes a select search form based on taxonomy terms. (with hierarchical select boxes) This is on drupal 7.0 and status is up to date. The form is made and Ajax is properly ...
2
votes
2answers
167 views

Configuring Drupal 6.20 to display a different icon in a specific region on a specific group of pages

I've added a block called 'Course Information', configured the block to display on a particular group of pages (courses/full-time/*). This works fine, but I don't know to configure Drupal to display a ...
2
votes
4answers
2k views

Is there a tool to covert any template to drupal 7 theme?

Is There any tool to convert any template (wordpress, joomla, static html/css etc) to a drupal theme
4
votes
4answers
2k views

Default sort order on the other table columns

I render a table with theme_table() and use tablesorting (sql) for that. It all works fine. Except for the intial/default sort on the other tables. No user sort option defined yet. Example: Name | ...

15 30 50 per page