I have been working on building my first theme for Drupal and its been relatively easy. I am just running up against one wall, implementation of the tabs module (from the jstools module group).
I would like to implement this in 2 places..
1. User Profies
2. organic groups home pages.
I am not a developer, just a graphic designer. Here are more specific questions regarding the use of the tabs API.
-
User Pages
Here is an example of the calls for user fields when building a custom user profile page.
<div class="fields"><?php print $user->name ?></div>
$tabs = theme('tabs_tab_page', t('Bio'), t(test content .'));
$tabs .= theme('tabs_tab_page', t('About'), t('test content'));
$tabs .= theme('tabs_tab_page', t('Contact'), t('Second page content'));
$tabs .= theme('tabs_tab_page', t('Blogs'), t('Second page content'));
$tabs .= theme('tabs_tab_page', t('Commitments'), t('Second page content'));
$output = theme('tabs_tabset', 'name', $tabs);
print $output;
how you you put them together?
Organic Groups
how would over ride OG in the theme layer and apply tabs to the content types? Each content type appears to be displaying as its own fieldset at the moment.
THank you to anyone would is able to assist me. Your help is appreciated. I am willing to offer a small bounty. DOn't have much, but let me know what you think it is worth. WIll moniter this thread.