Does having Drupal modules installed but not enabled have any effect on the performance of a Drupal site?
To put it another way.. Would removing disabled modules from a Drupal site have a positive affect on performance?
...
I've created a sales report with filters for product type, brand and gender. The
filters are saved as terms within a Drupal 6 DB structure where vid represents
a specific vocabulary id for product type / brand / gender.
The report should display a record per product variant (model) with sales data.
SELECT op.title, op.nid, op.model, SU...
I plan to start creating tomorrow interenet shop (Ubercart). I'd like to take the 7 version - lots of nice things. Can you tell me now start to create on drupal 7 or can only work with Drupal 6?
...
I'm trying to create a custom query that will show the number of stories that have been posted in the last 24 hours on a Drupal 6 site.
Stories are stored in the "node" table. each record has a "created" row that records the UNIX timestamp when the story was posted.
Here's the query I'm trying so far:
$sq = 'SELECT COUNT(*) cnt '
...
Hi, I want to get tables list into array from database and the column names of a specific table into array in Drupal. Please mention the queries in Drupal. Thanks
...
I'm in need of some pointing in the right direction here...
I have a site with a couple of different content types. I want to display this content in a book-like layout. The book should be of a fixed width and height and the pages should be populated with as many nodes as can fit. It should be in two columns, with the left column being ...
Hi,
I needed a poll to vote on pictures, so I chose Advanced Poll module.
In choices I added html for images together with link to the picture and attributes for lightbox ... this is the code:
<a title="picture" rel="lightbox" href="/sites/default/files/pic.jpg" class="lightbox-processed">
<img class="image image-big image-center" src=...
I want to create a simple table and make it available for user to sort on the headers.
Using the tablesort_sql() function and sending the $header into theme() this can be done easy and nice.
But i want to sort by default on a field that is not visible to the users.
as example:
I want the content to be sorted by the created date, but i d...
Hi,
In my custom Drupal module, I want to intercept the URL to show custom data derived from an external (in this case, XML) data source.
For example, let's say I wanted to create a Flickr front end on Drupal. I could browse photosets through my Drupal front-end, and I could comment on them (using node data inside Drupal).
If a user ...
Hello,
Im currently evaluating Drupal to see if we can use it to replace our framework. My problem is I have this legacy tables which I would want to try to reflect in Drupal. It involves a join table. There's quite a lot of this kind of relationship in our existing web app so I am looking for possible ways to solve it.
Thank you for ...
Hello.
I have a number of Jquery plugins being called through my Drupal Acquia Marina theme .info file.
They work fine in all popular browsers with the exception of IE6 and IE7, in which they don't appear to load at all.
Some of the plugins are very basic, like the following slidetoggle, which like all of them, exists as a a .js file ...
I'm running a Drupal 6.x site with Organic Groups, Features, and Spaces, and I'm interested in generating a list of which Spaces have which Features enabled. Preferably a table, with Spaces along the Y axis, and Features along the X axis.
Any ideas regarding how to generate this? I can generate a list of Group Spaces using Views, but ...
This is the signature per Acquia's documentation:
notifications_user_get_subscriptions($uid, $event_type,
$oid, $object = NULL, $refresh = FALSE)
I have used this method before to get node-level subscriptions for a user. I cannot figure out what to pass for parameter 4 if I want to get subscriptions for a specific content type ...
I want to override a bit of core drupal behavior on the comment form.
If you make a comment as an anonymous user, your name and mail are stored in a cookie, and then javascript fills out the appropriate fields in subsequent comment forms using this code below:
Drupal.behaviors.comment = function (context) {
var parts = new Array("na...
I'm working on a drupal website. I've been keeping an svn repository of my custom modules which I've recently ported to github to work with another developer.
Coming from SVN I'm used to just being able to update my custom modules folder on the staging website directly from my SVN repository. But from what I've read (correct me if I'...
in in drupal , what is ; $Id:
i know for when we use this ; $Id:,strong text for create block , we should first create .info module, this tell to drupal about the our module/ block / menu inform ,
my question what is necessary of ; $Id:
What is the use ,
In which place it is calling ,
...
If you have a set of attributes that should only be available to a product (shown to the user and then selectable), if a certain other attribute is checked, how would one accomplish this?
Andrew
...
I have a drupal website. I want to generate an Iframe with content from my drupal site, that other sites can embed.
How I think this can be achieved:
Method 1: Create a php script that is autonomous from the drupal engine.
Import the configuration file and hence gain access to the database. Generate the content as a standalone webpag...
X post from http://drupal.org/node/953016
The Drupal 7 AJAX system is great, it works very smoothly for forms and even for links.
What I can't work out how to do in a sane way is to call it from javascript. I may want to have a dynamic page without a form and as part of that make a Drupal ajax call, specifically so that the ajax comman...
The question:
Publications
This view has two levels. The first level will list all members who have associated
Journal or Conference Paper records. The second level lists the titles of the papers for
a selected member; the entries in this view are links to the actual papers.
And all I can find from my professor's notes:
http://im...