Skip to Content.
Sympa Menu

cc-devel - [cc-devel] [ cctools-Feature Requests-2275985 ] Tab links have junk in them

cc-devel AT lists.ibiblio.org

Subject: Developer discussion for Creative Commons technology and tools

List archive

Chronological Thread  
  • From: "SourceForge.net" <noreply AT sourceforge.net>
  • To: noreply AT sourceforge.net
  • Subject: [cc-devel] [ cctools-Feature Requests-2275985 ] Tab links have junk in them
  • Date: Fri, 14 Nov 2008 12:41:35 +0000

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: Open
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: 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




Archive powered by MHonArc 2.6.24.

Top of Page