Hi,

Thanks for this great module! I am testing it thoroughly.
I try to set my primary and secundary links and I think the drigg_theme lacks theming for this?
Am I correct? Is it possible to them them the same as the Scoops bar in header_categories and per haps in another color?
It would be a great advantage I think.

Thanks in advance for considering this!
Greetings,
Martijn

Comments

summit’s picture

Hi,

I made something myself, but the secondary links navigation to get "under" the primary links navigation is not working yet. Please assist.
In page.tpl.php I made the following in the content-area:

 <div id="primary">
        <?php if (is_array($primary_links)) : ?>
        <ul id="main-nav">
        <?php foreach ($primary_links as $link): ?>
        <li><?php

        print l($link['title'], $link['href'], $link['attributes'], $link['query'], $link['fragment']);

        ?></li>

        <?php endforeach; ?>
        </ul>
        <?php endif; ?>
        </div>

        <div id="secundary">
        <?php if (is_array($secondary_links)) : ?>
        <ul id="main-nav">
        <?php foreach ($secondary_links as $link): ?>
        <li><?php

        print l($link['title'], $link['href'], $link['attributes'], $link['query'], $link['fragment']);

        ?></li>
        <?php endforeach; ?>
        </ul>
        <?php endif; ?>
        </div>

And in css/base.css I borrowed css from another theme for primary, but it doesn't work correct for secundary.
I just copied the primary.css to secundary.css.

May be you know how to get secundary underneath primary?

#primary {
  font-size: 85%;
  line-height:normal;
  padding:0px 0px 1px 20px;
  border-bottom:4px solid #2763A5;
}

#primary ul {
  padding:0;
  margin:0;
  list-style:none;
}

#primary li {
  display:inline;
}

#primary a {
  background:#6DA6E2 url(images/tabs.gif) repeat-x;
  color:#FFF;
  font-weight:bold;
  display:block;
  float:left;
  padding:5px 14px 5px 14px;
  margin: 0px 1px 0px 0px;
  border: solid #6191C5 1px;
  border-width: 1px 1px 0px 1px;
}

#primary a {
  background-position:0% 0px;
}

#primary a:hover {
  background-position:0% -42px;
  text-decoration:none;
}

#primary a.active {
  background-position: 0% -84px;
}

#secundary {
  font-size: 85%;
  line-height:normal;
  padding:0px 0px 1px 20px;
  border-bottom:4px solid #2763A5;
}

#secundary ul {
  padding:0;
  margin:0;
  list-style:none;
}

#secundary li {
  display:inline;
}

#secundary a {
  background:#6DA6E2 url(images/tabs.gif) repeat-x;
  color:#FFF;
  font-weight:bold;
  display:block;
  float:left;
  padding:5px 14px 5px 14px;
  margin: 0px 1px 0px 0px;
  border: solid #6191C5 1px;
  border-width: 1px 1px 0px 1px;
}

#secundary a {
  background-position:0% 0px;
}

#secundary a:hover {
  background-position:0% -42px;
  text-decoration:none;
}

#secundary a.active {
  background-position: 0% -84px;
}

Thanks for going into this!
greetings,
Martijn

mercmobily’s picture

Hi,

I am sorry, but I can't really help with CSS issues. I realise that I ought to, because this is a theme I actually provide. However, I am a programmer and don't know much about web design. I will welcome any improvements to the standard theme, but I can't help you here.

Please keep in mind that Drigg does not support sub-categories, and it will be a while before it does.

I will leave this open for a week. If anybody else can help... please. Othrwise, I am afraid I will have to close the issue -- sorry :-/

Merc.

summit’s picture

Hi,

the only question I have how to place secundary "under" primary with css?
Community please respond?
Thanks in advance,
greetings,
Martijn

playfulwolf’s picture

Hi Summit,

For the beginning I recoment to see all "menu" modules. Start with http://drupal.org/project/Modules/category/58 "ctrl + f" :)
I do not remember which one is perfect match for you, bet there are couple which can make even dropdown menu's for you without writing code.

mercmobily’s picture

Status: Active » Fixed

Hi,

Alright, marking as fixed since it's not _really_ related to the Drigg project.
I hope the poster managed to do what he wanted to do.

Merc.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.