Drupal Panels
more_horiz
close

on 02nd June 2015 / by sarika.k
The Drupal panels helps the admin users / site owners to create a customized theme layout for multiple users in the site. This will help you to integrate with modules and can created the functionalities with the modules that use the panel features and permissions. Below a brief explanation on how to configure panels in Drupal. Install Panels module and goto Administration > Structure > Panels Select Mini panels. You can see four menu links:Settings » Context » Layout » Content Give the panel name and description. Skip context and continue. From layout select the layout needed. In Content section you can choose tyle type ie can either add title or hide title. Add the contents to the layout chosen from Layout menu.You can also change styles. Click finish to save the panel. Goto Administration > Structure > Blocks You could see the created panel with the prefix Mini Panel as Mini Panel:"panel name" Enable the block and add to the required region. Drupal Drupal Panels Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 31st March 2014 / by sreelal.mu
Panels in drupal is a very usefull feature for displaying the contents in a well organized manner. The site administrator will have full control over the panels.Creating panels via User interface is not a complex task. But there may arise situation when you need to create this via code. This article explains how to achieve this via code. Creating a custom content pane using the ctools content type. Step 1) In the custom module implement the hook_ctools_plugin_directory , to know where the ctools plugin is actually stored For eg : A custom_module {sites/all/modules/custom/custom_module/custom_module.module} file should implement hook_ctools_plugin_directory() function custom_module_ctools_plugin_directory($module, $plugin) { if ($module == 'ctools') { return 'plugins/' . $plugin; } } This is to let the system know we implement plugins. This will search for the content types in the directory plugins/content_types Step 2) Create a directory named plugins in the custom module {sites/all/modules/custom/custom_module/plugins) Step 3) Create a sub directory content_types in the plugins directory {sites/all/modules/custom/custom_module/plugins/content_types} Step 4) Next is to create a content type. Create a file with extension .inc for eg : example_pane.inc ie, content_type_name.inc. This is the content type. Each content type must have unique name , so it is better to name the module name as the content type itself if our module has only one ctools plugin content type. Step 5) In the file example_pane.inc we can write the call back function to supply the list of the content types. ie, the Implementation of MODULENAME_FILENAME_content_type_ctools_content_types Here is an example : function custom_module_example_pane_ctools_content_types() { return array( 'single' => TRUE, 'title' => t('Example Custom Content Pane'), 'description' => t('Example Desctiption'), 'category' => t('Example Category'), ); } Here category defines where our content type shows up in the "add content" dialog. If it is not previously defined ctools will create a new one. Step 6) Next is the Implementation of MODULENAME_FILENAME_content_type_render Eg : function custom_module_example_pane_content_type_render($subtype, $conf, $panel_args, $context) { $block = new stdClass(); $block->title = 'Example Title'; $block->content = 'Example Content'; return $block; } This function will return the content that is to be displayed in the panel. Happy Coding. Drupal Drupal 6 Drupal Ctools Drupal Panels Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 27th February 2013 / by webmaster
A few Drupal users had reported that the Panels of Organic Groups disappeared after upgrading to Organic Groups 7.x-2. If you are facing the same situation in your Drupal website with Drupal Organic Groups then read on to find out the solution. This is a known issue with panels when upgrading Organic Groups and the only solution to fix this issue is to recreate the panel pages manually. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1906482 Drupal Drupal 6 Drupal Issues Drupal Panels Drupal Organic Groups Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 21st December 2012 / by webmaster
A Drupal user wanted to know how to access '/node/%nid/webform/components' in panels. If you are facing the same question in your Drupal site with regard to the Webform module then read on to find out the possible solutions. The solution is to install the Drupal Panels Everywhere module. It can take any page and turn it into a panel. The original content of that page will become a pane in the new panel. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1782556 Drupal Drupal Issues Drupal Panels Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 20th November 2012 / by webmaster
Many Drupal 6 users have reported that they could no longer control styles after upgrading the Panels module in their Drupal installation. If you are facing the same issue in your Drupal site then read on to find out the solution. Currently the only solution is to patch the Panels module with the following patch. http://drupal.org/files/1412158-administer-panels-styles-d6.patch or wait for a new release with the commited patch Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1412158 Drupal 6 Drupal Issues Drupal Panels Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 20th November 2012 / by webmaster
A few Drupal users had realized that after a Panels update the block visibility rules they had specified previously for the blocks that were to be displayed in Panels were no longer working. If you are facing the same issue in your Drupal site then read on to find out the solution Go to the ctools/plugins/content_types/block/block.inc We need to edit one of the lines in the hook_block_list invocation. Comment out line 105. It should look something like this drupal_alter('block_list', $block_info);You should see your visibility rules after that. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1786950 Drupal Drupal Issues Drupal Panels Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 20th November 2012 / by webmaster
A few Drupal users have been searching for a way to allow only specific content types when adding a new pane. If you are searching for a method to do that in your Drupal site then read on to get a head start. The following steps should give you a head start in the right directions. The options for restricting content type depend on module which is actually creating the panel (Page manager or Panelizer or Mini panels) There is a settings page that will control what layouts and what content types are allowed to be added to that type of Panel. If you are using Page Manager you can find the settings page at admin/structure/panels/settings However there is no fine grained permissions settings for individual panels. You'd have to write a module to create permissions to restrict content types to individual panes. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1777548 Drupal Drupal Issues Drupal Panels Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 20th November 2012 / by webmaster
Many Drupal users have requested for a method to change the more link in a Views block to point to a panel page with a content pane instead of a View page. Currently Views and Panels do not support this. If you are looking for a similar functionality in your Drupal site then read on to get a head start. You can change it using the following steps Go to View Configuration page. Go to Allow settings option in that page. Enable the Path Override option. When you add the View as a pane in your pane you can change the URL of the View from the panel pane settings. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1397354 Drupal Drupal Issues Drupal Panels Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 19th November 2012 / by webmaster
Many Drupal users had encountered the following error in a modal window when using Panels after clicking on the settings cog to add content to a panel layout. "An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows." If you are facing the same perplexing error message in your Drupal then read on to find out the fix. This seems to have occurred because of a Javascript conflict with some other module or theme. Many users solved the issue by doing the following. Removing the Drupal for Firebug addon (This did the trick for a majority of the users who reported the issue). Disabling Firebug. Flushing the theme's cache. Uninstalling Jquery UI and Jquery Update modules. Removing the Twitter Profile module solved the issue for a small number of users. Disabling the Theme Developer module solved the issues for a user. Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/1160788 Drupal Drupal Issues Drupal Panels Leave a reply Your email address will not be published. Required fields are marker * Ron (not verified) access_time 18 Feb 2019 - 19:26 Thing is, these problems with Ajax / Jquery are becoming real showstoppers. Especially when experiencing problems/crashes without having any of the modules mentioned installed... Where to begin? webmaster access_time 18 Feb 2019 - 19:26 In reply to Thing is, these problems with by Ron (not verified) I think the easiest way to start debugging AJAX/jQuery errors is with Firebug or Inspect in Chrome. Set up breakpoints in JS. Try invoking the AJAX call from the console to see what happens. If that does not work you can always hire us :-). mrpf (not verified) access_time 18 Feb 2019 - 19:26 I had the problem as well. Dropping the jQuery update version to 1.5 for administrative pages made it work. Hope this helps. mrpf Add new comment
more_horiz
close

on 19th November 2012 / by webmaster
A handful of Drupal users had reported that clicking on the Show Layout Designer redirects them back to the previous page. A few users reported the presence of the following error in their Drupal log " Table 'a4l.panels_layout' doesn't exist query: SELECT * FROM panels_layout t__0 in /var/www/vhosts/afl.pghtechministries.org/httpdocs/sites/all/modules/ctools/includes/export.inc on line 379." after they had upgraded the Panels and Ctools modules after seeing the issue. If you are facing the same error in your Drupal site when using Panels then read on to know the fix. Here is the solution. This kind of situation usually occurs if there is a Javascript conflict with a theme or another module. Check if you had recently added any modules or themes. Check the Javascript console for any errors. A few users had reported the conflict with the Jquery Update module. Tru disabling it to see if the error goes away Hope that helps. The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more. Reference: http://drupal.org/node/900182 Drupal Drupal Issues Drupal Panels Leave a reply Your email address will not be published. Required fields are marker *