I've defined a content-type with some text areas and a CCK Upload File (image) field.
When i create a new node, if I upload the image before saving the node, it keeps uploading endlessly.
If I save the node, I re-open it and I upload the image it works in few seconds.
Am I forced to save the nodes before to upload images with CCK Uplo...
I need to display some custom HTML/Processing code before a Drupal form can be shown. How do I return both the custom HTML and the form? The code I have is:
function myfunction() {
global $base_path, $base_url;
$output = ""; // Clear the variable, just in case
include ('includes/SOME_HTML_OUTPUT.inc');
return $output; //...
I have a view with different nodes and an image with lightbox functionality.
I need to add some CCK fields of the node to the lightbox overlay. In other words, I don't want only the image to be displayed in the lightbox, but also some CCK fields of the current node.
What's the easiest way to do it ? Should I code it, or is there any mo...
When I press the delete button on some content, I'm taken to a confirmation page. The delete option is a button, while the cancel option is a link. That looks pretty weird. I found that there's a form_confirm() function in drupal, but I can't understand how to use it. Does anyone know how to make the cancel link into a button?
...
What's the path to display all nodes belonging to a vocabulary ?
In other words, I want to display all terms at once. (I don't want to filter by term, just show all nodes tagged with any term of a vocabulary
...
Hi,
I've just started using Drupal and I must admit its brilliant. Im still finding my way around it, so this might be a stupdi question, but Id like to know what the best and least perofrmance impacting way to achieve the below.
I have created a view with the "Node: Nid" argument to bascially list certain information about additioanl ...
I've created a drupal views Attachment display that lists a bunch of nodes. How would I add this to a content type? I've seen examples that require changing the template files, but can views Attachments be used without making changes to the theming layer?
...
I'm trying to see if a CCK checkbox field is checked.
Is it something like:
if ($node->field_checkbox[0]['value'] = 'checked')
?
Thanks.
...
I know how to pass one argument to a menu callback
$items['someaddress/%'] = array(
'title' => 'title',
'page callback' => 'some_function',
'page arguments' => 1,
'type' => MENU_CALLBACK
);
I don't understand why the argument being passed is $_POST['nid'] but this works. It corresponds to page argument 1.
function...
I have 17 sites with a multisite installation and uses the domain access module. This means that I have the same code base and same database for all 17 sites.Is it possible to configure Apache(hosting server) in such a way that all sites have a different IP even if the physical location for all sites is same?
...
Hi, I'm using the Drupal views module to create an overview of nodes. In the view i created i configured the Title. But now when the page is rendered the title isn't shown. It is shown in the breadcrumb etc. But not in the grid template, also if i use another template it still doesn't show. Any idea what this can be? I tried looking for ...
I'm trying to get the id of a view by supplying its name. Right now I have to insert the view into a node, then inspect it with dsm to see its ID, which I then hardcode where I need it. That's not a good workflow. If at least I could get the view's ID without inserting it somewhere first and inspecting it with dsm, that would be better. ...
Two quick questions regarding custom theming of view fields in Drupal 6 -
(a) I know that we can include a custom theme for a view field in a appropriately named template file but I notice that it has to be placed in the theme folder.
However, I want this theme file to be bundled with my module and was wondering if it could be done so...
i'm using Drupal 6. How can I create HTML e-mails for subscriptions (i.e via a template)? mail_edit() offers plaintext messages: can I use it for sending HTML mail?
...
I am in a situation where I need my end user to be able to organise a list of nodes using drag and drop. To do this I would normally be able to use Draggable Views. I also need the user to be able to bulk update the nodes returned. Normally I would use Views Bulk Operation. Is there anyway I can use both modules together? Would I need to...
Hello,
I am aiming to produce a individual top 5 list for each user of my drupal site. now trying to work this one out has become quite difficult and hence why i am here.
what im looking for is a top 5 list which allows the user to select nodes to be ranked by the user.
so at anytime the user can edit the list and re-order the list.
...
Hi,
All I need to do is have a form that does this:
User enters postcode in text box
Upon submit user is redirected to mysite.com/[user postcode]
That's it! I know validation etc. would be desirable as well, but I just need to get this working for now. I don't mind if it's harcoded or utilises the Drupal form API (actually I'd prefe...
Hi there,
Given a "nacked" Zend application - is it possible to use the Drupal based layout and navigation?
What is the best way to integrate a Zend application into Drupal 6 / Drupal 7?
For Example:
User X visits my Drupal page.
He wants to use the Zend-Application called "Feedback".
This "Feedback" application should be able to...
Not too familiar with GSA here so hopefully someone can help me.
Have a Drupal multisite installation, just added another site to it. It all works fine. However, when I go into the GSA admin, it won't crawl the site even though the URL pattern matching is fine.
All it says is this:
"/ Info: Redirected URL"
It hits the homepage and s...
Hi,
I am trying to add a tab to my menu in drupal and use this function, to test it:
function my_module_menu() {
$items['user/%user/classifieds'] = array(
'title' => 'Action',
'type' => MENU_LOCAL_TASK,
'page callback' => 'my_module_page',
'page arguments' => array(1),
'weight' => 2,
);
return $items;
}
But ...