![]() |
Moved Home Page to Root: Small Problem |
Post Reply ![]() |
Author | ||
mrjasonsweet ![]() Newbie ![]() Joined: 03-June-2006 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 19-September-2008 at 10:24am |
|
Greetings - I successfully moved the default home page to the root of the site. All works fine except for one small problem:
![]() This is the standard SmallSearchBox.asp include that I have in header.asp. When the default home page location is viewed, the "searching.. please wait" message does not appear. The actual text is referenced in language.asp as: dictLanguage.Add "english_advSrca_23", "Searching... Please Wait." And I can see this is referenced in smallsearchbox.asp under: <% '// Loading Window Response.Write(pcf_InitializePrototype()) response.Write(pcf_ModalWindow(dictLanguage.Item(Session("language")&"_advSrca_23"), "2", 200)) %> Is this an Ajax related issue? Any insight or feedback would be appreciated. |
||
![]() |
||
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
|
Can't say I know the answer off the top of my head, but just check that you followed the guidance on the WIKI for moving to root, which includes a section on preserving AJAX functionality provided by Greg.
|
||
![]() |
||
ProductCart ![]() Admin Group ![]() ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
|
The issue is that the JavaScript function that it invokes uses files that are not found since you are loading the code 2 directories up. We are referring to the following function.
You would have to move a lot of files to the root to make this work properly. Much easier to simply use a version of the "small search box" that does not use the "Wait... searching" modal window. To do so, remove the following code:
|
||
![]() |
||
inetbizo ![]() Groupie ![]() ![]() Joined: 10-April-2008 Location: Destin, FL, USA Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
|
I have set the store to webroot but wish to keep ajax messages. Where do I find the wikidoc explaining what I need to do ajax wise to keep it working after the upgrade to 3.5? http://wiki.earlyimpact.com/talk/how_to/ajax_small_search_box
Edited by inetbizo - 12-November-2008 at 1:44pm |
||
Current Project http://www.canvasusa.com
|
||
![]() |
||
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
|
![]() |
||
inetbizo ![]() Groupie ![]() ![]() Joined: 10-April-2008 Location: Destin, FL, USA Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
|
Well, her is the thing. It worked before the 3.5 upgrade. So, perhaps the main wiki page for small search box should document the addendum if you move site to webroot or had it in root and receive a vbScript error. On the talk page that I created, I posted the link to your answer before I got your reply.
|
||
Current Project http://www.canvasusa.com
|
||
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |