If it says that, either the SearchLink plug-in is not activated in the administration section or you have another plug-in installed that is using the display_before_search script hook. In the latter case, you'll have to see if there's a conflict elsewhere.
Dan O.
------------------
I even moved the plugin to the very top og the list, and disabled all the other plugins, and i get the same thing.
Where would i look?
You could look in each of the directories that is off the plugins directory to see if any contain a file named "display_before_search.pl" but moving that plugin to the top should have over ruled others if present. So that may not be the cause.
It could possibly be that the file is corrupted and the script is not even attempting to execute its code at all. Maybe try downloading a fresh version, unzipping it locally then reuploading it making sure it is done in ascii mode.
That plug-in replaces the original search routine so all searches will (try to) use it if the plug-in is enabled.
I don't know what else to tell you, it works fine on my system and I can't see why it wouldn't on any other. Can you provide the URL to your calendar?
Also, maybe tw1000 will post if he was able to utilize the plug-in successfully or not?
[This message has been edited by DanO (edited January 18, 2003).]
BTW - the search field is messed up because of the wysiwyg editor. Also trying to get fixed... ------------------
the exact link i am using to search is: http://www.darkvisionsmedia.com/cgi-bin/calendar/calendar.pl?view=Search&command=search&calendar=default&duration=365&FIELD_description=beneath+the+ashes
Its a different outcome if you take off the field description var like: http://www.darkvisionsmedia.com/cgi-bin/calendar/calendar.pl?view=Search&command=search&calendar=default&duration=365
Thanks muchryan
[This message has been edited by beneath_the_ashes (edited January 18, 2003).]
Is it possible to work around the Meta/Search issue?
That may be the whole problem. If I get a chance in the next couple of days I'll see if I can find if anything in that hack could effect the Search Link plug-in.
Have you been able to get the wysiwyg editor to work at all?
Those plug-ins won't work together because they both use the same CalendarScript hook (display_before_search).
** Is it possible to work around the Meta/Search issue? **
It will require the two different display_before_search.pl files to be combined. I'll see if I can do that and make it available for download, it probably won't be until the middle of next week. I'll post a note here when it's ready.
BTW. How does the Meta Calendar mod work for you otherwise?
quote:It will require the two different display_before_search.pl files to be combined. I'll see if I can do that and make it available for download.
tw1000, it didn't take as much time as I thought, just some copying and pasting. A replacement display_before_search.pl is now available for download from www.much2.com and is located with the original Meta Calendar's plug-in link.
Let me know how it works.
I haven't yet figured out what's going on on your calendar but in the mean time you can correct the "Invalid input type: 'wysiwyg'!" by doing the following.
Go to the modified DBFileUtil.inc used for the 'wysiwyg' display and change one line towards the end of it. In the sub GetSearchFieldInput find the line following # Define input field based on typewhich is:
if (($type =~ /^text(?!area)/) | | ($type =~ /^password/) | | ($type =~ /^textarea/)) {
and change it to:
if (($type =~ /^text(?!area)/) | | ($type =~ /^password/) | | ($type =~ /^textarea/) | | ($type =~ /^wysiwyg/)) {
See if that makes any difference. Be sure to make a backup of the original!
BTW. This forum inserts a space between each | | in the code above so those spaces will have to be removed before pasting the code into that file.
[This message has been edited by DanO (edited January 19, 2003).]