Jump to content

add {SEARCH_FORM} to non-cc3 page?


Guest davscot

Recommended Posts

Guest davscot

I have cc3.0.5 as a sub folder to my main site. How can I add {SEARCH_FORM} and a couple of other cc bits to my main index page located in the folder above?

I've tried to do a couple of simple test coping the index.php into the main folder above cc3 and re-pointing the cc3 paths but I end up getting 403 forbidden access error.

Is there a way of adding {SEARCH_FORM} to my main page?

Thanks, David ;)

Link to comment
Share on other sites

Is there a way of adding {SEARCH_FORM} to my main page?

Just look at content of search box template how form variables are named and write your own search form code like this

<form action="<CC3 folder here>index.php" method="get">

<input name="searchStr" type="text" value="">

<input type="hidden" name="act" value="viewCat">

<input name="Submit" type="submit" value="Search">

</form>

just incorporate into main page, apply your own styles and label

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...