Page 1 of 1

Using Extensions OUTSIDE of CMS

Posted: Sun Jan 27, 2008 6:00 pm
by bcsweb1
I have a few php pages that I can not get to work within the CMS system and after 3 weeks of trying I am going to try something else.

I "wrapped" the php page with the CMS template - outside of the CMS System - just a normal every day PHP page.

However, in this template I use the Search Function of CMS...

This is under Extensions ---> Search ---> Search Template - within the CMS:

Code: Select all

<li id="home_search">
		
	{$startform}	

   {$inputbox}
<input src="images/layout/go_btn.gif" alt="Go!" type="image" width="61" height="32" value="{$submittext}" type="submit" />
{if isset($hidden)}{$hidden}{/if}{$endform}
	</li>	

My templates IN the CMS use this to call it up:

Code: Select all

{search resultpage="search_results" searchtext="Search Our Site..." }
Now here is my question:

How do I get this code to work OUTSIDE of the CMS system so my page look correct?

I am not trying to "search" outside of the CMS system at all - just trying to maintain my template look in a PHP page outside of the CMS.

I have tried with the code the other pages use:

http://www.alsipnursery.com/alist_customer_NEWSITE.php

And I have tried with the actual search template code:

http://www.alsipnursery.com/alist_customer_TEST.php