Hi

after research, i made a module which contain this code, adapt from
the original module one :

function pf_qt_style_quicktabs_tabstyles() {
 $custom_tabstyles_directory = '_custom'.drupal_get_path('module', 'pf_qt_style') . '/quicktabs';
  $files = file_scan_directory($custom_tabstyles_directory, '/\.css$/');
  $custom_tabstyles = array();
  foreach ($files as $file) {
    // Skip RTL files.
    if (!strpos($file->name, '-rtl')) {
      $custom_tabstyles[$file->uri] = drupal_ucfirst($file->name);
    }
  }
  return $custom_tabstyles;

i put my module in sites/all/modules/_custom
then i activate it...the style is available in the select list on QT settings...ok
but i've a trouble with my css path...
actually it would be : sites/all/modules/_custom/pf_qt_style/quicktabs/cyrano/cyrano.css
but i don't know how to check this on the website to verify it...
all seem ok ,i guess

thanks for help

Comments

mohamadaliakbari’s picture

I had same issue, EMPTY cache table from phpmyadmin!

docans’s picture

Issue summary: View changes

Any progress to this issue. I want to create a custom style for my quicktabs that will remain despite updates to the quicktabs module. How can this be achieved

Thanks

docans’s picture

I followed exactly the code above and my ccs styles do not take effect. I have cleared the catch multiple times.