hi,
I'm using Views in Drupal to show node teasers. I would like now to show the complete node on the left side of my page, nearby the Views, and update it when the user click on a different teaser (better using AJAX).
what's the best method to implement it. I was considering to use a lightbox, but it a bit complex (a lot of complicati...
I have a Drupal (v6.17) Content Type which includes a Taxonomy field. I want to hide this from ordinary Authenticated Users, but want it available to my Site Contributor role users, so they can review and then assign tags to user-created nodes.
I've tried overriding the Node Add/Edit form in Panels 3 by creating a panel variant especia...
I'm using views_get_view_result to directly access the data in a view. I've stumbled upon this odd behavior where cck fields are prefixed with the first field name as a query optimization. Explained here.
What's bizarre though is that fields are named differently depending on whether I retrieve that data as Anonymous or as Admin. I'm...
hi,
is there any callback function for lightbox2 in Drupal ?
I need to trigger some functions when the lightbox content is ready
thanks
...
Anything specific I need in the module file?
Install File
function module_install() {
//lets create the school database
$create_table_sql = "CREATE TABLE IF NOT EXISTS `table1` (
id int(11) NOT NULL,
principal_name varchar(300) NOT NULL,
school_name varchar(300) NOT NULL,
address1 varchar(300) NOT NULL,
address2 varchar(300)...
Subject for advanced views theming:
1) Create CCK integer field "field_checkbox" - Single on/of checkbox
Allowed values
0|No
1|Yes
2) In views row-style .tpl
<?php print $fields['field_checkbox_value']->content ?>
doesn't print any value, why?
Other fields output fine.
Thank you in advance!
...
hi,
can I easily move my drupal installation from Apache to Microsoft server, or I do need to run the install.php script and reinstall all modules ?
I'm having troubles to connect it to the database, that's why I'm asking. (I get technical problems without specific error messages)
thanks
...
$form_state['values']['field_prx_mp3_labels'][0][value] = $mp3_labels;
$form_state['values']['taxonomy'][0][value] = array('tags'=>array('1'=>'Music'));
$errs = drupal_execute('prx_content_node_form', $form_state, (object) $nodeTmp);
This is a Drupal 6 site. I am using drupal_execute to create a node programatically. The f...
The website has a normal registration form which allows users to register and the likes.
I have created a new custom form in which I am capturing the username/password etc. How do I manually register the user in Drupal system?
Thank You
...
hi,
I'm running Drupal on IIS server 6.
I'm having an interesting error to upload images into my node. I get "png" is not a known file.
See image:
http://dl.dropbox.com/u/72686/pngError.png
But I've added png (default settings) to the allow image files list, and indeed you can see in the same image, that png is an allowed extension....
have a general idea on how to use hook alter to modify the feel of the registration form .
However the challenge I have is to not only have the user register, but to save some extra data into another table and then redirect user to a new page.
How would I get about doing that? Please help
...
What I want
I have several OG groups in which content can be published. I would like to display which OG groups a node has been published for when viewing the node page. Like in "This page is published for: Department A, Department B."
The code snipped below shows the data I have in the $node object in node.tpl.php. This data is gener...
I have a new version of a Drupal 6 module. In the new version, I have added a new dependency in the .info file to a views utility module I've created called lib_views.
However, lib_views may not be enabled when my module is upgraded. If it's not, then upgrading my module causes an irretrievable crash, because views fires a hook that inv...
So I think I am almost there conceptually but need some missing pointers.
Objective is to add a few more fields to the normal user registration form, style it a little, then submit it with storing the extra fields in a table.
This is what I have so far. Can someone give me the final nudge and get me going. Please help me. Also how do I...
This is Drupal 6.x and am having a nightmare of a time to modify a simple drupal form. This is a module file.
function modulename_menu() {
$items = array();
$items['school/registration'] = array(
'title' => 'Registration Form',
'page callback' =>'drupal_get_form',
'type' => MENU_CALLBACK
);
return $items;
}...
Trust me I have tried Googling it but I am just not getting a clear grasp.
Thank You.
...
I have a default user registration form that cannot change. However my boss wants a second registration form that is laid out differently than the first. I am new to Drupal so some explanation would be great.
Thank you in advance
...
I'm putting a Drupal project on an open source hosting site. What files do I have to not put up there so I don't compromise my site's security?
Various settings.php comes to mind. And obviously the database itself won't be in a repository. Anything else dangerous?
I'm running Drupal 6.
Also, it'd be nice to get the database itself und...
I am working in drupal 6 And I want that in particaular menu it show only 3 item whenever new item is added earliest must be disable.And it show only latest 3 item like in news only it show only latest news and last one is removed.note: It does not apply on all menu.
please help me out.
...
I need a view to refresh automatically every 20 seconds, and have added the following code to the view header via the views GUI - with no success. The code (or portions of it) are simply displayed on the view and no updating is performed. I've tried omitting both and just the ending ?php statement. If someone can tell me the proper code ...