I am having a problem with views. I have a view and am passing it a taxonomy term by name to it. I then have a relationship to a related node. For my output fields I am returning the related Title and related Body. I however have duplicates in my results. I have turned distinct to yes but believe this is working on the nodes being return...
hi
I'm using Drupal, Views with a exposed filter (using taxonomy).
My customer wants to set from back-end the default selected tags (in order to pre-filter the views content).
In the exposed filter settings, there is functionality. However, it doesn't work properly: when I click on "Select None" link (I'm using better_exposed_filter m...
I have been running drush scripts (for drupal) with cygwin on my relatively fast windows machine, but I still have to wait about a minute for any drush command (specifically drush cache clear to execute).
I'm quite sure it has something to do with the speed of cygwin since my fellow developers (who are running linux) can run these scri...
I recently wrote a theme function to add a class to my primary links that works great. I then wrote some css classes to style these links with custom background images. Worked out great. Now comes the problem, the link text for the primary links still is displayed. Normally this isn't a problem as I would just wrap the in a with a ...
I have mastered creating custom data types and adding fields with CCK. Then I created and deployed a custom module with _form and _validate and _submit hooks.
I am not happy with the amount of massaging required with css and permissions to make the form usable, but this is not my question.
Now I would like to create a more sophistica...
I am a user of an OpenAtrium site, but not the admin. On average it takes anywhere from 7 - 11 seconds for the front page to load. Going from page-to-page takes about 7 seconds.
I am not really a Drupal admin and I definitely do not have access to the host control panel or anything for this particular site.
The admin has mentioned so...
I'm terribly new to web development. I'm trying to make a pretty simple site with a friend. My friend has taken the time to design the layout for our site, and we have things looking how we want in a static HTML page.
What I'd like to do now is move over to a Content Management System like Drupal but keep the same design that we have ...
I'm wondering what is the markup pattern of DRUPAL. I know that the site is running in Wordpress when I view it's mark-up and see /wp-themes, or in Joomla it uses /templates /administrator (for admin page eg. site.com/administrator).
...
When using the date and views module, you can specify in views (using row style fields) 'group multiple values'. Which is default on.
If you turn it off, you get multiple nodes each with a date. For example:
- 24th March ------- node1
- 25th March ------- node1
What I'm trying to figure out is: what if you are not using fields but nod...
Drupal Question:
Does anyone have a method of using Views and highlighting a selected/current node.
So for example:
I have a list of articles under a heading:
2009 Articles
Dog Training
Cat Cleaning
Snake Wrangling
The 3 articles are made from the view (ie: latest articles from 2009)... as the user makes new articles, they are a...
I am looking for a recipe for adding Drupal node records.
I have identified three tables.
node_revisions
nid=249 - vid + 1?
vid=248 - auto-increment
node:
nid=250 - vid + 1?
vid=249 - auto-increment
content_type_my_content
vid=248 - from node_revisions table?
nid=249 - from node table?
Am I on right track?
Is there some helpe...
I use the Remote File module for a cck field displaying a remote image. It works with a known issue: images are reloaded on every edit http://drupal.org/node/395256
And as i do tests with lots of nodes and delete them afterwards, the images cached in filesystem become deleted too. Is there a way to tell filefield(?) not to delete them?...
Hi. I need to run a php code snippet in a Drupal template and not have it cached.
The php snippet sniffs for a cookie and if found returns one of messages according to the cookie value.
ie:
if(isset($_GET['key'])) { $cookievalue = $_GET['key']; }
if(isset($_COOKIE['cookname'])) { $cookievalue = $_COOKIE['cookname']; }
switch ($cookie...
I am working on a Drupal site with a few friends. Obviously we can Version control the code... but what do we do to keep each others databases in check?
I have managed to get all the theming into files (contemplate etc), but ideally my views settings, menu settings would be in line also... (Not worried about Content either way as we're ...
I need to increase max post size and upload size for php to use the audio module of drupal. I read this has to be set in php.ini. However I don't think I have access to that file in lunar pages. I also read it can also be set in .htaccess. However it doesn't change anything.
I tried:
php_value post_max_size "40M"
php_value upload_max...
I have a menu with two levels, the second level shown in the secondary menu.
How can I open the second menu level programmatically from pages other than those linked in the menu?
I've looked at theme_preprocess_page and others but can't figure out how the change the menu item state from collapsed to active.
...
I am building a website www.etutornetwork.com, in top menu I have included a link to a new content type [services]. I want to add a link in dropdown menu as soon as I publish new content in services.
Please Help, Thanks in advance.
and one more question, I dont want to give any name to one of the menu in the site. I tried using or leav...
I'm currently learning about the Drupal email functions, such as drupal_mail and hook_mail, and hook_mail_alter, and I have a problem before me where I'll need to be able to queue emails for delayed delivery. For example, an event signup notification that needs to wait for an hour after the event was registered by a user. And that emai...
I'm trying to create a view of nodes and their translations. Specifically, I want each row to show the node title for each language.
The way I'm doing it right now is by filtering the view by a specific language, then adding one relationship of type "Node translation: Translations" for each language on the site. I can then choose the "N...
I've got a Drupal site which uses a custom field for a certain type of node (person_id) which corresponds to a particular user. I want to create a view so that when logged in, a user can see a list of nodes 'tagged' with their person_id. I've got the view working fine, with a url of my-library/username but replacing username with a diffe...