Blog Articles - Drupal, Joomla, Wordpress, SEO, Tips, Tricks and Troubleshooting

How to use Slick Carousel in Drupal

Articles - Drupal Web Development Articles

Share/Save/Bookmark

Need a simple yet a powerful carousel for Drupal with exhaustive sets of options and possibilities? Try the demo for the Slick Carousel here - http://kenwheeler.github.io/slick/

Download Slick Carousel and Related Modules, first is the primary module needed while the last 2 are optional but useful in getting you started, as these provide you built-in demos and sample blocks already:

Slick Carousel - https://www.drupal.org/project/slick
Slick Extras - https://www.drupal.org/project/slick_extras
Slick Views - https://www.drupal.org/project/slick_views

Download the dependent libraries needed for the above:

  • Slick Library plugin - https://github.com/kenwheeler/slick/
    - downloaded should be extracted and main folder renamed to slick so files will be as:
    ../sites/../libraries/slick/slick/slick.css
  • jQuery Easing plugin - http://gsgd.co.uk/sandbox/jquery/easing/
    - downloaded should be extracted and JS file renamed from jquery.easing.1.3.js to jquery.easing.min.js, and be available as: ../sites/../libraries/easing/jquery.easing.min.js

After installation of above, ensure you have these modules and needed permissions enabled, then you can check out the options and settings thru:

  1. Configuration > Media > Slick - ../admin/config/media/slick

    Drupal Slick Carousel module

  2. Structure > Blocks - .../admin/structure/block

    Drupal Slick Carousel module blocks

Try using the sample blocks provided by default making these viewable on certain page, and experiment on settings. From here-on, everything should be straightforward, enjoy!

NOTE: There is another similar module but lighter with minimal slideshow features only, Slick Slideshow - https://www.drupal.org/project/slick_slideshow

 

Drupal breadcrumbs navigation not working, not showing first level menus and basic page items

Articles - Drupal Web Development Articles

Share/Save/Bookmark

For some reason, despite the menu heirarchy, certain basic pages enabled to appear as first level menu items do not seem to appear in the breadcrumbs navigation in one of my Drupal websites.

My settings and content structure:

  • Basic pages are set set and enabled to appear as menu items
  • Views pages also set to appear as Normal Menu entry items
  • Installed Pathauto module, and consistent URL aliases are in place
Issues:
  • Menu items especially the first level items are not displaying consistently as breadcrumb items; some do, some do not
  • Where missing, only the Home ul nav item appears
    Menu-Breadcrumb-Not-Showing

To fix and override issue:

  1. Downloaded and installed Menu Breadcrumb module - https://www.drupal.org/project/menu_breadcrumb 
    This way, you get to ensure the breadcrumb items will follow consistently the menu navigation and heirarchy of menu items of your website.  
  2. In breadcrumbs module (admin/config/user-interface/menu-breadcrumb), made some additional changes to the default settings as preferred
    Menu-Breadcrumb-Settings 

 See also other related breadrumbs modules and comparison list here - https://www.drupal.org/node/533448

 

Drupal 7: How to create and display year only format to used in Views

Articles - Drupal Web Development Articles

Share/Save/Bookmark

By default, the Date module and Drupal's regional date and time settings provides different dates and time formats. However, some basic date formats like displaying the Year only or similar settings are not set by default.

You can create custom formats by following steps:

  1. Go to Configuration > Regional and language > Date and time (admin/config/regional/date-time)

  2. Click on "Formats" tab

  3. Add format, then create custom format as needed. Example below, would provide a Year only format which you can use in Views.

    You may click on the PHP manual reference for the acceptable PHP formats http://php.net/manual/en/function.date.php


  4. Go back to Regional and language > Date and time page (admin/config/regional/date-time), then add Date type and assign the created format

    You may need to flush all cache before format becomes available from the Views Date format settings.

  5. Go to your views page, Add the Date field, then choose the format created.

 

Drush: How to view and see only available and pending Drupal core and module updates

Articles - Drupal Web Development Articles

User Rating: / 7
PoorBest 
Share/Save/Bookmark

