Hello,
Do you know where I could find an application to insert into my already established template based website. An application to enable me to edit
any or all the pages via an amin area. I want all the pages in the mysql
database. please let me know...Thanks, Dan

    There are quite a few tools that you can you which are free.

    I found this one on a general search:

    http://phpmyadmin.sourceforge.net/download.html

    I cant find the link to the one that I have used - but this seems to be similar.

    In the long run, you might find it easier to develop your own admin pages.

      Thanks Neil,
      I am trying to figure out how to add content on the back end and it show up on the targeted page. What tables would you make and what php code would you insert in the page to call that information. I wish I could finally learn this..
      Thanks for your help..DAN!

        dan,

        that depends upon how complex your frontend is. do you want different layouts like text only/text and images, ...

        you could write a function and put it in all your pages ie getContent("aboutus") and inside the function do a "SELECT text FROM content WHERE label='$label'" or do you want it more complex (various languages, on/off-time of content)...

        give more details about what u want, so we can give u a few hins how to solve that

          Hello Fonsi,
          Here is a link to the site that I am developing now.. Http://www.planttel.com/newsite2/home.php

          This whole site was build using a combination of things such as a generic
          Fast Template,PHPAUTH system and CSS. Of course I have PHP and mysql
          with PHPADMIN..

          I want to be able to do a verity of things like what ever the user chooses in the
          the initial sign up will customize the user page when they log in. For example we are an ISP we would like to have our customers register for an "MY PLANT" page.
          In the registration there will be three important fields - Language, City and email address. On the language there will be two selections English(default) and spanish. If the customer chooses spanish then the new site will display spanish.

          The city is the next very important part of the site because when they choose a city it will display specific information about that city, such as movies, news ect....... Email address I want there to be a way that people can not sign up for this unless they are a plant customer.. I know what I want but don't know how to get there. I need a solution. Here is the code for the home.php

          !-- home.php -->
          <?php require('prepend.php'); ?>
          <?php pageStart('Home'); ?>
          <br>
          <center><h1>Hello World</h1>
          <p>Welcome to my web site.</p>
          <p>I hope you like it.</p></center>

          <?php pageFinish(); ?>

          Here is the prepend.php

          <?php

          /**
          Provides functions for establishing site-wide common framework.

          Synopsis
          <?php require('prepend.php'); // or use auto_prepend feature ?>
          <?php pageStart('Page Title'); // initialise framework ?>
          <h1>Content</h1>
          <p>This is the page content.
          There is no need to escape
          'special' "characters".</p>
          <?php pageFinish(); // construct and output page ?>
          */

          require('class.FastTemplate.php');

          /**
          Initialises global FastTemplate object. Turns output buffering on
          to capture page content.

          @ title page title string

          */
          function pageStart($title = '') {

          GLOBAL $tpl;

          $tpl = new FastTemplate('.');
          $tpl->define( array( 'main' => 'main.htm',
          'header' => 'header.htm',
          'leftnav' => 'leftnav.htm' ) );
          $tpl->assign('TITLE', $title);
          ob_start();
          }

          /**
          Uses FastTemplate object to construct and output the page.
          Page body content comes from previously buffered output.
          */
          function pageFinish() {

          GLOBAL $tpl;

          / get page contents /
          $content = ob_get_contents();
          ob_end_clean();
          $tpl->assign('CONTENT', $content);

          / construct the page /
          $tpl->parse('HEADER', 'header');
          $tpl->parse('LEFTNAV', 'leftnav');
          $tpl->parse('MAIN', 'main');

          / output the page /
          $tpl->FastPrint('MAIN');

          }

          I hope this helps shed some light on what I want.. Thanks for all your help thus
          far.. Your friend, DAN!

            Write a Reply...