I have a protected TWiki (on HTTPS:) that is published to a static HTML site (same URL, but HTTP:) using
PublishContrib. With each publication, each web's
WebSearch page is also published, but the search feature on these pages does not function properly (since it's not really within the TWiki site): instead of returning search results, clicking the "Search" button simply returns the user to the same page with no results, regardless of any search terms entered.
Is there a way to customize the published pages so that clicking "Search" will bring the user to the HTTPS version of the same search page, which should return the proper results? If possible, I'd also like to add a custom message to the static pages to let the user know what is going on (and that they will need to log in before viewing results).
--
JohnDeStefano - 11 Jul 2007
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
I know how to customize published pages universally throughout a site using skin templates, but how does one customize the output of a single page (add descriptive text, hide the search bar, etc.)?
Likewise, one can use
STARTPUBLISH and
STOPPUBLISH tags to hide content, but is there a way to add custom content to page that is displayed only on published pages?
--
JohnDeStefano - 16 Jul 2007
Can someone tell me how the
INCLUDE line that calls for the
TWIKIWEB.WebSearch script on each
WebSearch topic page can be hidden from the publishing process? Surrounding it with a set of
STOPPUBLISH and
STARTPUBLISH tags doesn't seem to work.
THanks.
--
JohnDeStefano - 18 Jul 2007
Sorry, closing this after more than 30 days of inactivity...
--
PeterThoeny - 02 Sep 2007
I haven't been able to figure out how to do this.
--
JohnDeStefano - 08 Oct 2007
Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.
--
PeterThoeny - 03 Dec 2007
--
JohnDeStefano - 03 Dec 2007
I can't test this, but I wonder if it would work to simply put something like this at the bottom of the page:
STARTPUBLISH
Sorry, Web Search is only available on the development site.
STOPPUBLISH
--
SueBlake - 14 Jan 2008
Sorry, closing this question again after more than 30 days of inactivity. Feel free to re-open if needed.
--
PeterThoeny - 02 Mar 2008