I want a group of quicktabs with nodes/pages to corresponding tabs to show when clicking on one of my menu items. Here are the steps I took to do so, just not sure if this is the best way of doing it, or this module is intended for.

1) admin/build/quicktabs - New QT Tab - each tab is type 'node' with a number of the node/page that i want to appear when clicking on a tab
2) create a page with corresponding menu name and location, lets say this is node #100
2) admin/build/block - i click configure next to the QT block. At the bottom, where it says Show block on specific pages: i type node/100

The page title of node #100 shows at the bottom, therefore i have to modify style.css with something like .page-node-100 #content h1.title {display:none;}
Am I doing this right? Is there another way?

Comments

pasqualle’s picture

yes, the basic functionality is to create a QT block, place it into region and show it on given pages (with the block visibility setting)..

if you want to place the block into given node, then there could be a better way than setting a block visibility. you can use a simple input filter, like the Insert Block module..

but there are other options to display a quicktab..
for example I use quicktabs in "car" type nodes. I have some views which are associated with the car node.

so I created the quicktab block, created a theme template file node-car.tpl.php, and added a simple php snippet to display the quicktab, like:

$qtid = 42; // write here your quicktab id.
$quicktabs = quicktabs_load($qtid);
print theme('quicktabs', $quicktabs);

and if you want something special, you can even create the quicktab on the fly: #332895: render quicktab programatically

pasqualle’s picture

Status: Active » Closed (fixed)