Most times you are alerted of available Drupal updates (both modules and core), I do this by enabling the noitification setting in my Drupal websites.

However, to quickly check thru Drush any available updates, below command will allow you to display only modules or core updates with updates pending:

drush pm-updatestatus

This will exclude from display all modules that are already updated.

 

AddThis Not Displaying in Drupal 7; How to Insert AddThis Module and Field to a Content Type

Articles - Drupal Web Development Articles

User Rating: / 4
PoorBest 
Share/Save/Bookmark

You have installed and enabled the social media and networking module AddThis https://www.drupal.org/project/addthis, yet it does not appear in any of your pages or you do not have a clue what to do next or how to use the module.

Simply follow the steps to get it working:

  1. Download, install and enable the AddThis module in the usual Drupal module manner
  2. IMPORTANT, you may miss it the first time, but besides enabling the AddThis module, there is another related module you need to enable, the "AddThis Displays" module.

    Enabling the first main module "AddThis" would simply make your website supportive of the AddThis external services, among other settings and configurations. But to make the AddThis display more flexible by inserting this as fields in different content types and managing its displays, you need to enable the secondary addthis_displays module.

    Drupal AddThis module displays to content types

  3. Navigate to your (selected) Content Type/s (Administration » Structure » Content types » Basic page » Manage Fields) where you wish to have AddThis widget displayed. For example in your Basic Page.

  4. Then, create/add an AddThis field for the Basic Page content type (you may wish to do the same in other content types for example in Artices, etc.)

    How to insert AddThis social media module to a Drupal content type

  5. Next, under Manage Display, you may now select how you want AddThis to be used and displayed on your contents. There will be a few general options (format, icon/button sizes, services, vertical or horizontal positions, custom CSS styling, etc.)

    On selecting which services to appear, use the link provided which lists aliases of different services which you can enter and display. http://www.addthis.com/services/listAddThis manage field displays in your content type

    I hope this helps!
   

Drupal installation errors: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'prefix.semaphore' doesn't exist

Articles - Drupal Web Development Articles

User Rating: / 5
PoorBest 
Share/Save/Bookmark

 

I'm encountering below Drupal 7 installation errors when installing a kickstart packag:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'prefix.semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => variable_init ) in lock_may_be_available() (line 167 of C:\xampp\htdocs\site\includes\lock.inc).

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'prefix.semaphore' doesn't exist: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 1337725569552a2dc3a39874.19686932 ) in lock_release_all() (line 269 of C:\xampp\htdocs\site\includes\lock.inc).]

Error-Drupal-semaphore-doesnt-exist

Error-Drupal-base-table-view-not-found

Fixes:

Normally, you need to dobule check that all settings and values in the settings.php config file are correct, e.g. database name, db password, db user, etc.

If all of the mentioned are correct, and still not working, try to run the install command to prompt a web UI based installation process, this way to let Drupal create / recreate anything for the database. For example in local installation in using xampp:

http://localhost/yourwebsitefolder/install.php

This will run the entire Drupal installation, re-enter the correct database values and other settings, then hopefully will fix the issue.

 

 

   

Drupal 7 TB Mega Menu responsive not working/expanding, conflict with Bendy, CS Adaptive modules

Articles - Drupal Web Development Articles

Share/Save/Bookmark

Drupal 7 TB Mega Menu not working, not expanding, conflict with Bendy and CS Adaptive modules

Issue: TB Mega Menu is working, but when on adaptive or responsive mode menu is not working and expanding when clicked.

Fix: disable Bendy and CS Adaptive modules.

   

Notice: Undefined index: bid in blockcache_alter_block_info_alter() blockcache_alter/blockcache_alte

Articles - Drupal Web Development Articles

Share/Save/Bookmark

I am using Block Cache Alter module to manually set caching for each block as needed.

Trying to solve an issue on a Drupal Views which seemed a caching issue. Disabled all system (Drupal) and server (Varnish and static cache, mine on a Siteground account), when navigating to the block listing administration page error below appears:

  • Notice: Undefined index: bid in blockcache_alter_block_info_alter() (line 108 of /home/ibuild02/public_html/mtf-rdp-minimal/sites/all/modules/blockcache_alter/blockcache_alter.module).

