[PHP] Can helpme?

TonnyORG

I Code Things
Community Support
Messages
5,914
Reaction score
16
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:
The Link say "/demp.php?show=demo" // Its a demo link
The the content table say "{func:show}" // All the content

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
 

LHVWB

New Member
Messages
1,308
Reaction score
0
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.
 

TonnyORG

I Code Things
Community Support
Messages
5,914
Reaction score
16
Points
38
I submit the template to the atachments ^^

salu2
 
Last edited:

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
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
 

TonnyORG

I Code Things
Community Support
Messages
5,914
Reaction score
16
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
 

LHVWB

New Member
Messages
1,308
Reaction score
0
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.
 

Attachments

  • Template.zip
    72.8 KB · Views: 1

TonnyORG

I Code Things
Community Support
Messages
5,914
Reaction score
16
Points
38
i studing the tutorial ^^

Thankyou for helpme ^^


grettings
salu2
 
Top