One of my developers wanted to override some functionality of the core user module. He made a copy of the core user module and placed it in the sites/all/modules folder. Something in the functionality screwed up and now I am not sure how to uninstall it. I have tried deleting the module from the sites/all/modules folder and it now crashe...
I have a module with four node types declared. My problem is, hook_load, hook_view is never called. I used drupal_set_message to find out if certain hook is being called. And I found out hook_load, hook_view isn't. Just to give you clear picture, here's my structure of hook_load
HERE'S UPDATED ONE
function mymodule_node_info(){
retu...
I was experiencing an odd problem where blocks were not showing up on a site. After a lot of spelunking I have found that block.tpl.php is not getting called/discovered.
Looking at the suggestions that the theme engine is trying to find it looks like the most general template it will look for is block-MODULE.tpl.php - ie if I set up sy...
I'm currently building a site where I want anonymous users to see a page which talks about what the site is about, but shows no content. It only offers two options
Register
Login (username & password field)
Once the user logs in, they should be redirected to a specific frontpage.
I tried using drupal/front module, but that did not ...
I'm using CCK FileField (and CCK VideoField) in my content-type.
I get 'Access violation' error message (after several minutes uploading) when I upload big videos (let's say.. 18MB). (The Access violation is a server message I guess.. or PHP error message..
My PHP Post max size is 100M so I guess this is not the issue.
What could be t...
How can I in Drupal define that menu item link is available only for registered users, and not for users that are not loged in?
...
I have setup a Drupal site and will work with a designer to customize some webforms. Is there any tutorial out there which can help a designer (he also knows some PHP but not a programmer background) to get started? I hope he can learn how to:
add fields
theme the form
Thanks~
...
sys info: drupal 6 installation, with tons of modules... too many to list.
the problem: only a certain content type will not load it's template file correctly. some nodes that would be displayed on these pages through views are making it to the markup. they are the only content that gets loaded. the template file that this content falls...
what are the best security features (settings,modules) provided by drupal according to credit card transaction?. Do you have any additional prevention techniques .If possible post important and necessary setting points also please.
...
Hi,
I am working on a specific case where the user authentication is external from the Drupal site. The external site will authenticate the user and return the basic user related data to the Drupal system.
The catch here is that, we are not supposed to have any user data in the Drupal DB. I have checked the user_external_login_registe...
Hey everyone !
I'm developing a Drupal website,and in my add node form, I want the file upload fields (created with FileField) to be displayed in a thickbox-style popup. You just click on a "Add attachments" link, the popup comes in, and allows you to add the files. Then you close it, and submit the form normally.
Anyone knows of a nic...
I have created a custom content type and using views2 for creating various page-views. I have used a taxonomy (having 4 terms, say "A", "B", "C" and "D") for broader categorization of this content type. There are 4 other taxonomies corresponding to each of the above terms "A", "B", "C" and "D" called "Taxonomy-A", "Taxonomy-B", "Taxonomy...
My site has news articles that I want to add to the sub-nav under "News" as years.
News
2010
2009
But I only want the current year and 1 previous year. And I need it to happen automatically.
I know how to create a page view that will only show news articles from the previous year, I just don't know how to change the Menu & Node T...
It is the first time I'm using SSL for a Drupal-based e-commerce shop.
I need to enable SSL only on the web shop pages, I've found this module for this: Secure Pages.
However I need to know what are exactly the steps I need to perform... should I first
1) Buy SSL certificate at hosting service
2) Enable it.. (Hosting services usually...
This seems like it should be simplpe so if someone has a link that answers this I'll be happen with that and if this should be posted somewhere else please let me know.
What I'm trying to do
I am trying to install Drupal in a sub folder, and just have it work in the sub folder.
www.example.com/drupal/ so when i go to www.example.com/dr...
I'm currently working on a Drupal site (I'm fairly new to Drupal) and need to be able to create some blocks of content that appear on multiple pages and remain consistent between those pages. I'll need it so that if I change the content in one place, the change will be reflected in all places it appears.
I've looked around in CCK a bit...
I am using hook form_alter and setting the $form['#redirect'] = 'dir1/dir2/mypage'. But the form refuses to go there.
Form seems to work otherwise, but keeps sending back to the original form instead of the redirect.
The form I am altering is from the root user module.
mymodule_form_alter( ){
... code...
$form['account...
I have a form created from another module. I want to add 2 fields to that form: 1. email, 2. password. I think I can do this with hook_form_alter. Then I would like to create a user account and log the user in when the submit button is clicked, then go ahead and execute the action defined by the form.
The original form doesn't have a #...
In Drupal 6, I have created a simple Pricing CCK compound field module with a "cost" and a "product" sub-field based on this excellent tutorial: http://www.poplarware.com/articles/cck_field_module
function usginpricing_field_settings($op, $field) {
switch ($op) {
case 'database columns':
$columns['cost'] = array('type' => 'v...
I am trying to remove the default lightbox.js file coming from the Lightbox2 module, by using template.php, and load in my own. I would like to do this via template.php if possible, and not place this code in a custom module. I am adding my javascript file, then unsetting the module javascript file. The problem is $vars['scripts'] isn't ...