SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2005
    Location
    Australia
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CMS's and custom PHP coded pages

    Hello All,

    I was wondering if i could get some advice...

    I'm wanting to implement some php code on a cms based site. so i can leverage of its usability, users and overall design.
    Im forever having trouble seeing where and how i can edit a 'custom' page..?

    the PHP is fairly simple, it adds data to a Db, and depending on results, spits out different results.
    So how, or what CMS is best to be able to 'embed' the script into..?

    i know there may be some problems with global variables/db connections etc.
    But i starting point would be excellent

    Thank you in advance
    --------------
    Mez

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,319
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    Presumably each CMS is different. I'm sure that there must be a way to do this with any PHP-based CMS is if you know how to work with PHP and databases. I use ExpressionEngine, and add in my own PHP often, but it costs a bit, so that may turn you off. There are many free alternatives.

  3. #3
    SitePoint Wizard bronze trophy
    Join Date
    Oct 2001
    Location
    Vancouver BC Canada
    Posts
    2,033
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Mez,
    Are you familiar with any of the mainstream CMS that are available (Drupal, Wordpress, Joomla, ExpressionEngine, etc...)?

    You're going to find that most CMS packages provide one way or another to embed your custom code but you'll have to figure out the "way" the CMS works first. Each CMS will have established practices for doing things and once you figure out how these practices work, it should be quite simple. I use Drupal and on first glance, I can think of three ways to insert the code (module, block, theme). I'm sure you'll find many CMS's that will provide this ability but you'll have to learn the ins and outs of the CMS you choose to do so.
    Andrew Wasson | www.lunadesign.org
    Principal / Internet Development


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •