Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mohamadaliakbari CreditAttribution: mohamadaliakbari commentedI had same issue, EMPTY cache table from phpmyadmin!
Comment #2
docans CreditAttribution: docans commentedAny 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
Comment #3
docans CreditAttribution: docans commentedI followed exactly the code above and my ccs styles do not take effect. I have cleared the catch multiple times.