The Technology Log (techupdate) wrote in component_help,
The Technology Log
techupdate
component_help

no search for me

I'm trying to use the search tutorial, but must have something setup wrong. I copy and pasted (exactly):

function MonthPage::print() {
if ($.args{"searchseed"} != "true") {
page_layout($this);
} else {
var MonthEntryInfo index;
var MonthDay dayindex;
"""""";
foreach $index ($.months) {
print "$index.url?.searchseed=true
";
}
foreach $dayindex ($.days) {
var Entry entryindex;
foreach $entryindex ($dayindex.entries) {
print "$entryindex.permalink_url
";
}
}
"""""";
}
}

Into my theme edit area, and added the html from freefind in a new component box, and added the exclusions to the control center. However, when I try to get the site indexed, it says it's unable to do so.
Any suggestions?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments