Hello guys,
I have to add a few links to where the taxonomy terms are displaying, I am using a custom module. I tried hook_link but it add links at the end of the node, How can I add links to the right side of the node title
Thank you very much
...
Hi,
I am using Drupal 6.19 to build a simple website with its own theme and layout. I also added and updated content regularly till I ran into a typical problem yesterday. There was a node-24 with a url alias of 'projects/india/current'. It is a content of type 'page'. As soon as I updated the content for this node, the data was not save...
Which one better drupal or expressionEngine? Must handle page/event specific membership management. Anyone have experience on those two CMS?
...
How can I add the Ubercart buttons (Update cart and Checkout) to the bottom and top of the cart page ?
I currently have only on the bottom.
thanks
...
I'd like to manage a timetable using Drupal 6, there are several pieces of equipment on which an administrator distributes people who get to use the equipment.
Essentially I want a table of equipment versus day of the week. The plan shows the occupation of all equipment for the whole week.
What makes it more complicated is that the ed...
I've setup a view in drupal that lists items like this:
IMAGE 1 | IMAGE 2 | IMAGE 3 | IMAGE 4
desc | desc | desc | desc
I'd like to add a single button to the top of this view. I would prefer to do it with code or a module, without digging into the theme templates. But how?
...
How to implement http authentication for a web app just to restrict the usage only for developers.
...
Hi,
What is mean by the following code, I found it in the comment module (drupal 6)
return theme('box', $title, drupal_get_form('comment_form', $edit, $title));
I have used this theme function before, but I had defined some themes under hook_theme(). but I didn't see any themes defined as 'box', also I found same theme 'table'
Could...
The task is relatively straightforward:
A Drupal website displays a list of articles with thumbnails. Some visitors would like to view it without images by clicking on a button/link and have that preference saved.
e.g. http://patterntap.com/collections/index/
The problem is all visitors are anonymous and given certain traffic, page ...
I'm trying to give my webform node a readable name to make it easier to find and edit.
I'm able to use the template I created called "webform-form-12.tpl.php" and theme that, but I want to use something like "node-webform-form-athlete-of-the-month_submit-your-athlete.tpl.php". The path I gave this webform is "athlete-of-the-month/submit-...
Hello i have two pages:
page 1 and page 2.
Now for page 1 I want to load page1.js and page1.css and for page2 i want to load page2.css and page2.js.
How to do this in drupal?
...
Making a search with Apachesolr, i want to add a couple of filters in hook_apachesolr_prepare_query(&$query). This works fine, except I want the filters to widen the search ('OR'), rather than narrow it ('AND').
For example, if I have 4 nodes of type:A and 3 of type:B that match a search, to filter by type:A and type:B should return 7 ...
I'm total newbie to PHP and Drupal but I fix this simple(?) thingo on my template. I want to get title, date, text and link path from this array? I can't get it out of there. I think its because its in inside of another array and because im noob in PHP I cant get it out of there ? Also I would like to get it to a loop. If theres more con...
Hi all,
I'm struggling to try and find an answer to this question and was hoping someone might be able to help me.
Are there any common/easy editable themes that I can use across Joomla (or Drupal), Wordpress and phpBB? I know that you can find decent forum and blogging modules in both Joomla and Drupal but I want to stay with Wordpre...
Hi i am trying to indlude a file by using require_once(). i am using xampp apache php server.
the file test.php is in htdocs drupal folder is also in the same directory where the include files is.
the code in line 5 is
require_once ‘drupal7/includes/bootstrap.inc’;
i am getting error
Warning: Division by zero in C:\xampp\htdocs\imp...
Based on this post, I'm noticing that slideshow/ slider / rotator modules are still a bit of an unsettled issue in Drupal (6).
My goal is to have a simple rotating gallery at the top of my homepage, rotating between several featured nodes, complete with a few cck elements (title, short summary, and an image).
Right now I'm stuck betwee...
I want to be able to show or hide a text snippet on a node based on whether or not it was tagged with a specific taxonomy term.
Something along the lines of:
if (term('green')) {
echo"this is green";
}
else {
echo "not green";
}
What is the Drupal way of doing this?
...
I'm writing a module that acts on another module. The other module's submit form is at admin/settings/image-toolkit. When its form is submitted, my module needs to respond to that event.
What hook do I need to listen for and how do I know the name of the form?
I'm not even sure where to print dsm in this case to get more information a...
I'm using the following logic to add a custom handler to a form that's defined by another module. I'm trying to do additional processing on the form data.
function my_module_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'my_form') {
$form['#submit'][] = 'my_additional_submit_handler';
}
}
Of course I define my o...
I'm sure this is simple with the Node Relationship module but I can't wrap my head around it.
I have a list called 'Comedian Profile' which has a node reference field for it. You then make - you guess it - profiles for comedians. To make an 'Events' (that doubles as an Ubercart item) you select the comedian. It then creates a view in th...