zerofill 0 Posted January 25, 2010 Report Share Posted January 25, 2010 So if you want to use the browser constant - Search PageWhat would be the best way to go about checking if a word from a list was in the page search? In other words have a list of words... check if any of the words are on the page. Sure this is probably simple however a few attempts later and just generating errors lol. Quote Link to post Share on other sites
zerofill 0 Posted January 25, 2010 Author Report Share Posted January 25, 2010 duh... Thanks 8) I was very close to that...makes perfect sense Keep wanting to just take a value and us in_array() or something lol Quote Link to post Share on other sites
zerofill 0 Posted January 26, 2010 Author Report Share Posted January 26, 2010 Well...problem I am having right now is it is adding to a list but it is adding the 1 under the one it is actually supposed to be adding. It is searching the page for what I want but advancing the list by 1 too early... What I am doing is searching a page for words in a list...when it finds the word in a list it adds that word to a new list. But it always ads the word from the originating list that is after the word it found... I thought at first I would use instead of$next list item (in the search page block/node)use $list Itemand $list Position But that didn't work either...anyone have an idea? Quote Link to post Share on other sites
zerofill 0 Posted January 26, 2010 Author Report Share Posted January 26, 2010 Ahh...great yeah I was trying to decrease from the list position a different way that wasn't working. Thanks again! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.