Editing Content of the Categories Block
Posted July 16th, 2008 by manamana
I want to change the display of the categories...
1) I only want one RSS button linking to published stories. I can't figure out where I could go in and remove the extra image/link.
Also, the RSS buttons are linking to the drigg_theme even if you have another theme selected (bug?)
2) The categories are not in alphabetical order, but in the order that they were entered into the admin. That is really annoying.
I was thinking about hard coding the categories and rss links and creating a new block, but I haven't gotten the css right yet. I copy the css directly from the existing output (view page source) and it's not right.
Answers
Hi,
For #1, change:
admin/settings/drigg/drigg_ui
You will be able to change the string used for the feeds. If it's empty, nothing will be shown.
For #2: OUCH! That's a genuine bug! Are you sure the categories don't follow the "WEIGHT" set in the Drupal interface?
Actually, I checked the code and the categories ought to appear according to their Drupal weight.
Hardcoding things won't work, because right now some magic happens if you are for example in "Upcoming" and click on a category (you are sent to the Upcoming section of THAT category).
Bye,
Merc.
THANKS! I can look through
THANKS! I can look through all these menus a million times and can't find what I'm looking for sometimes. I'm glad the RSS thing is in such an obvious spot and very easy to configure.
Also thank you for pointing out the "weight" setting. I had totally overlooked that so each category was at the default 0 and that's why they were showing up in the order I entered them.
I have all my links in the "published" section so I got rid of the "upcoming" and "archived" links. I did notice if I clicked on one and then on category names it was hard to find a way back to published! And now I see under Drigg UI there is an option in the admin to hide the archived menu so I could have done that there. :)
Thanks again. I know I've had a lot of questions lately as I'm trying to get this set up. I'll certainly be sending along some $ support soon. Hopefully these posts will help future newbies with the same problems too. :)
No worries
Hi,
Thanks a lot :-D
I am glad I could help...
Merc.