Jump to content

Maverickb7

Members
  • Posts

    112
  • Joined

  • Last visited

    Never

Posts posted by Maverickb7

  1. Hi people...
    I'm trying to create a cms to run a site of mine and have come across a problem. I have a file called settings.php that contains a bunch of settings in the following format. I example of how the file looks follows:

    [code=php:0]
    <?php
    $SETTINGS_PATH = "/home/public_html/settings";
    $TEMPLATE_PATH = "/home/public_html/templates";
    $ATEMPLATE_PATH = "/home/public_html/templates";
    $DB_NEWSTAB="newszv";
    $LANGUAGE_FILE="en_language";
    ?>
    [/code]

    What I would like to know is what the best method would be for editing these settings via http within a admincp. I'm just starting with php so a simple and effective method would be appreciated. If anyone could show me a tutorial or provide me with some code that does this for me that would be great as this is something I would really like to add.
  2. does anyone know how I could make the words wrap when inputted within a textfield. Sometimes I have a long url and it makes a horizontal scrollbar appear making it look somewhat ugly. Does anyone know how I can avoid this?
  3. Hi, I was wondering if someone could point me in the right direction. I'm trying to have my mysql content listed on a single page in alphabetical with "A B C D E F ect.." at the top of the page. You click A and you'll get all items starting with A. Does anyone know of a tutorial I could use to learn how to do this?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.