|
| |||||||
| Support (Version 2) Here is where we provide limited support for version 2. If you are seeking support for version 3 please post in the phpLD 3.0 Support Forum. |
![]() |
| | topic widgets |
| | #1 |
| Join Date: Feb 2006 Posts: 50 | Sorry i now this sounds stuppid but i am trying to add more pages where i am trying to ad the footer and the header but it all gets mesd up any one now where i can get more info or help example i have my directory on {url no longer in service} but i would like to have a page cald {url no longer in service} (for ex) wich has the same header and footer but i can change the content of it please help Last edited by David; 03-26-2008 at 04:36 AM. |
| |
| | #2 |
| Supporter Join Date: Dec 2005 Posts: 484 | Example: creating an 'About Us' page 1. Create a file called about.tpl place in templates folder where main.tpl is etc about.tpl to contain: Code: Content visible to registered users only. 2. Create a file called about.php, place in root where index.php is etc. about.php to contain: Code: Content visible to registered users only. 3. Call the new page up by placing destination link wherever you want to place it, like this: Code: Content visible to registered users only. You can use this template process for any other new pages you wish to create. Net. Last edited by Neticus; 05-09-2006 at 01:59 PM. |
| |
| | #3 |
| Join Date: Feb 2006 Posts: 50 | So if i want to put this in diffrent folders for ex i want to put the about page in a folder cald about what do i do then? |
| |
| | #4 |
| Join Date: Feb 2006 Posts: 50 | Code: Content visible to registered users only. i tried but all i got is this... Warning: Smarty error: unable to read resource: "about.tpl" in /home/busy/public_html/libs/smarty/Smarty.class.php on line 1088 please help :roll: :roll: :roll: |
| |
| | #5 |
| Supporter Join Date: Feb 2006 Location: As far from you as humanly possible! Posts: 2,860 | Code: Content visible to registered users only. |
| |
| | #6 |
| Join Date: Feb 2006 Posts: 50 | thanks ![]() my problem is that i am trying to greate about 200 diffrent pages so i would like to have them in a sepprate folder is this possible ??? |
| |
| | #7 |
| Join Date: Feb 2006 Posts: 50 | Anyone??? |
| |
| | #8 |
| Supporter Join Date: Mar 2006 Location: USA Posts: 396 | I don't see why not. Just make a folder and do the steps posted above. I think it will work |
| |
| | #9 |
| Join Date: Feb 2006 Posts: 50 | Code: Content visible to registered users only. i would like to put the about.tpl and the about.php in the about folder and then have a folder for exampel2 with exampel2.tpl and exampel2.php is this possible? Cheers... Fred |
| |
| | #10 |
| Supporter Join Date: Dec 2005 Posts: 1,243 | I have not tried this, but I would imagine it should work. Just put your folders in the templates folder. Then in the code for the php file in the root, change the fetch to look like I have it. Code: Content visible to registered users only. |
| |
| | #11 |
| Supporter Join Date: May 2006 Posts: 1,279 | This worked like a charm, I just added a page and loaded it up and works flawlessly ![]() Thanks guys |
| |
| | #12 |
| Join Date: Apr 2006 Posts: 134 | EDIT:// nvm, fixed Last edited by ewwharhar; 05-14-2006 at 08:17 PM. |
| |
| | #13 |
| Join Date: Jul 2006 Location: down under!!!!!!!!! Posts: 14 | HELP!!!!!!!!!! Fatal error: Smarty error: unable to write to $compile_dir '/home/httpd/vhosts/808.com/httpdocs/ld/temp/templates'. Be sure $compile_dir is writable by the web server user. in /home/httpd/vhosts/808.com/httpdocs/ld/libs/smarty/Smarty.class.php on line 1088 |
| |
| | #14 |
| Join Date: Jul 2006 Location: down under!!!!!!!!! Posts: 14 | Why Did I Get That? I Changed The Codes Like What's Instructed |
| |
| | #15 |
| Supporter Join Date: Dec 2005 Posts: 484 | @devilishqueen Try deleting the template files from the /temp/templates folder. It's ok you can do this. |
| |
| | #16 |
| Join Date: Jul 2006 Location: down under!!!!!!!!! Posts: 14 | {url no longer in service} can anyone help me how to get back to my directory wityhout that error message.. i tried to undo the changes and upload the files back.. but still the samne error.. Last edited by David; 03-26-2008 at 04:36 AM. |
| |
| | #17 |
| Join Date: Jul 2006 Location: down under!!!!!!!!! Posts: 14 | @neticus are u sure? sorry..im just worried now.. :( |
| |
| | #18 |
| Supporter Join Date: Dec 2005 Posts: 484 | Have you done this in the INSTALL.txt: Upload the files in the archive to your host. Change permissions on the following file and four folders to 777 include/config.php temp/ temp/adodb temp/cache temp/templates If the folders do not exist please create them. |
| |
| | #19 |
| Join Date: Jul 2006 Location: down under!!!!!!!!! Posts: 14 | Fatal error: Smarty error: unable to write to $compile_dir '/home/httpd/vhosts/808.com/httpdocs/ld/temp/templates'. Be sure $compile_dir is writable by the web server user. in /home/httpd/vhosts/808.com/httpdocs/ld/libs/smarty/Smarty.class.php on line 1088 i still got the same error message |
| |
| | #20 |
| Join Date: Jul 2006 Location: down under!!!!!!!!! Posts: 14 | ok.. i just changed the permission on the four folders.. so what should i do next? i just need to get the dir back.. without the error messages... :( |
| |