


Printmail Form inside Colorbox
I am actually trying to load the printmail form inside a colorbox. But when I am trying to build up a link like this: <a href="/pages/demo/printmail/64?width=500&height=500" class="colorbox-load init-colorbox-load-processed... read more
Insert grid of images into about page
Im new to the forum Hope you are all well? I have a really simple thing I want to do with drupal but for the life of me I cant seem to get it right (I’m a beginner with drupal) So I have an about page, and I add the body to the page. But what I want is to add... read more
Implement boolean search in apache solr search
I am working on Apache solr search. I want to implement boolean search in apache solr search. On google i found following article and many more articles. I have also seen the hook_apachesolr_query_alter but i have no idea how to implement the apache solr alter... read more
Multipage Registration form, Confirmation Page Security Issues?
I have a multipage registration form working on a site, but the confirmation page is supposed to show some of the information (account name and other data) after the account has been submitted/created. I can treat this confirmation page as the last page of the... read more
Profiles-2–user-edit-page
I made my custom user-profile-edit.tpl.php using function mytheme_theme($existing, $type, $theme, $path) { $hooks[‘user_profile_form’] = array( // Forms always take the form argument. ‘arguments’ => array(‘form’ => NULL),... read more
Which migration class should I extend to migrate user accounts?
I want to migrate users from a Drupal 5 site to a Drupal 7 site. I installed the Migrate and Drupal-to-Drupal data migration modules. I know I have to make a custom module extending the built in classes of migrate_d2d module to migrate users. Which migration class... read more
How to create a view to display event registrants?
I’m having troubles setting up a View that displays a list of registrants (not registrations!) for a particular event. I don’t know how to setup RELATIONSHIPS correctly? (I have already created a view that displays all registrations for a particular event,... read more
Views partial Contextual Filter on username
I have a view of users with a contextual filter for username which works great for whole usernames, but I need to allow this to work with partial names, or specifically whole words (userames are full names with spaces in this case), so if someone search for... read more
Views to use relative paths for image fields
How can we tell views to use relative paths for dispalying images using image fields. I have created a views slideshow which is displaying images using absolute url which is causing the images to reload on each page load. facing the same issue in other type of views... read more
Why this code doesn’t send an email with drupal_email()?
I am developing a Drupal 6 module that should send an email after a form is submitted. So far, I wrote the following code. function mailform_mail($key, &$message, $params) { $headers = array( ‘MIME-Version’ => ‘1.0’,... read more
How to theme PDF generated by Print module?
I would like to theme the PDF generated by the Print module. I would like to add header, footer, margins, border to the generated PDF. The certificate module in Drupal provides theming to the certificate, but my site is almost like a read and get certified site, so I... read more
How to hide the "Add comment" link in the teaser?
I don’t want the Add comment link displayed in the teaser. But the comment form should be displayed along with the content of the node which forms a part of a page. Edit: I don’t have access to the php code. I want to do it through the admin console. Is... read more
Altering the type of a menu item to local task (tab)
I’ve searched for hours but I can’t find a good answer on how to alter the type of a menu item to local task (tab). The private messages 7.x module (when aided by privatemsg_filter) exposes the following tabs (local tasks): Inbox (/messages) Sent Messages... read more
How can I override the default forums and container pages with a view?
I need to override the default pages that come with forums with views. I need to still include the default info as per the screenshots. I can’t seem to get the right relationships and the correct aggregation for the counts. Any insight would be... read more
How can I enable HTML output for checkbox options?
I am adding theme styling settings and I would like to have associated color to the checkbox in themes setting form. So far, i haven’t been able to do so, because the output strips inline styling and then external styling is being reset for the admin view. How... read more
how to rewrite field in view
I have following Html code, I want to rewrite two field .1st is [field_poster_hover_image] and 2nd is [field_team_image] .This is my HTML Code. <div class=”thumb thumb-type-1″> <a href=”post-page.html”... read more
How can I set a view not to use the path previously set and be able to save the view?
I have some views I am not currently using. I want to disable the path, or leave it as No path is set. All I get is the following message. Display "VIEW" uses a path but the path is undefined. How can I set a view not to use the path previously set and be... read more
Why does a header set via drupal_set_header() revert to text/html?
I’m using the views_rss module in Drupal 6. Whenever I build out a View using this plugin, the following header is sent in a template_preprocess function: drupal_set_header(‘Content-Type: application/rss+xml; charset=utf-8’); This seems to be... read more