By venkat-rk on
I am trying to get Ocadia to do the following:
1.) Display primary and secondary links
2.) Display a search box
3.) Display breadcrumbs
4.) Possibly display left *and* right sidebars
For 1, I noticed that its page.tpl.php only has the following code:
<?php if ($tabs != ""): ?>
<?php print $tabs ?>
<?php endif; ?>
There is no reference to a class id nor does Ocadia's style.css has any class for the tabs. Will replacing the following code from bluemarine (and then adding the relevant classes) show up the primary and secondary links in Ocadia and also add the search box?
<?php if (isset($secondary_links)) { ?><div id="secondary"><?php print theme('links', $secondary_links) ?></div><?php } ?>
<?php if (isset($primary_links)) { ?><div id="primary"><?php print theme('links', $primary_links) ?></div><?php } ?>
<?php print $search_box ?>
I will probably tackle the other stuff later.
Comments
bump!
Sorry, folks. I could really do with some css help:(
I have got the breadcrumbs working. Adding the primary and secondary links code from bluemarine to ocadia's page.tpl.php does make the menu links appear but I am unable to figure out the css to align it. On closer inspection of style.css, I found that ocadia's header (where I want the primary and secondary links to appear) is a div contained within another div called wrapper whose text alignment is set to the left.
How can I override this so that the menu links alone are aligned to the right?
To sum up, here are the changes I have made to ocadia:
Code added in page.tpl.php to display the primary and secondary links
Code added in style.css to display the primary and secondary links
You can see the botched result of the modified style.css here
To anyone who read this far with patience, thanks very much! I hope you can help.
implemented
Hi,
Breadcrumbs, site slogan, the search box and primary and secondary links have now been implemented in ocadia in both 4.7.x and 5.x. These changes have been checked into CVS and will be included in the next release. It's designed as a two column layout, so I don't plan on implementing separate left and right sidebars.
Cheers,
Stella