 |

Crankez
User
Feb 6, 2007, 8:00 AM
Post #1 of 10
(566 views)
Shortcut
|
|
Search error by clicking on Next results
|
Can't Post
|
|
I got error when i try to clicking on "Next", I'm getting an error message Error: Unknown fieldname '[unknown placeholder $form.keywordSearchFields$]'! The first results works fine Any advice about that?
|
|
|  |
 |

ross
Staff
/ Moderator

Feb 6, 2007, 4:34 PM
Post #2 of 10
(558 views)
Shortcut
|
|
Re: [Crankez] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
Hi there. Thanks for posting . The error page you are getting when clicking on next is coming from an extra bit of code on your templates. What you'll want to do is open up /articleLists/categoryIndex.html and look for the following bit of code:
&keyword=$form.keyword:urlEncoded$&keywordSearchFields=$form.keywordSearchFields:urlEncoded$ once you find it, remove it . It's in two place so make sure you grab both but make sure you only delete that part. There will be more code on the same line but you don't want to delete that. Just the part I mentioned. Once you finish, the same thing will need to happen on /articleLists/globalIndex.html Give this a shot and republish your global index and category indexes. I look forward to hearing from you . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Crankez
User
Feb 6, 2007, 4:50 PM
Post #3 of 10
(554 views)
Shortcut
|
|
Re: [ross] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
Ross, that code I cant find it in templates that you say, but i got it on searchResults.html Should be i need delete it on that template? I forget to say the error are from the serach results, the first search are fine but if there are more results than the first page give a error when i clik next
(This post was edited by Crankez on Feb 6, 2007, 5:06 PM)
|
|
|  |
 |

ross
Staff
/ Moderator

Feb 7, 2007, 4:48 PM
Post #4 of 10
(537 views)
Shortcut
|
|
Re: [Crankez] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
Hi there. That's going to be ok. Just leave the search templates as is because they actually do need the keyword placeholders in there. When you are on a category index page and click next, it does end up using the search engine but it still uses the category index template which means the keyword placeholder isn't valid so it needs to be removed. Does that make sense? Were you able to get the links going again? Keep me up to date . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

skitle
New User
Feb 13, 2007, 12:56 PM
Post #5 of 10
(507 views)
Shortcut
|
|
Re: [ross] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
I am getting the same error, but only when using the advanced search page. The error is involved with the searchResults.shtml template. In addition, the search function does not appear to work very well. Every time I search for something that should be rather unique, it returns all entries, whether it includes the keyword term or not.
|
|
|  |
 |

Roberto
User
Feb 14, 2007, 1:49 PM
Post #6 of 10
(498 views)
Shortcut
|
|
Re: [skitle] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
problems also in advanced search ----- [unknown placeholder $articleList$] Wat can i do to make this........ and also i have a other question I use a script what i have using in AM1 but now in 2 iam getting a error. <script> var lnum; if ('$articleList.lastResultNumber$' == '0') { lnum = 0; } else { lnum = $articleList.firstResultNumber$; } </script> Uw zoekopdracht voor: <strong> $in_keyword$ </strong> resulteerde in <script>document.write(lnum);</script> - $articleList.lastResultNumber$ van $articleList.totalResults$ gevonden onderwerpen<hr size=1><br> After the search the output is.... Uw zoekopdracht voor: [unknown placeholder $in_keyword$] resulteerde in 1 - 10 van 22 gevonden onderwerpen What can i do to make [unknown placeholder $in_keyword$] Best regards Roberto
(This post was edited by Roberto on Feb 14, 2007, 1:52 PM)
|
|
|  |
 |

ross
Staff
/ Moderator

Feb 14, 2007, 2:09 PM
Post #7 of 10
(494 views)
Shortcut
|
|
Re: [skitle] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
Hi there. The fact that you are getting the error on your advanced search page because the keyword placeholder is definitely needed there. Would you mind sending me a link to your site so I can check it out? If you didn't want that link to be on the forums here, you could send me a support request. https://www.interactivetools.com/support/email_support.cgi Either way, I look forward to hearing from you . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

ross
Staff
/ Moderator

Feb 14, 2007, 2:14 PM
Post #8 of 10
(492 views)
Shortcut
|
|
Re: [Roberto] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
Hi Roberto Thanks for posting! This is the same thing as my post above. Could you either post a link to your site for me to look at or just send a whole support request in? With regards to the script you are working on, my first thought would be that $in_keyword$ isn't actually available in Article Manager. What you'll want to replace that with is $form.keyword$. If that doesn't get you going, I am not really sure just yet because we aren't really coders. Let me know how you make out with that . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

skitle
New User
Feb 14, 2007, 2:23 PM
Post #9 of 10
(491 views)
Shortcut
|
|
Re: [ross] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
currently, the site is at http://www.academicleadership.org/new/publish until I get everything worked out. While you are there, can you please do a search and see how many articles returned that have nothing to do with the search keyword. Thank you. Your time is very much appreciated.
|
|
|  |
 |

Donna
Staff
/ Moderator

Feb 15, 2007, 5:08 PM
Post #10 of 10
(470 views)
Shortcut
|
|
Re: [skitle] Search error by clicking on Next results
[In reply to]
|
Can't Post
|
|
Hi skitle, I did a few searches on your site, and the first few references seemed to match up with my test words fairly well. Can you give me an example of a search term that is coming up with odd results? Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|