Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to change Mysql list data bases

Discussion in 'User Experience' started by equens, May 17, 2005.

  1. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    316
    How can I change the layout of <cpanel Mysql="listdbs()">, we only want a pretty table with del, check, repair and users, but not Connection Strings in perl and php!!
     
  2. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    316
    cpanel Mysql module

    I have seen the cpanel module of <cpanel Mysql=".. tags in /usr/local/cpanel/Cpanel/Mysql.pm but I can´t understand how cpanel makes the html layout :-(
     
  3. Mike Peel

    Mike Peel Active Member

    Joined:
    May 1, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    151
    We had the same problem. It's one of the main reasons we came up with cPanel Zen - have a look at the mysql databases page in the demo for that.

    We basically took the output from <cpanel Mysql="listdbs()">, and used PHP to parse it to get the data out. We then ran the output through a new templating engine, which then allows people to easily template cPanel.

    The whole system's currently in alpha release, and is under GPL.
     
  4. equens

    equens Well-Known Member

    Joined:
    Feb 8, 2002
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    316
    Guuauu!!!!!!!!!

    Oh my God! I have seen incredible Possibilities with your system!!!!
     
Loading...

Share This Page