I'm running Drupal 6.14 and my back-end complaints that I need to upgrade to 6.16.
How can I do that? Do I just replace my php files with the new ones? Is there an update script?
I have created one custom module in drupal.In that module i have a form for adding some products details.For adding image i have downloaded and enabled the image upload module.
But my problem is how i can integrate the file upload module in my custom form.
Thanks in advance.
i Have three multiple mox with category , subcategory and sub , sub category box .
kindly help me how to get dat from dynamically from database in drupal form.
without page reload
Hi Guys,
Here is my problem. I have a site in drupal and some menu structure. When the URL address is application/android/all android menu item is highlighted. However, when the URL address is application/android/16 android menu item is not highlighted.
My question is how to make everything that starts with /application/android/ to have highlighted android menu item?
Cheers,
Mladjo
What is the best method for including a CSS or Javascript file for a specific node in Drupal 6.
I want to create a page on my site that has a little javascript application running, so the CSS and javascript is specific to that page and would not want to be included in other page loads at all.
What is the simplest way to get started with debugging and hit a specific line in a Drupal install?
Generally?
With Eclipse? (how difficult?)
On Windows, knowing and having access to Visual Studio (How Difficult with Visual Studio?)
(No Pay: Free or trial)
Does anyone know off hand what order Drupal executes it's _cron hooks? It is important for a certain custom module I am developing and can't seem to find any documentation on it on the web. Maybe I'm searching for the wrong thing!
Any help?
Jeff
im new on drupal and want to make a menu for a restaurant showing all the dishes with photos, prices and descriptions in categories (japanese food, chinese food etc).
i wonder if there are some great tutorials or modules for this?
i cant find any on the web.
thanks you
hi,
is there any plugin for Drupal, replacing tags with small icons (see the picture below, the icons are actually small circles, and the different colors are automatically generated.
I need to replace the tags with the circles, for each node, and the starting view.
Furthermore, when the mouse move over the tags, the tag title should appear as pop-up
thanks
I am trying to attach an 8M .wav file to a "story" in drupal. I can attach similar smaller files, but when i try this one and larger sizes i get in HTTP Error 0 message after a minute or to. I have checked all my max upload, Max Mem sizes they are set at well over 8M at 64M and 256M. Anyone else have this issue uploading files ever?
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;
}//end of the function
function modulename_school_form_alter(&$form, $form_state, $form_id)
{
// dsm($form_id);
if ($form_id == 'user_registration_form')
{
// modify the "#submit" form property by prepending another submit handler arra
$form['#submit'] = array_merge(
array('_modulename_registration_submit' = array()),
$form['#submit']
);
}
}
I installed drupal-6.16.
I applied the patch from the post http://drupal.org/node/222926#comment-930745.
It works correctly in simple cases.
But for following code for counter is handled incorrectly:
<br><br>
Text
<br><br>
<!-- counter.1Gb.ua -->
<script language="javascript" type="text/javascript">
cgb_js="1.0"; cgb_r=""+Math.random()+"&r="+
escape(document.referrer)+"&pg="+
escape(window.location.href);
document.cookie="rqbct=1; path=/"; cgb_r+="&c="+
(document.cookie?"Y":"N");
</script><script language="javascript1.1" type="text/javascript">
cgb_js="1.1";cgb_r+="&j="+
(navigator.javaEnabled()?"Y":"N")</script>
<script language="javascript1.2" type="text/javascript">
cgb_js="1.2"; cgb_r+="&wh="+screen.width+
'x'+screen.height+"&px="+
(((navigator.appName.substring(0,3)=="Mic"))?
screen.colorDepth:screen.pixelDepth)</script>
<script language="javascript1.3" type="text/javascript">
cgb_js="1.3"</script>
<script language="javascript"
type="text/javascript">cgb_r+="&js="+cgb_js;
document.write("<a href='http://www.1Gb.ua?cnt=1416'>"+
"<img src='http://counter.1Gb.ua/cnt.aspx?"+
"u=1416&"+cgb_r+
"&' border=0 width=88 height=31 "+
"alt='1Gb.ua counter'><\/a>")</script>
<noscript><a href='http://www.1Gb.ua?cnt=1416'>
<img src="http://counter.1Gb.ua/cnt.aspx?u=1416"
border=0 width="88" height="31" alt="1Gb.ua counter"></a>
</noscript>
<!-- /counter.1Gb.ua -->
It modifies the string
"alt='1Gb.ua counter' /><\/a>")</a></script>
to
"alt='1Gb.ua counter' /><\/a>")</a></script>
Does anybody have this code working?
If so how this can be fixed?
Thanks a lot in advance!
I've been reading about Drupal theming and preprocess functions and noticed they listed engineName_engine_preprocess & engineName_engine_preprocess_hook in the order of preprocess functions but I'm not entirely sure what the engine layer is? I understand about the core, includes, modules and themes.
Many thanks
How can I order the nodes alphabetically in my Drupal back-end ?
I cannot sort the columns by clicking on the headers unfortunately. Should I hack the code or install any plugin ?
In a Drupal 6 module, the hook_form function is used to generate a create/edit form. How do I create different forms for create and edit instead of using the same form for both?
Hi Guys,
I'm trying to theme a modules output.
In particular i'm working on http://drupal.org/project/service_links
Any idea how that works?
Thanks in advance!
I have a node in Drupal with a few comments. Is there an easyish way to get the CID of every comment within the node? Also, is there a way to sort them by various parameters, chronology, karma of the comment etc. Thank you.
This is a follow up to my previous question: http://stackoverflow.com/questions/1284476/where-does-drupal-store-node-body-content
Now, I tried adding values into node and node-revision, but still the node data is not showing. So, obviously more data is stored somewhere else. So basically, I want to know, which tables are affected when you create a new node?
I have a drupal site where all the views and times associated with nodes are off by 1-hour.
-I checked the server time, and it is correct
-I checked that my admin user (uid 1) had a zero in the timezone offset
-Checked all CCK date fields in question to make sure there was no timezone handling
Yet still when the admin user views nodes, there is a 1-hour offset.
Is there some sort of system variable - or something else I haven't checked....?
hi,
Drupal cannot create the "files" folder. I tried to upload a php script with mkdir("files",774) but I get a permissions error, so basically any php script is not able to create a folder on the server...
What do you suggest ? If I create the folder manually from ftp client and I assign 777 permission everything works perfectly, but it is not safe solution.
hi,
can I order alphabetically the tags in my edit content pages ?
See screenshot here:
http://dl.dropbox.com/u/72686/tagsOrder.png
Currently the order is given by the Taxonomy Manager module (I installed in my Drupal).
I would like to know if I should use jQuery to order the tags in my back-end pages.
thanks
I'm try to use drupal open id module. When i used to login using any provider id(yahoo,google..) the step it goes to registration page of my site. My question is how to populate details of the user to my form without additional burden to the user ?. For ex name,email-id etc. Is there any module associated with it ?
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 created one module in drupal name as newmodule.I use form alter to alter user registration form for adding one field location.When i submit the form, how i can get the value of the new field which i created .