Skip Menu |

This queue is for tickets about the CatalystX-Controller-Tabs CPAN distribution.

Report information
The Basics
Id: 38542
Status: new
Priority: 0/
Queue: CatalystX-Controller-Tabs

People
Owner: Nobody in particular
Requestors: mjh [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.02
Fixed in: (no value)



Subject: feature request: optional tabs
Perhaps this is more than the tabs module was designed for, but what I was trying to do was this: User management module with URIs as follows: /user/add /user/login /user/logout /user/id /user/id/*/edit /user/id/*/view With the following tabs: Login (only if not already logged in) Logout (only if logged in) Create Edit (only if logged in) and where the URIs on the tabs match the above, regardless of what the current URI is. Eg. if the current is: /user/id/5/view "Edit" should be: /user/id/5/edit Currently it ends up as: /user/edit/5 The visibility checks I have currently handled by a post-process step after "build_tabs" that takes things out. The url formatting I have a local hack, but I don't like the design much.