I have a new client that I am converting over to Drupal from Wordpress. We have two domains with the same name but different TLDs i.e. .com & .org. We have decided to start by setting up the site first under the .com so we have a live site to play with during the development.
So we currently have a wordpress site running on the .org an...
I'm trying to modify devel generate module to prevent it from generating content by users who don't have the permission to generate this content type.
Problem is I'm fairly new to drupal so I'm not familiar with its hooks. Can someone give me some hints how to approach this.
http://ftp.drupal.org/files/projects/devel-6.x-1.20.tar.gz
...
Hello all,
I don't have experience in php. I've followed a few tutorials to modify my Drupal forms using the theme method in template.php.
For some reason the [#weight] property for a field does not adhere to its values. I'd like to move the Category field [cid] above Subject field [subject]. These are the lines of code I used:
$form[...
When submitting a message in my site-wide contact form in Drupal 6.x I get the following message along the top of every message:
[Name] sent a message using the contact form at [www.mysite.com/contact]
I would like to remove this message. Looking around, I've found it comes from the contact.module here:
$message['body'][] = t("!name ...
Can I change node ids (nid) in mysql tables in order to update the IDs of the nodes in Drupal ?
In other terms, if I change the nid (paying attention to keep they unique for each node) in the 'node' table, directly from phpmyadmin, am I going to introduce bugs ?
thanks
...
I'm experimenting with asynchronous loading objects to speed up drupal. For this, I'm using the authcache module, together with ajaxify regions. So far, I've come a long way by adding regions on the node page, and load blocks to the region with ajaxify regions. This has got me almost all the way with great speed and only a little lag for...
I have installed and configured User Profile module, which allows me to add fields like First Name, Last Name for users.
As of now, when I go to users list at /admin/user/user I see username column. How can I can add these extra fields in the column?
...
My site was working fine until I followed this guide, http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-ubuntu-9.10 to set up mod_fcgid and php5.
My php.ini in every place has a memory limit of 96MB. The front page of my site (which is Panels / Views) still states, even after flushing cache, and disabling the re...
Anyone aware of a CCK module that adds a text field that's just a randomly generated number?
This means that when the user tries to create a fresh node, he sees a pre-populated random number as one of the fields (and can't change that field)
...
I'm trying to add extra security to my drupal site. I removed the login block, but it can also be accessed through http://mydrupalsite.com/user
It's still needed to allow the admin account in, but is there a way to protect this single page with htaccess or something more robust than what drupal allows out of the box?
...
Can I send my user back to the previous page when he logins in Drupal ?
He can login from different pages in my website. There is not only one login node. I would like to send him back to the page where he was.
Thanks
...
I have a node which references other nodes.
If I give a user custom access to this node, how do I set it up so that he automatically gets access to those other nodes as well?
...
Im building an online community with Drupal
Ive got the logintobbogan module installed which allows the user to login with username or email address
I dont want users to have to select a username, is there any way I can remove this option, or have it automically chosen/hidden
I will add fields for Firstname and Surname to the profile ...
hi,
I'm using a forum with several topics and node comments module to add comment nodes to the topics.
I'm importing an external database and adding the relationships directly in mysql to the node_comments table.
However before to see the comments of a quesition I need to add a random comment in drupal to this question. Which is proba...
Hi,
Instead of asking for help when hitting the iceberg, now I can see there are probably several approaches to what I need to achieve, so I am asking for your opinion: what would you do?
I need to create a timeline in Drupal. The timeline has 3 layers: decade (30s, 40s, 50s ...), year and events.
I will be registering several events ...
The error I get is:
$ is undefined
Line 8
which is:
$.colorbox({html:'<p>TEST TEST</p>'});
This is how the page renders:
<script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery.min.js?Y"></script>
<script type="text/javascript" src="/misc/drupal.js?Y"></script>
<script type="text/javascript" src="/sites...
I'm using drush, which supposedly can be used instead of a cvs program to checkout from the drupal repository.
All tutorials I've found don't mention drush, instead they start with cvs.
cvs -z6 -d:pserver:anonymous:[email protected]:/cvs/drupal checkout -d cms -r DRUPAL-6 drupal
How do I change this command so it's compatible ...
Hi,
I created a page view where it lists all nodes grouped by content types. My problem is how to create a page which will only output the view, I mean without the headers, sidebars etc.. just the view content? My reason for doing this is I would later call the view / view page in an AJAX request and display to the user.
My view name i...
I have a filter on a CCK field called "Region", I have exposed it with a drop down box
What I want to happen is to use this as an "Order By" functionality, so that if the user selects a region, it will order the output with the selected region showing first.
This is so that if there is no content in a given region, it will at least dis...
I have a cck module that currently does this
User enters and saves username for a third party website on the module settings page
User adds/edits a node
When user gets the add/edit form, their username is fetched from settings, and is used for an api call which fetches some data, this data fills a select on the form.
User selects somet...