Is there a way of creating a composite field that can have multiple values, with each value having another group of composite values?
E.g. we want to have this structure at the end:
Group 1 (unlimited number of groups)
Child field (unlimited children for each group)
Child field
...
Group 2
Child field
Child field
...
...
Is this...
Hi guys,
How can one hook exit in a custom module be called in every page request of a drupal website?
Here is the hook exit code in a custom module:
<?php
function cec_monitoring_exit() {
if ((arg(0) == 'node') && is_numeric(arg(1)) && arg(2) == '') {
// database inserts here
}
}
?>
Is it because of the if condition...
I want to display the data by my own,
use cms to crawl the data only.
Anyone can share the experience and give me some clue where the entry point is?
...
I'm in the progress of creating a bulk upload function for a Drupal site. Using flash I'm able to upload the files to a specific url that then handles the files. What I want to do, is not just to upload the files, but create a node of a specific type with the file saved to a filefield that has been setup with CCK. Since these are audio f...
My <title>The title</title> is based on my headline which can contain extended characters which I store as html entities &#xxx;
How can I easily turn these into real characters to make the browser window display them correctly or get them to appear correctly in their current form?
...
Anyone know how to use Google Analytics for a Drupal-powered company intranet site behind our firewall?
and/or
Anyone know of a good analytics-style module for Drupal that can tell us things like visitor browser/versions, OS, monitor size, etc. ? Pretty graphs and charts nice but not required. Or at the least a recipe for rolling our o...
I just saw that whitehouse.gov is using drupal as a CMS and portal technology.
One of the advantages of drupal seems that it is easy to add plugins and that programming is minimum, i.e. that re-inventing the wheel is at minimum. That is actually exactly the DRY philosophy of Ruby-on-Rails. So:
What are the drawbacks of drupal?
What wou...
I can save/update on regular fields but I'm having trouble saving/updating CCK fields. here's an example node.save() XML request - http://pastebin.com/m5ceca16
...
I'm trying to theme a single "display" in a view. What I'm trying to achieve is to have some control over how the row is rendered (eg. print the fields in the row, and maybe add some text in between. along with some divs for styling purpose). I've looked for days for the template to edit. I've used even the Theme Developer and the View's...
We're building a very content rich site in Drupal. It's my first time working with it. There are a variety of sections to this site, each with a different layout. I plan on determining the page.tpl.php via the phptemplate_preprocess_page() method.
My question is how best to specify where in a given page to put different chunks of second...
Basically I want to create a php code in my template (views-view-field--body.tpl.php) that would say the following...
if [body]
print [node_view]
endif
...
I've:
Disabled cron
Disabled database logging
Cleared my caches
Commented out the code that is being displayed as the error
And still, the same error message is being written to Watchdog. I execute: "delete from watchdog" and IMMEDIATELY after I check in the watchdog table, the same error is there.
Not that it would help, but here'...
I only want certain nodes to be indexed. The "search config" module claims to have this capability, but it doesn't work. So, how do I either edit the node module to only index certain nodes, or better yet, impliment a module that can do this for me?
...
Hi,
I am using Drupal 6.x, I installed successfully
Juitter
http://drupal.org/project/juitter
which is doing exactly what my users need to do, that is Searching Twitter.
But to do so they have to navigate to the specific page where the Juitter module is invoked which is something like:
____example.com/juitter
and THEN they have to ...
One of my favourite sites at the moment is developmentseed.org. I really like what they do with there user profiles. How would you go about recreating it.
http://developmentseed.org/team seems to be a view of users/nodes
/team/eric-gundersen is a profile/node
"Posts by Eric Gundersen" block on the right of 2. seems to be a view. Is an...
What we need: redirect to each user's specific page after their loggin.
What we have tried:
Login Toboggan module: can be direct to each user's profile page, however we do not where to define specific node, i.e node 15 for user David. If you have experience on this, please advise.
Nodeacccess: generic access control defined to each co...
I was trying to do do a boolean search 'sname:'.$user->name.' OR sname:xxxxxx; , i am not getting any results where as sname:xxxxxx; works fine. i even added mm=1 with the query modify hook. can somebody guide me how i can accomplish this.
Here is my code.....
$keys = "";
$filters = 'sname:'.$user->name.' OR sname:xxxxxx;
//print($filt...
When my user tries to register, I'd like to make sure his information is valid, by checking an external identity repository (e.g. call a web service or look up a directory server).
Is that possible with any existing module? If not, what would be the best way to develop this functionality?
...
When my user registers in Drupal and his account is created, I'd like to be able to create an account in a 3rd-party system (e.g. some moodle site).
Is that possible with an existing module? If not, what would be the preferred way to add this functionality?
...
I have a bunch of content in the page content type that I would like to migrate to a new custom content type. I don't need to add or remove fields or change the data stored in the content type at all, just straight copy them over. Is there a module to do this?
...