You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2004/09/17 03:45:16 UTC
[JIRA] Created: (FOR-294) Search box searches whole internet rather than site
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org//browse/FOR-294
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-294
Summary: Search box searches whole internet rather than site
Type: Bug
Status: Unassigned
Priority: Major
Project: Forrest
Components:
Forrest skins
Forrest website
Fix Fors:
0.6
Versions:
HEAD
Assignee:
Reporter: Ross Gardler
Created: Thu, 16 Sep 2004 8:44 PM
Updated: Thu, 16 Sep 2004 8:44 PM
Description:
The search box on the published forrest site searches the whole Internet rather than just the Forrest site.
I have not tested other skins or publications as yet.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
Re: [JIRA] Commented: (FOR-294) Search box searches whole internet
rather than site
Posted by "Scherler, Thorsten" <th...@apache.org>.
issues@cocoondev.org wrote:
> The following comment has been added to this issue:
>
> Author: Clay Leeds
> Created: Fri, 17 Sep 2004 9:41 AM
> Body:
> This problem occurs in my own project as well. When was this fixed?
> ---------------------------------------------------------------------
Author: thorsten
Date: Thu Sep 9 15:47:28 2004
New Revision: 43634
Modified:
forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
Log:
Fixed the domain bug of the searchbox. The domain was not parsed to the
searchsite hidden field of google. I also explaind a wee bit the @domain.
Modified: forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
(original)
+++ forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
Thu Sep 9 15:47:28 2004
@@ -178,7 +178,7 @@
<div class="searchbox">
<form class="roundtopsmall" method="get"
action="http://www.google.com/search">
<input type="hidden"
- name="sitesearch"
value="{$config/searchsite-domain}"/>
+ name="sitesearch" value="{$config/search/@domain}"/>
<input type="text" id="query" name="q" size="15"
value="Search the site:"
onFocus="getBlank (this, 'Search the
site:');"/> 
Modified: forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml Thu
Sep 9 15:47:28 2004
@@ -31,7 +31,8 @@
Add box-location="alt" to move the search box to an alternate location
(if the skin supports it) and box-location="all" to show it in all
available locations on the page. Remove the <search> element to show
- no search box.
+ no search box. @domain will enable sitesearch for the specific
domain with google.
+ In other words google will search the @domain for the query string.
-->
<search name="MyProject" domain="mydomain"/>
[JIRA] Closed: (FOR-294) Search box searches whole internet rather than site
Posted by is...@cocoondev.org.
Message:
The following issue has been closed.
Resolver: Thorsten Scherler
Date: Fri, 17 Sep 2004 12:47 AM
That is fixed in trunk! We only have to update the site!
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org//browse/FOR-294
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-294
Summary: Search box searches whole internet rather than site
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Forrest
Components:
Forrest skins
Forrest website
Fix Fors:
HEAD
Versions:
HEAD
Assignee: Thorsten Scherler
Reporter: Ross Gardler
Created: Thu, 16 Sep 2004 8:44 PM
Updated: Fri, 17 Sep 2004 12:47 AM
Description:
The search box on the published forrest site searches the whole Internet rather than just the Forrest site.
I have not tested other skins or publications as yet.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[JIRA] Commented: (FOR-294) Search box searches whole internet rather than site
Posted by is...@cocoondev.org.
The following comment has been added to this issue:
Author: Clay Leeds
Created: Fri, 17 Sep 2004 9:41 AM
Body:
This problem occurs in my own project as well. When was this fixed?
---------------------------------------------------------------------
View this comment:
http://issues.cocoondev.org//browse/FOR-294?page=comments#action_11555
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org//browse/FOR-294
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-294
Summary: Search box searches whole internet rather than site
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Forrest
Components:
Forrest skins
Forrest website
Fix Fors:
HEAD
Versions:
HEAD
Assignee: Thorsten Scherler
Reporter: Ross Gardler
Created: Thu, 16 Sep 2004 8:44 PM
Updated: Fri, 17 Sep 2004 9:41 AM
Description:
The search box on the published forrest site searches the whole Internet rather than just the Forrest site.
I have not tested other skins or publications as yet.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira