I want to know the insert query when the content is created or any node is created.
What is a simple example for that?
The main purpose of doing this is I want to log the entries when the node is created.
So I have created a history content. When the user creates certain type of content, I have inserted his/her details in to the table...
I have some nodes that I have manually written to the database. (Don't ask why; it's easier than other options.) They show up fine on the Content List at http://www.domain.com/admin/content/node/overview. However, when I go to that node's page (http://www.domain.com/node/2582/view, where 2582 is the nid of the node in question), I get a ...
I've been trying to learn how to use simpletest, and I found the simpletest automator. I was able to install it and run it, but where is the file with the results of the 'macro' saved? I haven't been able to find it.
Also, is there a quick way to duplicate a drupal install in simpletest? I know it starts from a clean install, but I d...
Hi,
I am writing a Drupal module where users send down content (formatted as HTML). The content will almost always include <img> tags. Those tags will reference the user's server. But, I don't want to hit the user's server every time that content is requested; I want to serve up a version on my server.
So, I have written a function ...
I have seen a few functions that allow one to attach classes/ID's to menu items; unfortunately, none of them apply to my use case. What I want to do is assign a class/ID to any menu item based on the content type of the linked item.
For example, I have a content type called "Internal" which is only displayed if the viewer is within the ...
I have a drupal app that needs to publish out some of it's content - there is a flash wysiwyg front end that communicates with a drupal backend through the services module.
The user can upload images / video, places and manipulates them in flash, and when they are done will export out a static version.
As part of this export process th...
hi!
I've problem with the search module in drupal. When I do a seach, it return 0 results even-though there are patterns matching. I ran the cron manually and flushed the cache. Now, the search module works fine.
I wanna know whether I should do this procedure regularly for the search module to work?
thanks.
...
Hiya,
Quick question I think...
I've made a drupal site which has some custom content types. I've created a load of records with these, and then I've had to amend the custom content type to change one of the fields and give it a new default value.
The problem is that existing records do not update with this default value. Apparently ...
my actions doesn't show in the Triggered rules list i have to flush the cache or restart the system
most annoying
when i try to create a 'execute custom php script' action
next time when i open to make few changes it shows a blank script where i have written some code.
my task is to save the selected nodes in the cck field
i have g...
I am making nodes programmatically. One node field is a nid reference to a node of type Meet. I have set these attributes to a real node of type Meet. However, when I run this node object through node_validate(), I get an error:
Meet: this post can't be referenced.
Why does this happen? Here is the node object:
stdClass Object
(
...
Can any one help me out on how to theme a view.
For each view created i want to have different templates.
...
The grid module provides the developer with functions allowing you to create input forms with a parent form and one or more child forms.
how to work with grid module in drupal
...
i have to design a page with multiple views, so thought of using panels
is there is any other way to use views in views
in panels how can we pass token parameters to the views
and the final one what is variants(in panels) all about ...
urgent guys help me please.....
...
i have to generate the pdf file with bunch of nodes, i can generate pdf files with print pdf modules
but i want to generate the
i m using views bulk operations i want to generate the pdf files with all the selected nodes.
any one knows how to do this stuff
...
I'm forking the filefield_stats module to provide it with the ability of exposing data into the Views module via the API.
The filefield_stats schema is as follow:
function filefield_stats_schema() {
$schema['filefield_stats'] = array(
'fields' => array(
'fid' => array('type' => 'int', 'unsigned' => TRUE, 'not nul...
i have calendar module each user can create his schedules,meetings.
now i want to send emails to the user before one hour( or one day before) of their schedule
meetings...
is that possible in drupal i thought of working with rules but not sure that will work
any ideas guys please
...
I'm working on a directory service using Drupal where each place has more than one branch, I need to create the content type (branches) and be able to add branches using the same form of adding a directory item.
Is there a module that helps me in doing is (if it's Ajax that would be excellent).
...
Is there any module which can be used with Drupal 6.x for adding E-commerce especially to sell things like video, audio, e-books.
There is one old module for Drupal 5.x called Quickfile. Is there anything new like this?
Or what are modules required to achieve above stuffs.
...
i m newbie to drupal
i have a view which displays the list of cars , i have 2 filters which are exposed make users to search for the car model and price.
it works fine, now i want this view to be home page, by default views gives list of all the nodes.
i dont want that, the results should display after users presses apply button
can a...
Hi,
I am trying to set a default value for the location field of a location element in a Drupal form. I have figured out how to set default values for all of the other fields (address, additional address, city, state, zip, country) but can't figure out how to set the actual location default. My code:
$settings = array(
'multiple' =...