Example call to copy a book using the Book Copy module in Drupal 6 (assuming a node exists with book id of 142):
www.examplesite.com/book_copy/copy/142
When the above site is called and node 142 is copied it then notifies the user that the book was copied, but starts the user out on the Outline tab for the book copy. I think it would b...
When I create a new Drupal site I usually end up with at least one custom module and several community contributed modules. To get the site working as it should, many configuration values need to be set on the various modules. This makes deployment onto a fresh Drupal instance painstaking and error-prone.
I would like to give my custom ...
I want to move a drupal site to another domain and am looking for best practices, gotchas, hint, tips, etc to make sure I get through it smoothly.
Links and comments are appreciated.
...
Hello, I've a problem with drupal paths in one view that I building.
Right now my view has this form: contents/2/6.
Where 2 and 6 are the Ids of two nodes, I'd like to manipulate these ids to translate them let's say the title of those nodes.
I can not do this from the view because I'm sending these values to a panel, and the panel MUS...
I can code in three languages/platforms: Java (its been long time), ruby on rails (beginner) and Drupal/PHP (beginner). This app is a pet project I really want to complete and involves some good business logic as well as need to have nice front end.
I really cannot decide which platform to chose. I have done some work in RoR and some in...
I am working on developing a drupal site right now. I have created a custom homepage and it works fine with a module called (front page). However, I need to create a custom page for an internal page. Meaning, I need to have a different design than the general drupal theme I have right now but I am not sure how to do that (in an easy way ...
hi!
i want to add id tags to primary links menu..
it should look something like this:
<li><a id="home" href="#">Home</a></li>
<li><a id="about" href="#">About</a></li>
<li><a id="contact" href="#">Contact</a></li>
currently, it's just
<li><a href="/test/drupal/content/home">Home</a></li>
<li><a href="/test/drupal/content/about">About...
In Drupal, strings that are shown to the user are supposed to be passed through the t() function like so:
$heading = "<h2>" . t("Product") . "</h2>";
This allows Drupal to translate the string into the appropriate language.
However, what if the same English word is used in two different senses on the same site? If I wrote a price cal...
I'm struggling a little bit with a View that gets data from a node that uses two node reference fields, that points to the same type of content. From my path I'm getting one string as the argument, let's call it $fruit.
The query I would make if I was writing the query myself would be something like SELECT * FROM recipe WHERE (fruit_1=...
I'm building a site in Drupal and I only want to show the secondary links on the
pages that use the Views I've created. I tried using the $secondary_links variable
in the views-view.tpl.php but the variable is null. How can I achieve this?
...
Ok, here's the problem:
I have a list of contacts, which i have created in views, that are grouped by taxonomy terms like so:
(term:) Staff:
(node:) John Doe
[email protected]
(node:) Jane Doe
[email protected]
(term:) Management:
Fred Doe
[email protected]
and so on...
As it is now, i have no idea w...
i'm using service link module and tries to add twitter link as below
if (variable_get('service_links_show_twitter', 0)) {
$turl = drupal_http_request('http://tinyurl.com/api-create.php?url='. $url);
$turl = isset($turl->data) ? $turl->data : urldecode($url) ;
$links['service_links_twitter'] = theme('service_links_build_link', t('Twitte...
In the Contact module setting, we can set some additional information that appears before the site-wide contact form.
I pasted some html codes including a google map <iframe> into the textarea and saved.
The iframe did not get displayed and I am sure it's filtered by Drupal during an output stage, because in phpmyadmin, I can still see...
For some reason I can no longer post a comment as an Anonymous user in my Drupal installation. I haven't tried in a while, so I'm not quite sure when this functionality was broken.
I have Services installed, and I can post anonymous comments using comment.save. I have altered the Input Formats if that could break something.
I have en...
Hi guys,
this might sounds silly but I am super confused.
I want to install drupal on localhost but I need to install a SQL database for it too.
Which database package do I get (for free) ?
I went to MySQL website but I do not understand which one I need to download, or if mysql at all.. ?
I have win 7 32 bit and I only care that dru...
Hi I am using PNG FIx module in Drupal for 2 overlapping images on which I have applied some jquery effect. The Problem is that when I use the PNG fix module then in IE I start seeing 2 images placed side by side instead of overlapping each other.
Is there any solution to this problem ? Please Suggest. Thanks
...
This question is basically a follow-up to this one:
http://stackoverflow.com/questions/1640534/drupal-custom-cck-field-with-multiple-child-fields
I need to build a CCK field type that stores several pieces of data, and fAPI form elements to accept the input for each piece of data already exist. These elements are built out into multip...
I have a cURL PHP script which is able to validate a username/password against the external source.
What is the best way to integrate this as a login requirement for (select) users in Drupal?
...
Title pretty much explains what I want to do... I'm not a fan of using nested tables, so believe me, I'm unhappy and would so, so, so totally prefer something else... but, c'est la vie...
Essentially, I'm trying to figure out how to create a nested table utilizing the theme_table function... I can't seem to find any information on ho...
I have a cURL PHP script which is able to validate a username/password against the external source.
What is the best way to integrate this as a login requirement for (select) users in Drupal?
The idea would be to add the external authentication as a login requirement for a role.
...