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 commentedI had same issue, EMPTY cache table from phpmyadmin!
Comment #2
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 commentedI followed exactly the code above and my ccs styles do not take effect. I have cleared the catch multiple times.
Comment #4
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue. This doesn't appear to have any code so believe this may not make it, sorry! Thanks though!
If still an issue or needed for 4.0.x (latest branch) feel free to reopen