I've been using the pager_query() method succesfully to create a table with database results split over multiple pages.
In that case i use a simple "SELECT * FROM table" query.
But now i want to create a similar table, but the sql query includes a WHERE clause...
I've checked here, but the pager_query() method doesn't seem to take parameter values.
I just downloaded and installed Drupal 4.6.3 and started playing around with the whole system. I read the handbook on creating modules. I decided to learn how to use Drupal to develop enterprise level sites.
I have a few questions:
How do I make drupal faster?
I noticed that drupal logs every login, logout, error, etc. Even this seems useful at the beginning, I do not want this to be active all of the time. How do I disable this logging feature?
Does anyone know if there is a store locator module for Drupal. I did not find one in the modules section. Essentially I want to be able to type in a zip code and then locate the nearest store located to a user interested in the products I will be trying to sell.
I'm running Drupal 4.6 with og.module. I have created ~150 nodes with UID=1, which I would like now to be owned by UID=7. In hindsight, I don't want to be using UID=1 for everyday tasks, only higher-level admin functions.
Is performing this mass-change of ownership as easy as updating the node table? I can change all instances of UID=1 to UID=7 with a simple SQL query.
Or is doing this asking for trouble?
I tried searching the Drupal.org fora, but found no definitive answer.
If I restrict a block's visibility by content type, then it will not show up on any index pages. How do I get a block to only show up on the blog index and all blog entries? There doesn't seem to be any way at all to do that right now.
Is there a way to allow users access to drupal content via http auth ? The reason I ask is that I want people to access certain protected feeds (i.e. only authenticated users) using RSS readers etc.