Tags:
create new tag
, view all tags

Question

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).

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RHEL4 Linux
Web server: Apache 2.0.52
Perl version: 5.8.5
Client OS: RHEL4 Linux
Web Browser: Firefox 2
Categories: Plugins

-- JohnDeStefano - 11 Jul 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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

Change status to:
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-03-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.