Normaly this goes with include command but where do i put include code and how do i use include.
I try several options in pligg.tpl and in header.tpl all i got is crash and eror.
Well please help me and tell me how i use command include with pligg and where should i put that code.
I need to include file between <head> </head>
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| how to: include php files in header |
| ||||
|
in tpl to use/write php code you will need to wrap that code with {php} {/php} tags
|
| The Following User Says Thank You to dollars5 For This Useful Post: | ||
| |||
|
ok but can you tell me in which file i need to include this and how do i use include command, there are many ways, whats best way with pligg, i know many of you included something, its most common command, so please help me.
|
| |||
|
Glad you asked this, helped me, too. Thanks for all that responded.
|
| |||
|
Thanks! This helps me too
|
| |||
|
Trying this but I the error below. Where do the files belong? Do I need to edit the class.template.php in some way? Fatal error: TPL: [in line 0]: syntax error: file '.tpl' does not exist in C:\wamp\www\plg\class.template.php on line 923 |
| |||
|
had same eror, then i use this: {include file="yourfilename.tpl"} but then i had some other error with file that i want to include, some database error thats maybe not corespondent to including files so try this and say. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Include a php file inside a custom .tpl? | animas | General Help | 1 | 01-12-2008 11:58 PM |
| Pligg Errors | tcritic | General Help | 1 | 08-15-2007 01:28 PM |
| cann't vote in pligg (buliding 802) | haxhax | Bug Report | 27 | 03-10-2007 06:53 AM |
| dreamhost and validation image problem | Xanatos | Installation and Upgrade Help | 17 | 01-17-2007 01:14 PM |
| /var/log/httpd/error_log messages | gr8rcake | Bug Report | 3 | 01-28-2006 09:28 PM |





Linear Mode

