[PHP] Can helpme?

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by TonnyORG, Mar 28, 2008.

  1. TonnyORG

    TonnyORG I Code Things Community Support

    Messages:
    5,927
    Likes Received:
    16
    Trophy Points:
    38
    Hi, im nob in php code, and i found a web tamplate, in this template use the php.
    I have some questions:
    This is an example of the template:
    My question is: how i can write the content for examplo for "DEMO"?
    I need writte $demo = 'All the text for example' how function or how?

    I need know how works the func:show sistem because i dont know any php code, and in php.net i can't found it T.T

    Can any one helpme here?

    Sorri for my bad english XD


    grettings
    salu2
     
  2. LHVWB

    LHVWB New Member

    Messages:
    1,308
    Likes Received:
    0
    Trophy Points:
    0
    Could you please post all the code for the page and the function, as well as a link to the site if possible. Nobody can help without having a look at the code.
     
  3. TonnyORG

    TonnyORG I Code Things Community Support

    Messages:
    5,927
    Likes Received:
    16
    Trophy Points:
    38
    I submit the template to the atachments ^^

    salu2
     
    Last edited: Apr 16, 2008
  4. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    163
    Trophy Points:
    63
    as far as I can see, the template is defining functions that do not exist. This is probably a very advanced script. I would recomend using a content management system for your purposes. Content Management Systems can be found in the Fantastico section of your Cpanel. If you are still looking for a template, I would use http://freewebsitetemplates.com. They offer many good templates and are very simple to customize. If you need any help, feel free to Private Message me.

    --Leafy
     
  5. TonnyORG

    TonnyORG I Code Things Community Support

    Messages:
    5,927
    Likes Received:
    16
    Trophy Points:
    38
    i know many CSM but, i dont like because aren't customizable at 100% i prefer do my own templates XD
    And in this case, can i create the {func_show} for the template?
    Thankyou for all your help


    grettings
    salu2
     
  6. LHVWB

    LHVWB New Member

    Messages:
    1,308
    Likes Received:
    0
    Trophy Points:
    0
    I think I've worked out what you need to do. Either you want to install a content management system, or you want to just show certain pages.
    Have a look at this thread, That may be a little too complicated so I'll summarize what you have to do.

    1. Change the name of index.html to index.php, so that it will be run as a php document.
    2. Create a folder for all your files.
    3. Put this code where you wanted to have the func_show.
    4. Finally put any files into the files folder that you want.

    Attached is an example of this, with the code changes to your code.
     

    Attached Files:

  7. TonnyORG

    TonnyORG I Code Things Community Support

    Messages:
    5,927
    Likes Received:
    16
    Trophy Points:
    38
    i studing the tutorial ^^

    Thankyou for helpme ^^


    grettings
    salu2
     

Share This Page