drupal

Drupal Views Automatic Filter

I was just wondering if there was a super quick way to automatically add a filtering system into Drupal views. I.e. I just need to add in the top of my view search by name (text box) and search by category (drop down box) Or do I just manually create this form then use the filter agruments within the edit view screen? ...

Add Duration field to sort criteria programatically?

Can someone please tell me how to add duration(CCK field) to sort criteria of views programmatically because it is not listed there by default? ...

Weird problem with hook_view drupal

I'm having a weird problem with hook_view. The problem is, hook_view isn't invoked unless hook_load returns invalid value such as empty variable. I don't know what causes this to happen and I'm at my wit's end. I'm very much appreciate your help. For what is worth, I have image attach module installed. Drupal 6.x UPDATE function mymo...

Drupal: "previous and next" links in each node ?

hi, I would like to add previous and next buttons to each node of my Drupal website. These links are supposed to point to the next node in the website content. How can I make it ? Thanks ...

Drupal AuthCache Conflicts

I'm developing a website on EC2 and have the development and live site hosted on the same server (for $'s sake). What I'm encountering is caching conflicts. Specifically on the dev site I have things that are not intended to be seen by the public yet but because it seems that both sites are using the same APC cache the entries are confl...

Drupal - Heartbeat activity - only showing activity wher a users is, the owner OR a member

Hi, Wondering if anyone knows how to create a view that only shows the activity of groups, where the current logged in user, is either the owner OR a member. thanks :) ...

How to refresh a cached Drupal page?

Is it possible to let Drupal refresh one particular cached page? Currently, one page of our site shows some dynamic table data by Table Wizard. After some update in MySQL table, the page does not fresh. I assume it's due to the site caching is on (Caching mode is set to: Normal). For anonymous users, the page refresh sort of 60 minute...

Friendly URL in Drupal to a PDF that is buried deep in a module?

I have a PDF burried in a module (sites/all/modules/mymodule/pdf/userguide.pdf)....how do i make it a friendly url like (sitename.com/mymodule/userguide.pdf) ? ...

Why use Symfony not Drupal

I've been using Drupal for some time and have been a bit frustrated with how it takes a lot more work to do things the Drupal way than if I were writing custom code from scratch. Sometimes I spend the day not coding, but just searching for the right solution to weave my idea into the drupal flow. This has led me to think of moving back a...

Problem while enabling CCK module

I am trying to enable CCK module and when I try to enable it, I get a white screen with this URL (http://localhost/?q=admin/build/modules/list/confirm). But CCK is not being enabled I dont know whats wrong. This is what I am doing before trying to enable CCK. I downloaded CCK, extracted it and put it in /sites/all/modules/ folder Go t...

drupal views more link

i'm new to drupal views. More link not displayed with my view block. i set more link both *Create more lin*k and Always display more link option too. Find picture below for view settings. Note: i'm sure there around 10+ nodes available to display. ...

Can libcURL be configured to use my .curlrc when used from PHP

I'm using Drush and Drush Make to automate download of Drupal module from a corporate network behind a NTLM-SSPI Proxy. Drush and Drush Make uses cURL to download files. cURL supports NTLM-SSPI Proxy. I configured cURL for the proxy in my .curlrc file --proxy proxy.example.com:8080 --proxy-ntlm --proxy-user user:password Drush itself ...

Drupal 6, and drupal_add_js() loading order

Hi there. I need to override some function from a contributed module. I used drupal_add_js() to load my javascript but it loads after the contrib module, so I cannot override. My module is empty with only hook_init() to do the job. Also tried it in hook_footer() no success. Any ideas are hugely appreciated. ...

Drupal Alignment screwed up in IE but works great in FF

I have designed a site for my team using drupal and it works and looks great in FF but when i open it in IE the page looks as if it is murdered by someone. The alignment is screwed up totally. What can i do to fix it. ...

How to create a Views style plugin for Drupal?

I'm trying to create a Views Style plugin for the Views module in Drupal. The aim on the style plugin is to render the view as a drop down (i.e. SELECT) box. I can't for the life of me find any decent or complete documentation on how to do this. I've looked at the source code of other Views Style plugins but that does not help. Does an...

Drupal Views Pager

Hi, I'm using the views built in pager and would like to have an option to 'Show All'. i.e. Show All < Prev | Next > Page 2 of 10. What would be the best way to achieve this? Steve ...

How do I print text into a form from an <a> link?

I need to be able to print text into a form field from an <'a'> link. Basically I have a list of job postings on one page, and an 'apply' link for each one. What then will happen is it'll bring up a form with the "Job Chosen" field already filled out with the "Job Title" from the previous page. Something like <a href="applyform.php?su...

Event-driven CMS - advantages and disadvantages

I'm trying to identify some of the pros and cons of having a CMS that is event driven. Event driven is not uncommon. You see it in many scripting languages like Actionscript, javascript, jquery that involve a client. How about in a CMS where the events and their responses happen on the server. What advantages or disadvantages might thi...

Why is drupal theming so difficult? Any tips for simplifying it or learning it faster?

I'm prepared to fully face the flames for this one, but seriously, my annoyance has been building to this point over the last two years! I've been working with Drupal on and off since version 4. Now I'm working on a version 6 site. Drupal is very powerful, the community is large and quite helpful, yes, BUT THE THEMING IS SO DIFFICULT!...

2 drupal instances trying to access same set of files

I have set up 2 drupal instances pointing 2 codebase with a common database www.abc.com points to folder /var/www/abcfolder mywww.abc.com points to folder /var/www/mywwwabcfolder The content is uploaded via mywww.abc.com and www.abc.com is used for general viewing. I have used domain access module where mywww.abc.com is an alais to m...