I am having trouble getting imagecache to generate a thumbnail based on a preset I have created named 'thumbnail'. I have an cck image_field and a custom node view. The code I am using to output my images is:
<?php foreach($node->field_comm_gallery as $galleryItem) { ?>
<?php print theme('imagecache', 'thumbnail', $galleryItem['file...
Just what the title says, I can't figure out why "-Year" is being added to the top of my exposed filter select box. What do I need to do to make it go away?
...
Just wondering if you anybody has had much luck getting XDebug working for Drupal 6.14 on Snow Leopard?
I noticed that Snow Leopard seems to come with php 5.3 which some people say should work with Drupal 6.14, though I haven't had any luck.
After that failed, I tried installing php 5.2 using macports (checking out from CVS at a previo...
Hey I am new to Drupal. Can someone help me to introduce jQuery auto complete into a drupal text field. I prefer basic coding standards.
...
I have built a multistep form using CCK, however I have a couple of issues outstanding but, not sure if CCK can help.
In one step of the form I have 2 select boxes, the first is auto populated from the vocabulary table with the following code and all woks well.
$category_options = array();
$cat_res = db_query('select vid, name from voc...
Hi there
I am using the LightBox2 component on my website to display the gallery images in a grouped lightbox. I add images to the website by using the Image component and adding all the images to the Photos book. However, images can still be viewed separately on a page, if I so choose. The url would then look something like this: www.m...
I'm working on a module and am trying to add some javascript to the next page a user sees after logging in or out. Calling drupal_add_js() on hook_user (op == login) doesn't seem to work; I'm assuming this is because drupal_goto is called after the login is completed and a fresh page request is initiated.
I've considered using hook_use...
My designers want to use the same taxonomy for three different purposes. On the node creation form we'd have three different fields where you're choosing from the same set of terms. Ideally, one field would enforce a single choice (and be hierarchical), and the others would allow multiple choices with tags. Any thoughts about how to acco...
I'm trying to print the book navigation in a block in a drupal book node.
This is the previous/next pager and the list of child nodes, templated in book-navigation.tpl.php.
Is it something like?
print $node->book_navigation ?
(I already loaded the node so no worries there).
Here's what I discovered when I did a variable dump. This g...
I have a Drupal 5 site that is using the Printer, e-mail and PDF versions module that appears to be creating a print version of a URL like so:
screen:
country/uk
print:
print/country/uk
Each page is set up using panels and has the country image and a view of most recent country news below.
On the print/country/xxx the view isn't pr...
Greetings all helpers!
I have been reading and testing Drupal features recently and I find this CMS very scalable and interesting. I began working with themes, views, content types and ect... but I am looking for something I cannot find on the internet.
Context : I am creating a new website for one non-profit organization of mine for t...
I had a similar problem once after activating Ubercart modules. Certain pages would not render the theme, though all the content was there. I went into performance settings and optimized CSS and all was fine. I heard this was due to too many css files being called at once. The optimize CSS setting streamlines them.
Today though I went ...
I have spent the last few days playing around with Drupal for the first time, and I really like it. Especially after building dynamic sites from scratch.
Being that there are thousands of modules, I would like to know what modules SO users cant live (or develop) without.
What modules do you always (or always with specific requirements)...
hi!
i've a node type "Gallery" and a menu title "Gallery" which shows all the available galleries with the help of views.
Now, when the user creates a new gallery, i want the name(title) of that gallery to add as a child element to the "Gallery" menu item..
is there any module for that?
thankx..
...
I am looking for a better understanding what truely can be done with Drupal modules. Specifically, module combinations that do something practical, specific to a need, and very cool.
Links to sites implementing these are appreciated.
+1 for creative and practical uses
...
I am working with a hook_form_alter on a CCK type (for you drupal-ers). I have a field that is normally a select list in my node form. However, in this instance, I want to hide the select list, and populate its value in the form with an SQL query.
Everything was going nicely. I could see that my desired value was showing up in the HTML...
I want to build a commercial website such as craiglist but specific for real state business, I was wonder if I could use Drupal to do it .. I ask this because I want to use one CMS rather than going with a scratch or framework approach, and I don't know anyone. So to save me time I need to know if Drupal could be a good choice.
Best,
...
Hi all,
In my way of learning drupal, I got stuck in this issue. I have Taxonomy vocabularies that I set as tree with each node have different depth. Now, I need to display it in select box in a way that only one select(the parent terms) at first. On change, it will fetch term's children and display another select box below it. This goe...
Hi,
I have a range of items in an HTML drop-down menu that I need to find with jQuery so I can then hide them [using .css('display', 'none')].
They are (in this example) all the ones between <option>---- Articles</option> and <option>---- Jargon Buster</option> except for the first six items in this range!
Other than these first six,...
hi!
the default login form in drupal doesn't have any javascript to check whether the fields(Username and password) are empty or not before submitting the form.
so, i want to add it onsubmit to the user login form..how can i do that?
...