Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Change Links in Admistration Menu
  • Posted: 14.01.2005, 14:29
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    Anyone know how I can change the name of the link to a module in the main Administration Menu? I would just like to rename some of them. Make it easier to understand to my staff. I would also love to add a link to a module that wouldnt usually show as it is usually a public module, but im restricting it to just admins. Any help would be appreciated.
  • Posted: 15.01.2005, 04:40
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    No one knows?
  • Posted: 15.01.2005, 04:46
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    pretty sure you'd have to change the name of the module.. which isn't nearly as easy as it sounds ;)

    --
    http://www.invalidresponse.com
  • Posted: 15.01.2005, 04:53
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    thats not it, think about User administration. Thats not even a module. I cant even find it listed in the NS-User language files. Also some have admin, so dont. Something in the module must create this link. I could care less what the actual underlineing code is, i just want to change the viewable link.

    From:
    this

    To:
    that

    I cant wait till everything is templated, including the admin areas. That way it will be so much easier to restrict and change the appearence of things.
  • Posted: 15.01.2005, 05:47
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    User Admin is a different bird.. check the NS-Admin mod for defines for that.. i'm not home, so I can't look .. but I'm betting on the rest of the names being pulled from the nuke_modules table..

    --
    http://www.invalidresponse.com
  • Posted: 15.01.2005, 07:22
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    Is PN .8 going to be 100% templatable? I user hope so, less headaches for me for sure.
  • Posted: 15.01.2005, 08:17
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423
    yeah.. there should be an RC of .760 coming out soon too.. and it's got a very similar (if not the same) admin area to .8's which I think you might like..

    --
    http://www.invalidresponse.com
  • Posted: 15.01.2005, 10:07
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    oh my, hurry hurry hurry. =P I would be more patient, but im working on a project for a client. BTW, what happened to .726. SHouldnt it be out already?
  • Posted: 15.01.2005, 23:14
     
    InvalidResponse
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    21.10.07
    Posts:
    2423

    MACscr

    oh my, hurry hurry hurry. =P I would be more patient, but im working on a project for a client.

    hahaha.. we all are :)

    MACscr


    BTW, what happened to .726. SHouldnt it be out already?

    .726? been out for 2 years :) ..maybe you mean .750?

    --
    http://www.invalidresponse.com
  • Posted: 15.01.2005, 23:38
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    04.12.08
    Posts:
    6540
    760 will allow you to change the display name in the Admin Panel.
  • Posted: 16.01.2005, 02:05
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    LOL, im a retard, i was talking about 760, i just wasnt thinking, my bad. Cant wait, but i have to. Doh =P
  • Posted: 16.01.2005, 02:18
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    The module aliases feature seems to be working quite nicely. I've upgraded my site to .760rc1 on friday and have setup a few aliases (pnForum->Forum, advanced_polls -> Polls). The only thing you have to make sure of is that you don't have any clashes between modules (i.e. a module alias the same as an existing module). In my case i've had to remove core polls module since I wanted to use that name as an alias for the advanced polls module.

    The other additional use for this feature is for non english sites. These sites can use a localised name for any feature as the module alias.

    -Mark
  • Posted: 16.01.2005, 02:28
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    I will have to check out the CVS. Want to help out a lazy man and zip it up and email it to me? =P
  • Posted: 16.01.2005, 04:08
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    There must be some other way of changing this stuff though. I mean the modules that are installed have to trigger something to put an link in the admin area. Hmmmm
  • Posted: 16.01.2005, 16:39
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    LOL, i figured out how to add one easily at east, all you have to do is have a file in the module directory named admin.php. The unfortunate problem is that the default link that is created is called main.php, but that wouldnt be to hard to get around.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula