[ic] Modify UI admin: Where to begin

paul jordan interchange-users@icdevgroup.org
Sat Nov 2 15:09:00 2002


> I am creating a section on my site that has web links in it and presently
> is being pulled from a table I have created and am modifying via the table
> editor.
> What I am trying to find is what would be the simplest way to put this
> table I have already created and have already modified in the UI the way I
> want it to look in the table edit section and make it a part of the UI as
> a link so others who are to add or modify a link do not have to go into
> table edit and make these changes.
>
> I know that I can create or make changes to the UI in the
> lib/UI/admin/pages but I really do not know where to start at with this.
>
> Just some pointers / templates would be great even, or a full solution as
> to what is needed to create something like this in the future.
>
> Thanks again.
>
> ---
>      Philip S. Hempel


Hi Phil

First, you should know that you can copy one/all admin pages into
catroot/pages/admin. This will let you customize admin per catalog, if IC is
running multiple catalogs... and if you fubar it, simply delete the page :)

Also, version 4.9 makes adding pages very very easy, in fact I would wait
until 4.9, or upgrade now to do it.

I added pages to 4.8.3 but it was a little more complicated. What I did was
copied a relatively simple page and renamed it, them customized it. To be
able to allow/disallow access, you need to set it's 'depends_on' parameter
to something similar WRT access type. I forget where that is in 4.8....
hmmm, maybe in mv_metadata.asc possibly ?? I don't remember.

In 4.9, there is a 'edit' link across all menu layers, where you can
add/remove new tabs, and set access standards.

OH, wait, yes I believe in 4.8 you have to manually edit the 'icmenu' table
in order to add the new page into the tabbed area...  that is where
depends_on and all that should be. It is most likely "hidden" so it will be
a link on the bottom of the Administration->tables page.


HTH

Paul