1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Looking for super lightweight admin area (PHP)

Discussion in 'Web Design' started by xtopzi, Apr 20, 2014.

  1. xtopzi

    xtopzi Regular Member

    Joined:
    Sep 28, 2010
    Messages:
    291
    Likes Received:
    205
    I'm building a website in HTML / PHP and would like to implement an overly simple admin area. Not looking for a blogging CMS whatsoever.

    So basically I just want the admin to be able to change simple variables but through a user friendly interface. Example:

    (in the config.php)
    Code:
    <?php $logo = '<img src="http://www.blackhatworld.com/blackhat-seo/images/logo.jpg">'; ?>
    (in the header)

    Code:
    <?php echo $logo ?>
    And then the user can change these through the backend instead of a text editor. So to wrap it up:


    • Users can change a var value such as their aff URL in a form input area
    • Users can turn features on and off with a radio button (0,1)
    • The most complicated feature will probably be the logo upload.

    Really nothing more than that. I'm shit at coding so it must also be friendly for me to convert HTML site to work with the admin panel. Thanks :)
     
    Last edited: Apr 20, 2014
  2. bluehatface

    bluehatface Regular Member

    Joined:
    Oct 19, 2013
    Messages:
    232
    Likes Received:
    98
    Location:
    Here
    You looking for a ready made template or someone to code it for you?
     
  3. xtopzi

    xtopzi Regular Member

    Joined:
    Sep 28, 2010
    Messages:
    291
    Likes Received:
    205
    Template. Have never worked with an admin panel on a selfmade HTML/PHP website so fishing for some good tips on where to start.
     
  4. DanDD

    DanDD Junior Member

    Joined:
    Mar 10, 2014
    Messages:
    146
    Likes Received:
    7
    just sent you a pm
     
  5. xtopzi

    xtopzi Regular Member

    Joined:
    Sep 28, 2010
    Messages:
    291
    Likes Received:
    205
    Please don't do that again. Hire a freelancer section can be found here: http://www.blackhatworld.com/blackhat-seo/f76-hire-freelancer/

    Ontopic:

    Most of the admin templates that I found online are way too much. They're either user based CMS or blogging backends. Doess this even exist? Shoud I strip down an existing admin template? No MySQL DB required, just a user friendly panel that writes to a settings.php file that's it.
     
  6. bluehatface

    bluehatface Regular Member

    Joined:
    Oct 19, 2013
    Messages:
    232
    Likes Received:
    98
    Location:
    Here
    Grab an admin theme such as http://themeforest.net/item/adminus-beautiful-admin-panel-interface/94668

    Look at the demo HTML file, and strip it down to it's fundamental. It's usually just a case of adding the CSS/JS and adding some classes to your elements. They are usually pretty simple to decipher.

    That's the way I'd go about it.

    As for the image upload etc., you could save the data to a config .txt file rather than a php file, and the PHP files can pick them up from there.
     
    • Thanks Thanks x 1
  7. bluehatface

    bluehatface Regular Member

    Joined:
    Oct 19, 2013
    Messages:
    232
    Likes Received:
    98
    Location:
    Here
    PS.

    Do you want multiple users? You might have to go the database route to store a few variables, depending on your usage.

    How far have you got? I'm happy to help guide you through it, it's a relatively simple script.