Hi - is there an easy way of changing the subscription selection area from what is currently presented to the site visitor?

Specificially, I'd like the only subscription option to be the "categories" section. Can I make it so this is the first and only subscription page the visitor sees? How would I do this?

Thanks in advance!

Comments

sammy-node’s picture

This should be easy and useful to others (unfortunately I can't work out how to do it in the subscribe.module file after an hour messing with it), so I'd really appreaciate any help a real programer can give me.

Basically, I'd like for this;

My subscriptions
_____________________________________________
| threads
| categories | content types | rss feed |_____________________________
You are not currently subscribed to any active threads

to ONLY show the categories as an option to subscribe to like this...

My subscriptions
______________
| categories
|_________________________________________________
You are not currently subscribed to any categories

Thanks in advance,
Duncan

dman’s picture

Those are local action tabs ...
It seems they should be configurable via the access control interface.
You as super-admin will always see all options all the time, so you have to log in as an average user (in one browser)
while tweaking the rights

subscriptions module
  admin users subscriptions    
  maintain own subscriptions [+]   
  subscribe to blogs    
  subscribe to content     [+]
  subscribe to content types    
  subscribe to taxonomy terms

Trimmed the page down to just showing
|Subscriptions|
[ threads ][ rss feed ]

But it seems like "subscribe to taxonomy terms" is set to require "subscribe to content" first.
- in investigation, this is due to the way menus collapse.
Default view is 'content' (threads) but if you don't have that permission, you can't get at pages underneath it.
Normally pages bubble up through menus when that is the case, but not with 'LOCAL_TASK's (tabs)

And RSS sure is ugly up there.

The only way this can be modded is with a little work in subscriptions_menu() , possibly by adding a couple more config options - like "Don't show RSS Tab".

Or just remove a few bits.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/