Fix: Re-enable server cache (turn it on), while resuming cache off in Drupal for development purposes. It made the error go away.

Other Fixes [Updated May 27, 2015]:

In my case, I have tried each individually and all of the above seems to work.

   

Page 1 of 6

CCTV Pinoy

CCTV security cameras & video surveillance systems & equipment, solutions for home or business in Metro Manila, Philippines

CCTV security cameras & video surveillance systems & equipment, solutions for home or business in Metro Manila, Philippines

i-Build.PH Web Services

webhosting, web designer, web developer, Joomla, Drupal, Wordpress, Magento, Davao, Cebu, Metro Manila, Philippines

i-Build.PH offers webhosting, web design, development, SEO, training and consultancy services. Visit us at i-Build.PH.

Servicing areas of Metro Manila, Cebu and Davao, Philippines.

Contact Info

Mobile Number: +63 917-803-2478

Email address: jaesperanza@gmail.com

Yahoo Messenger: jerome_107

We're Joomla Version 3 Ready!

Needing to migrate your Joomla websites versions 1.5, 1.7 and 2.5 to the latest Joomla version 3? Contact us for a free quotation.

Banner

Lazy Black Cat, Always Hungry

Hungry from all the coding? Take a break, grab some foodie!

Lazy Black Cat, Food Reviews, Philippines, Metro Manila, Beverages and Drinks, Smorgasbord

Latest Comments

  • Notice: Undefined index: bid i...
    Hey there I am so glad I found your blog, I really found you by error, while I was searching on Askjeeve for something else, Regardless I am here now and would just like to say thank you for a incredi...
    25.06.15 11:55
    Posted by: Instagram Followers
  • Warning: file_get_contents err...
    WOW just what I was looking for. Came here by searching for Search Engine Optimization (SEO)
    11.04.15 07:52
    Posted by: Zelma
  • Warning: file_get_contents err...
    I really like it when people get together and share ideas. Great website, keep it up!
    10.04.15 11:53
    Posted by: get traffic
  • Joomla 2.5 Fatal error: Class ...
    I am still stuck with it, disable/enable k2 user didn't work to me. I can not access to administrator/ interface but checked ordering field in _extensions and all my K2 extensions plugins have 0 order...
    05.04.15 06:24
    Posted by: spideep
  • [SOLVED] Drupal error-Notice: ...
    thank its relay help solving the problem thanks
    20.02.15 03:23
    Posted by: ashutosh
  • Joomla 2.5 Fatal error: Class ...
    It worked:) Thank You very much. Setting order did'nt work, I had to disable K2 user plugin and then enable it but thank's to Your article I got a direction:)
    17.02.15 22:03
    Posted by: Barto
  • Drupal 7, how to setup, instal...
    Hi Michael, would you mind sharing screenshots of what is being shown when you click the browse server button? Some notes: Have you tried cross-browsers (Chrome, Firefox, etc) just to rule out browse...
    11.02.15 00:34
    Posted by: Joomla, Drupal, Wordpress Web Developer
  • Drupal 7, how to setup, instal...
    Hi- Thanks for this tutorial. I never see IMCE, no matter what I do. I uninstalled and reinstalled ckeditor and IMCE, same thing. When I click the browse server button a popup opens but never shows me...
    05.02.15 13:25
    Posted by: Michael
  • Where and How to change the L...
    Hi, I have discovered the file to edit for the comment form, however, I want to make the email field not compulsory. Obviously, removing the '*' alone doesnt solve it. I need the lines to edit so the ...
    27.01.15 08:23
    Posted by: luwadurotimi
  • Where and How to change the L...
    Hi, I already located the file to edit the comment form, However, I want to make the email section not compulsory, I can remove the '*' but I need the lines to edit so the site won't regard email as c...
    27.01.15 08:21
    Posted by: luwadurotimi

Web / Internet Resources

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Joomla Blog Articles and Notes

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

Drupal Blog Articles and Notes

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8