I want to create website.I have installed drupal in my system.I have downloaded some themes.created menus and contents also.How can i connect content pages to menus.
All default drupal menus will remain same?how can i display only newly created menus.
Is it possible to alter images??
Please let me know the answer as soon as possible.
...
First, I apologize the title is so vague. Its hard to explain what I want to accomplish. Anyhow, I want to build a template that requires a pool of nodes (Content Type A) to be presented along side the main content of a page (Content Type B). This Content Type A could be seen as a box if you like. As you create a new page (Content Type B...
I am using a hook form alter to override the registration process. I want to assign a custom role that i have defined to the new user. How do i get about doing that?
I see that there is a users_roles table. Would simply making an entry in it with the user id and role id do the trick?
Thanks
...
For example I have a role called "teachers". For any user that belongs to that role, I want to be able to display a custom profile that is different then the main one. I read at some place that one can make a tpl file in the pages folder of the theme and some how it could be made to show for specific roles or URL path.
Would anyone care...
I m trying to make a form in Drupal where one of the dropdowns shows values depending on another one. In my case where I m making a form for some student program, I need to ensure that the options available for 'areas of interest' depend on the 'department' the user selects. Can anyone suggest a way to do this. Anyways, I was using 'webf...
I've got a view that filters by year. The year is a normal text CCK field on the content type. I've exposed this field in the view, so that the user can type in a value for it. E.g. 2010. It will then show all the content types with the field set to 2010. My problem is, I don't want the user to type in the value. I want to change that te...
I have the following code in a custom module to save a session_id for comparison after logging in. I want to add it to the user object, so I called hook_user like so:
function mymodule_init() {
global $user;
if ($user->uid == 0 && !isset($_SESSION['anonymous_session_id'])) {
$_SESSION['anonymous_session_id'] = session_i...
hi,
what's the point to have hook_mail_alter if I already have hook_mail ?
For example, I saw that hook_mail_alter is used to add a footer to my mail message. But I could use hook_mail to add it, instead of using 2 functions... what am I missing ?
Maybe it is done to add the footer after some other function is invoked ?
thanks
...
I'm using both the contemplate and subscription modules in Drupal and I'm noticing a problem. If I enable the template editor provided by contemplate for my posts, then the subscription widget goes away. I looked at the body variables listing in contemplate and didn't find any vars I could use to restore that widget. Does anyone know how...
Could anyone tell me how to create a dynamic link in drupal?
I want to create a link to a group membership list. I have created the view with the argument. How do I create the menu item link to the view? It will be different depending on the group.
Thanks
...
I have a node type (reviews) that uses CCK to refer to another kind of node (either books or videos). Is there a way for me to use Views so that I can show only Reviews of Books or only Reviews of Videos?
I've tried creating a Relationship in the View and using a parameter, but that doesn't seem to work.
...
I am using fivestar rating module with Drupal Acquia Slate theme. This rating system works with both javascript enabled and disabled. In first case you click on the star and the voting is done, in second case there is a button with 'Rate' label and a dropdown list. The problem is that with js enabled there is a 0-width empty button that ...
How can I create a site like http://www.eventbrite.com/ in drupal.
If its not possible in drupal what should I probably use.
More specifics --
Users can add their own events, add pricing. Out of that pricing the website can keep a certain % say 5%, when users purchase tickets. The commission can be on per event basis and cannot be ch...
I'm looking at these two modules for a "Related articles" style listing:
Similar by Terms
Similar Entries
Any opinions on either of them? I have a tag system set up so searching by terms would be fine, but it hasn't been updated as recently as the other module. How reliable is "Similar Entries"? Anyone have any field experience with ...
Hey there,
I'm building a custom module in Drupal 6 which display a block with a form and some other elements like text and images. When it's submitted, using AHAH, some logic takes place in PHP and then the result is passed to JQuery which will update the elements in the block. Mainly a few images and some text.
I can't wrap my he...
I have a set of existing nodes for a content type ('foo'). Since then I have installed the Automatic Nodetitles module, which has helped tremendously, since I no longer need to work hard to make standardized names for each node of that type. I have used Automatic Nodetitles in conjunction with Tokens to create an automatic title naming p...
I have a Drupal site that is running slowly. What are the best ways to trouble shoot the slowness? Each page load takes ~11 seconds. Once the page has been accessed once it is cached and is fine.
How do you increase performance for anonymous and logged in users?
...
Hi everyone,
I need to make a drupal migration from 5.1 version to 6.17 or greater. Really, we will appreciate any type of help
...
I have finished my theme for drupal, was working fine but with no site name and slogan on but when i turned it on something gone bad my footer has got spaces in it, one on top and one on bottom if i turn them off gap is still there, I don't know what is happening no margin's set.
Any suggestions.
...
I've been using the Batch API successfully to do processing that would normally lead to PHP timeouts or out of memory errors, and it's been working nicely.
I've looked through the code a little, but I'm still unclear about what's happening behind the scenes.
Could someone familiar with the process describe how it works?
...