Tags:
create new tag
view all tags

Question

Hi - I have an edit icon inserted in my TABLE-formatted search results users can click to go directly into edit mode for a given topic:

<a href=%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/$topic><img src=%PUBURL%/%TWIKIWEB%/TWikiDocGraphics/edittopic.gif border=0 /></a>

That works fine for topics residing in that web, but not for topics residing in different webs. I tried something like the following to request a search across multiple specified webs for the specific topic title, but it breaks the query:

%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%METASEARCH{web="NetworkSystems Dweng"}%/$topic

Any ideas? My entire table/search string is reproduced below. Thanks in advance for any help or suggestions.

Chris Radcliff

%TABLE{cellspacing="2" tableborder="1" tablewidth="100%" columnwidths="2%,21%,21%,21%,10%,5%,5%,5%,5%,5%,5%" headerbg="#CCFFFF" databg="#FFFFFF" valign="top" dataalign="left" initsort="1"}%
| *Pri* | *Project/Description* | *Active Milestone* | *Issues* | *Staff*| *Start* | *End* | *100 Day* | *PLM?*| *CapEx?* | *Log ID* | 
%SEARCH{ "[P]rojectName.*?value=.*?[^0-9a-zA-Z]?*[a-zA-Z]+;NetworkSystemsTeam.*?value="Data Warehouse"+;ProjectStatus.*?value=.*?Active" scope="text" regex="on" nototal="on" web="Dweng, NetworkSystems" order="formfield(ProjectPriority)" nosearch="on" casesensitive="on" excludetopic="ProjectTemplate" format="| $formfield(ProjectPriority) | [[$web.$topic][$formfield(ProjectName)]] $formfield(ProjectDescription) <a href=%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/$topic><img src=%PUBURL%/%TWIKIWEB%/TWikiDocGraphics/edittopic.gif border=0 /></a> | $formfield(ActiveMilestone) | $formfield(ProjectIssues) |  $formfield(ProjectStaff) | $formfield(ProjectStartDate) | $formfield(ProjectDeliveryDate) | $formfield(OneHundredDay) | $formfield(SoxProjectTracking) | $formfield(CapEx) | $formfield(LoggerId) |"}%

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: Windows XP Version 2002 Service Pack 2
Web Browser: Firefox 2.0.0.12
Categories: Search

-- ChrisRadcliff - 14 Mar 2008

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.

Simply using $web instead of %WEB% should do the trick.

-- HaraldJoerg - 14 Mar 2008

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-03-14 - HaraldJoerg
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.