I'm interested in building a site that has several interactive features for the users, yet want the site to be relatively light and avoid using Java or Flash. The site will start small but will hopefully be scalable. I realize developers tend to prefer a specific language and/or CMS and am wondering if you think a particular language wou...
I've got a view with a single exposed filter (a select). It's using ajax to re-populate when the user clicks "Apply". I'd like them not to have to click that and just re-populate when the select is changed. I'm assuming I'm going to need some JS more or less like this (though this doesn't quite seem to be working):
$('#edit-tid').change...
How do I force a rule to be trigger in Drupal? I.e. From code?
...
All I want is a simple link that a user can click on, to create a request to become another user's friend. The documentation is very vague on this. Anyone know how to do it?
...
I am trying to get a list of distinct taxonomy terms in drupal using views2.
It seems it shouldnt be that big of a problem, however when i select the taxonomy:all terms, and select what vocabulary to limit to i get duplicates.
The "distinct" option in drupal does nothing, and i cant find anything else that groups it together.
If anyone k...
A panel page created by two tabbed mini-panels using customized views of feedapi. http://arisey.com/template
The feed link goes to the right external website in mini-panel view. However in the combined panel view, the feeds went wild and pointed to non-existing internal links, i.e arisey.com/template#ui-tabs-124. The html source cod...
Drupal inserts a form_token as a hidden field when it renders forms. The form_token is then checked on form submission to prevent cross-site request forgery attacks. The form data that is submitted is guaranteed to have come from the original form rendered by Drupal.
However, forms using the "GET" method shouldn't need this token. All i...
From this item: http://stackoverflow.com/questions/730138/whats-best-drupal-deployment-strategy .... I quote:
Databases are trickier; cleaning up the dev/staging DB and pushing it to live is easiest for the initial rollout but there are a few wrinkles when doing incremental DB updates if users on the live site are also generating con...
I've been trying to have my Drupal 6 module customize the way taxonomy term pages are displayed given certain conditions. This is easy to accomplish via themes, but there doesn't seem to be a straightforward way of accomplishing this via a module.
After a good deal of trial, error and Googling, I've come up with the following way of acc...
I have the following in my template.php file:
function theme098_theme() {
return array(
'email_node_form' => array(
'arguments' => array('form' => NULL),
)
);
}
and...
function theme098_email_node_form($form) {
return drupal_render($form);
}
I've excluded the code where i actually modify the form and cut it do...
With the FCKEditor, you can specifiy paths where the editor must be included. Eg.
node/add/email
Which works great, until you need to go back and EDIT that node. Which means you end at a path like so:
node/284/edit
Now, the fck editor no longer works, because the path isn't valid.
Is there any way that one can get the FCKEditor to...
How can I categorize/organize the content types on my "Create content" page? I'm running Drupal 6.x with CCK. I have a lot of custom content types, and my "Create content" page has become a bit unwieldy, as it lists them all alphabetically. I'd like to organize them by category, so users would see something like:
Create Content
Repo...
I've got a field in a form (custom content type built using CCK) configured as a date and time. I have the Date Popup module installed.
My field shows up as two fields, one for the date and one for the time.
When users click in the date field, the JQuery calendar pops up and all is fine. But nothing happens when they click in the time ...
Hi,
I have a taxonomy vocab assigned to a content type in Drupal 6. I've then exposed (using "is one of") it as a field in views which allows a user to search via keywords.
The problem is when it runs the query it is first referencing the term so instead of using a like statement it looks the term up in the taxonomy table and brings ba...
On a page like http://localhost/sitename/?q=category/tags/tag1 I've got a layout that's decided by page.tpl.php and then some more fine grained .tpl.php files.
For blogs I'm using page-blogs.tpl.php, for events I have events.tpl.php etc. How can I get a similar page just for the category url's? The reason is that this page.tpl.php is al...
There was a module for drupal that I just can't seem to find now. It basically shows little popup descriptions when you start entering data in a field, as apposed to showing the descriptions below the fields. What was the name of this plugin?
...
Drupal's $front_page variable contains the front page url for the current language. I am looking for a general way to receive this url for other another enabled language.
I would like to work in all cases - in any of the language negotiations alternatives, and also if the frontpage was defined to point to some other node.
I didn't fi...
I want to build site with a search form on LEFT and RESULTS in content(center) part.
I know how to create modules .. but how do I assign their location ?
OR should I place SEARCH FORM as BLOCK and assign them to LEFT in build/block/.
SEARCH FORM has 3 textboxes, non of them is required.
"name","surname","age"
whatever user type in I'...
is it possible to handle all wildcards in _menu() by module.
I know about specific wildcards like
display/page/%
but that won't work for paths display/page/3/andOrderBy/Name
what If I want to handle unpredicted ammount of parameters like
display/page/3/12/45_2/candy/yellow/bmw/turbo
I want to have one display/* _menu() path to hand...
I created a BLOCK (left) with this simple form.
Now I want to PROCESS and DISPLAY results on PAGE (center)
How can I do it ?
inputs:
name = James
surname = Bond
output I want :
<div style="color:red">Welcome, James Bond</div>
here is a BLOCK which i wrote and works.
<?php
echo drupal_get_form('myForm');
function myForm($form_st...