Hi,

in links section of teaser and body you have two "location" information about scoop.
First is CATEGORY
Secon is "Tags"

But each of them behave like TAGS. If you click on category to which scoope is assigned, you only get "tag" listing behaviour - which is - there is no "Publish, Upcoming" and "newest, 24h...." filtering option, the same that you get after clicking on Category MENU.

Example:
A. If you click on category "Comunity" within MENU you get this result: http://www.fsdaily.com/Community
B. If you click on category "Comunity" within category link in scoop, you get this: http://www.fsdaily.com/tag/Community

I would like to have situation "B" to behave exactly the same as menu item, so i want to see http://www.fsdaily.com/Community

Thank you!

Comments

mercmobily’s picture

Status: Active » Closed (works as designed)

Hi,

Hummm... this might require some stuffing around with the theme.
For Drupal, those *are* tags... and will behave like so.

MAYBE we could work on the theme, since Drigg knows that those are categories?

Kevin/Cedric, what do you think?

Merc.

mercmobily’s picture

Status: Closed (works as designed) » Active

Hi,

wooops...

Merc.

mercmobily’s picture

Category: feature » bug
mercmobily’s picture

Status: Active » Fixed

Hi,

This is fixed in CVS.
The theme now reads:

# Change 'tag' into 'category' to show a category link instead
$section_link=drigg_section_link($node,'tag');

The default behaviour is retained -- 'tag' is assumed.
The only thing I really don't like is that it won't retain the sub-menu linking information. so, if you are under /archived, the link will still be /Category rather than /archived/newest/category. But, it's so minor, and it would be so much work to change it, that it's fine as it is.

Merc.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

Richard_’s picture

Status: Closed (fixed) » Active

Hello Merc.
I have finally installed new version of drigg with this fix, but it is not working correctly.

It works correctly, but only if the category is "oneword".
If you have two words term it doesnt work correctly.

Why:
Drigg category link is always created as one word (No matter matter how many words is the name -- is that right by the way?). So if your category is called "Technology news", your link is ../Technologynews (and this URL works if you click on category name in menu).

Drigg section link <?php $section_link=drigg_section_link($node, 'category'); ?>
create this link: ../Technology+news (and this link doesnt work).

Usually (and also Drupal tags and cats work like this) you should have link like: ../Technology-news or ../Technology_news

mercmobily’s picture

Status: Active » Fixed

Hi,

Wooops...
Fixed in CVS.
To fix it, just change that:

return l($section_name, $section_name);

Into:

return l($section_name, $node->safe_section);

Silly me!

Merc.

Richard_’s picture

Great Merc. :)

now it works fine.

If anyone interested in the fix, you need to change that line in drigg/helpers.inc

Richard

Anonymous’s picture

Status: Fixed » Closed (fixed)

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