Go to content Go to navigation Go to search

Add/remove admin tabs without hacking txplib_head.php

After making this post on TXP Forum, looking at one of Mary’s plugins, the solution was emabarassingly simple: “add first-level admin-side tabs”:http://phpfi.com/233744.

Mary, thanks again for helping out with this ; ).

UPDATE

After phpfi.com went down, I’m re-posting the snippet that I’ve used in this blog post as a Gist: “new add first-level admin-side tabs snippet”:http://gist.github.com/53897

I must have deleted that snippet by mistake. I’ve re-done something similar using jQuery. Add that at the bottom of textpattern/jquery.js and you’re all set. Of course, you’ll need to modify my dummy tabs with yours.

  1. the code as plugins or new hack file , thanks :)


    kus    May 26, 11:51 AM    #

  2. Well, unfortunately kus this is just for plugin developers, not that useful for normal TXP users. If you write a plugin (like TextCommerce for example) and want to create a new tab without hacking txplib_head.php, this is the way to go. Cheers mate, Gerhard.


    Gerhard Lazu    May 26, 12:29 PM    #

  3. Huff.. i arrive to late, the link si not active.


    MarcoK    Jan 27, 11:35 PM    #

Name
E-mail
http://
Message
  Textile Help

...