![]() ![]() |
hns,
June 12, 2002 at 11:14:49 AM CEST
RFC: new organisation of site navigation This is a proposal for restructuring the way Antville handles site navigation, i.e. displaying links within a weblog for various groups of users. Here is a list of proposed changes:
Thus, the site navigation code that would be directly embedded into the main page skin would look something like this (in pseudo-macro-code, so to say): <% weblog.link to="main" text="home" %><br /> <% weblog.topiclist %><br /> <!-- insert more static links here if you want --> <% weblog.adminlinks %><br /> <!-- um, maybe we should write a macro
hns,
June 12, 2002 at 11:43:56 AM CEST
Thinking... Or what about the following Pseudo-Menu: Home Themen: Fischen Spazieren Angeln Jagen Rasenmähen Archiv: Februar 2002 März 2002 April 2002 Suche: [_________] Manage: Neue Story Stories Bilder Polls Files Skins Mitglieder Settings that would be generated by the following pseudo-code: <% weblog.link to="main" text="Home" %><br /> <% weblog.topiclist prefix="Themen:" %><br /> <% weblog.monthlist prefix="Archiv:" %><br /> <% weblog.searchbox prefix="Suche:" %><br /> <% weblog.adminlinks prefix="Manage:" %><br /> Of course the real code would be more convoluted and less beautiful, but you get the idea...
robert,
June 12, 2002 at 12:55:10 PM CEST
good ideas basically +1 for all of that. but instead of one macro "weblog.adminlinks" we should use two separate macros (weblog.contributorlinks & weblog.adminlinks), otherwise it's impossible to display them separately on a page (they should use the existing skins contribnavigation and adminnavigation as usual). or even better: why not change the existing weblog.navigation-macro to something like this: <% weblog.navigation for="admins|contributors" %> (avoiding the attribute "for" would mean that antville would render both skins if the user is admin). this should also be backwards-compatible (or did i miss something?)
hns,
June 12, 2002 at 1:51:43 PM CEST
right If we want to keep the links for contributors and admins separate then we definitely should do it with extra attributes to the existing navigation macro. I didn't think of this when I wrote the RFC (but I recall now that this was the solution we came up with last time we talked about it ;-) ... comment
tobi,
June 12, 2002 at 1:55:04 PM CEST
well, i am definitely +1 for all of what has been written here. but wouldn't it be nice for all of us if somebody would post here a short summary of what hns and robert have been talking about to share your plans and remain open source?
robert,
June 12, 2002 at 2:51:23 PM CEST
yep of course - sorry for not doing it asap, i'll try to do it today. UPDATE: it's here. ... comment
|
![]() |
The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8638 Days
last updated: 1/4/11, 10:22 AM ![]() ![]() ![]() Youre not logged in ... Login
![]() ![]() ![]() ... home
... topics ... galleries ... Home
... Tags
... Galleries
... about antville ... download ... macros.antville.org ... help.antville.org ... translate antville! ... antville home ![]()
![]() ![]() ![]()
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)
![]() |