[Lock Please] Integrate script with php safe includes?
I am working on a design that uses Safe Dynamic Includes to navigate and display the site.
Is there any way to integrate the script into the coding I am doing for the site? Here is a snippet of the code I'm working with if that helps. Code:
<HTML> |
RE: Integrate script with php safe includes?
I just had a thought Brandon. If I kill the template information for the script and insert the PHP codes for the script into the header of the site would that work? If so, what would I need to delete and where?
|
RE: Integrate script with php safe includes?
To kill the template system, in each file you would need to find and comment out / delete:
PHP Code:
You can also echo the other variables for the script out such as the one that controls if a user is logged in or not, or you can integrate that all some other way. |
RE: Integrate script with php safe includes?
All right. Now that I know what to get rid of I'll be able to get the new layout up for users soon. They'll be happy about that.
|
RE: Integrate script with php safe includes?
I'm doing this in a beta subdomain, and I'm getting this error now:
Code:
Parse error: syntax error, unexpected $end in /home/enddayne/public_html/beta/header.php on line 248 PHP Code:
PHP Code:
|
RE: Integrate script with php safe includes?
Is that the whole code of header.php? What is the link to this so I can take a look.
|
RE: Integrate script with php safe includes?
I've got some sections of it sorted out, but there are still errors popping up (register2, can't display login box in sidebar).
The link is http://beta.familiarelements.info, I've been adding PHP Code:
|
RE: Integrate script with php safe includes?
New development, working on editing register2.php
Code:
Parse error: syntax error, unexpected T_IF, expecting ',' or ';' in /home/enddayne/public_html/beta/register2.php on line 19 PHP Code:
|
RE: Integrate script with php safe includes?
This line is incorrect:
PHP Code:
PHP Code:
|
RE: [Lock Please] Integrate script with php safe includes?
I'm just going to scrap this. Did some editing and now the site works fine. Going to have to do a new template though...
|
All times are GMT -5. The time now is 11:11 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.