1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

PHP Integrate template with PHP

Discussion in 'Web Development' started by pj1115, May 18, 2008.

  1. pj1115

    pj1115 New Member

    Hey

    I'm using one of the great free templates from your site (thanks!). I can cope with HTML really well and I'm pretty confident with PHP. But, there are going to be others updating the site, and they don't like going near it, so I was wondering does anyone know a way of integrating a CMS-type thing with the template, so that others can edit the content of the site using a PHP editor.

    Anyone help?
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    You might want to try intergating the template into Joomla or B2Evolution or Wordpress as they are CMS and use css files.
    php is really used as a server side script to present and keep your web functioning. You really do not others updating the function of your web do you?
    I think you need something like the 3 mention, which have TEXT editors built in and are designed for others to edit based on the permissions you assign.
     
  3. pj1115

    pj1115 New Member

    I've set up numerous Wordpress blogs and Joomla CMS's before, but how easy would it be to more or less port one of the templates to a compatible theme?

    The website is a general-purpose one, and I will add a gallery eventually, but I do have the need for others to update information on the site, for example a portfolio.

    Do you know of a simple solution? For example, in the HTML, do you think there would be a way of calling the text? (i.e. Have the HTML as normal, but in place of the text, the a function is called that queries the script for the text). This text should be editable using a web-based text editor.
    Is this possible?
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Templates take me about a week. Based on what you said you might what to use the include function in php http://www.tizag.com/phpT/include.php it inserts the contents of a file from a script.
     
  5. pj1115

    pj1115 New Member

    Great, that's what I'm looking for. Now, all I need is a text editor. Anyone have any ideas?
     
  6. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

    Notepad.
    Comes installed on all windows machines.
    ;)
    Or, you can use Notepad++
    (which does not come installed on all windows machines)
    just google it.
     
  7. pj1115

    pj1115 New Member

    Oops, I should have worded my question better. I use Dev-C++ IDE to do alot of things, and though it's an IDE, it's wonderful for working with large ASCII files.

    I was actually looking for an online HTML editor -- so, if I'm using PHP's include() function to include HTML or TXT files, I need a way of updating those files from a web application. I found FCKeditor, but I'm not sure if that's what I'm looking for. Any ideas?
     
  8. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    FCKeditor - what more could you want. It's feature rich, Integration unsurpassed, easy too use.
     
  9. hyugakojiro9

    hyugakojiro9 New Member

    I have the same problem. I want to use a cms but dont want to use its own template. I downlad a free template from this site, and i liked it.
    How can i transform it to my joomla, php based, site? Please, can anyone help?
     
  10. Mimoun

    Mimoun Administrator Staff Member Director Verified Member

    We will soon support joomla for all our website templates.
     
  11. brandon74

    brandon74 New Member

    Thanks for advance. I have learned php tutorials and now can edit the content of my site with help of your forum.
     
  12. tomw

    tomw Member

    Hey pj115, odCMS will let you do what you need easily. If you want to give it try I can help you out if needed.
     
  13. katende

    katende New Member

    how can i get a php template.