I'm a complete newbie using Drupal. I've setup a site at HammerSoft.com

I've setup a "Taxonomy" (aka category) with the following "Terms":

  • About Us, weight=-10
  • What We Do, weight=-1
  • Products, weight=2
  • Contact Us, weight=10

As I understand it, these "terms" should list with the lightest term (-10) at the top. That doesn't seem to be happening (look at the categories in the upper left part of the HammerSoft web page)

Second issue: When these "terms" are displayed under Categories in the upperleft part of the web page, there are dates associated with those terms. Is there any easy way to turn off those dates?

Ben in DC
PublicMailbox at benslade dot.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

Comments

bslade’s picture

I was referring to http://www.HammerSoft.com, but I typed in a html URL for that site and the damn Javascript autochecking software got into an endless loop that wouldn't let me edit the content.

Doesn't anybody test this stuff?

PublicMailbox@benslade.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

Steven’s picture

Doesn't who test what stuff? Just use "preview" next time. Your problem was that you were starting a HTML attribute with a quote, but not ending it with one. There is nothing "standard" about this, it is invalid HTML.

I don't understand your "Javascript checker endless loop" comment. If you have a bad submission, just press back and re-edit it. If your browser doesn't allow that or loses your data in the process, get a better one.

In any case, I edited your post. Oh and please note that the <p> tag is a paragraph container, not a paragraph separator. Hence you use it as <p>test</p>. Not that it matters much, because it was unnecessary to use them at all. They are autogenerated.

--
If you have a problem, please search before posting a question.

bslade’s picture

The second part of the question that got eaten by Drupals auto-checking URL javascript was:

How can I turn off the dates under "Categories" in the upperleft part of the page at hammmersoft.com?

PublicMailbox@benslade.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

bslade’s picture

(Note, if I type in the URLs using the standard "a href" html source notation, the javascript URL checking will get into an endless loop)

I'm a complete newbie using Drupal. I've setup a site at http://www.HammerSoft.com

I've setup a "Taxonomy" (aka category) with the following "Terms":

  • About Us, weight=-10
  • What We Do, weight=-1
  • Products, weight=2
  • Contact Us, weight=10

As I understand it, these "terms" entries should display with the lightest term (-10) at the top. That doesn't seem to be happening (look at the categories in the upper left part of the http://www.HammerSoft.com web page)

Second issue: When these "terms" are displayed under Categories in the upperleft part of the web page, there are dates associated with those terms. Is there any easy way to turn off those dates?

boris mann’s picture

As stated by Steven....there is no javascript.

You understand correctly for weight....but that is the Categories block, which merely displays the most recently updated categories...hence the date.

Use one of the contributed taxonomy modules to create a block based on a vocabulary (I think taxonomy_menu might be what you are looking for).

Or...don't use a taxonomy to make basic site structure, use book pages instead. You can place them into hierarchical outlines, and enable the Book Navigation block as well.

bslade’s picture

Forgive me for assuming it was a Javascript problem. It looked like some sort of active client stuff going on, but apparently not. In anycase, the preview screen is also the re-edit the posting screen and I couldn't re-edit (or even select/copy) the posting because it was in an endless loop telling me I had bad syntax. I didn't think to press the "back" button so I assumed I had to either press submit or lose the post. But on to the actual problem...

So you're saying that the weight of "Terms" does not make any difference for the order in which they're displayed in the Categories block. Too bad.

Also, when you say "Use one of the contributed taxonomy modules to create a block based on a vocabulary", I'm not clear what you mean. I already used the Admin->Categories function to setup a vocabulary. Is this a "block based vocabulary" or not?

In my Admin->Modules screen, I do see a "Taxonomy" module. Is there another taxonomy module I should download that will display category terms in weight order and without dates?

Thanks for your help
PublicMailbox@benslade.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

bslade’s picture

Well, I didn't see any modules called taxonomy_menu. I tried a few of the other taxonomy related modules, but they seemed to do different things, so I just went ahead and hacked the exiting taxonomy.module file to change it to the way I like.

Specifically, I removed the counts and dates from the Categories menu and changed the name to Sections. I'll have to see what side effects it causes, but it looks fine so far.

Is there something hardcoded so that the taxonomy module automatically displays into the Categories block? Can I get my own module to fill in the Categories block?

Thanks
PublicMailbox@benslade.com
(append 030516 to the subj to bypass spam filters)
"It's the mark of an educated mind to be moved by statistics"
Oscar Wilde

Div-1’s picture

To remove the timestamp, you can also comment out:

.'<br />'. t('%time ago', array('%time' => format_interval(time() - $category->updated)));

from taxonomy.module (~line 109)