Forum OpenACS Q&A: Package name on site-map?

Collapse
Posted by Reuven Lerner on
Over the last few days, several clients and colleagues have asked me
how they can know which package is mounted at a particular URL.  I've
tried to suggest that the URL and/or application instance should be
given a name that accurately reflects the mounted application, but
that (justifiably) only goes so far.

Is there any way to display the actual application package names on
the site map?  My impression is that this will go a long way toward
improving the system's usability, especially when somewhat
inexperienced people are modifying ADP files within applications.

Collapse
Posted by Roger Williams on
There is a very simple SQL statement to display this. If you do not have it, I can post it here.

Regards..

Collapse
Posted by Reuven Lerner on
I know what SQL is necessary, and I don't mind providing a patch that handles it.  My question is if there's any reason why this information isn't included in the site-map by default.
Collapse
Posted by Roberto Mello on
Reuven, I don't quite understand your question. Packages names are displayed in the site-map (/admin/site-map). Are you looking for a way to get the package names from within a tcl/adp combo somewhere in your site?
Collapse
Posted by Jeff Davis on
The package name isn't on the site map.  It has url and Application (which is the instance name not the package name).
I would like to see it there as well since it gets hard
to figure out what is mounted where.  As an example if you
had to find the site nodes on openacs.org which were etp instances you really couldn't (without resorting to sql)
since they are all titled according to the page name (and that
title shows up in the context bar so a naming convention like etp:bugtrackers is no good).
Collapse
Posted by Lars Pind on
Peter and I fixed this a couple months back, so it says "Instance Name" and "Package Type" instead of just "Application". Package Type is what you're looking for.