[cc-devel] [ cctools-Feature Requests-2275985 ] Tab links have junk in them
SourceForge.net
noreply at sourceforge.net
Thu Apr 16 14:32:51 EDT 2009
Feature Requests item #2275985, was opened at 2008-11-13 03:34
Message generated for change (Comment added) made by fourstones
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559969&aid=2275985&group_id=80503
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Dave Crossland (crossland)
Assigned to: Victor Stone (fourstones)
Summary: Tab links have junk in them
Initial Comment:
Tab's links have "/view/media/" prepended by default - seen on live http://ccmixter.org/ atm, and openfontlibrary.fontly.org (first grey DIV at the bottom)
For OFLB, this means we'd prefer to hard code our tab list than generate it automatically, because we want our key documents to have great URLs
----------------------------------------------------------------------
>Comment By: Victor Stone (fourstones)
Date: 2009-04-16 11:32
Message:
closed by benevolent dictator (pending further requests/discussion wrt
workarounds suggested in previous message.
----------------------------------------------------------------------
Comment By: Victor Stone (fourstones)
Date: 2008-11-14 04:41
Message:
Moved this to 'feature request' because it is 'by design' up until now, not
really an operational bug.
the wiki doc
http://wiki.creativecommons.org/Cchost/customize/Navigation_Tabs
explains the model and that's pretty much how it's going to work.
There are two work arounds:
1. mod_rewrite your 'great URLs' to the /view/media versions
2. The code that renders the actual tabs are nuetral to the tab system
saved in config by the admin screens. That means you can forgo the admin
screens navigation editing and populate the structures manually from code.
This document
http://wiki.creativecommons.org/Cchost/guide/Troubleshooting#Variable_Dumps
describes how to dump a page's variables. Look for 'tab_info'
This document
http://wiki.creativecommons.org/Cchost/developer/Hooking_Page_Render
describes how to hook every page before rendering
You can overwrite 'tab_info' with whatever you want. Again, this will make
the admin screens for nav tabs useless but it sounds like that may be ok
for you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559969&aid=2275985&group_id=80503
More information about the cc-devel
mailing list