How to make a search result a link?

Ive got a search box on a web page which displays results beneath it (please see screenshot below) but id like to make the page a little more user friendly by making the URL result a link when it dispaly's in the results, so that guests only have to click on the link to direct them to that URL. Its something that will have to happen automatically when results are shown, maybe a server behavior?
Does anyone have any suggestions how to do this?

<td width="250"><a href="<?php echo $row_rsDonationResults['url']; ?>"><?php echo $row_rsDonationResults['url']; ?></a></td>
Also I thought I'd mention that your link needs the http:// at the begining to work, so you can either add it to the database url field or add it as below:
<td width="250"><a href="http://<?php echo $row_rsDonationResults['url']; ?>"><?php echo $row_rsDonationResults['url']; ?></a></td>

Similar Messages

  • How to make a search results page

    Hi there,
    I'm pretty new to coding and I'm currently making a shop website. All products are displayed in tables and clicking each one takes you to their individual product page. What I'm trying to do is create a search which will display all the results in a table, a good example is here;
    http://www.shopdixi.com/
    What is the best way to do this? Do I need to create an SQL database with all the products in it and then the search will use this to display the results in a dynamic table?
    All the best.

    If you have a dynamic web site (database driven), use PHP or ASP data queries.
    If your site is static (no databases), look at the links below:
    Zoom Search Engine software
    http://www.wrensoft.com/zoom/index.html
    Free Find
    http://www.freefind.com/
    Pico Search
    http://www.picosearch.com/
    Google Site Search -
    http://www.google.com/sitesearch/
    Web Assist DW Tools for Google (free)
    http://www.webassist.com/free-downloads/dreamweaver-extensions/dreamweaver-tools-for-googl e/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to Make a Printable Results Page in Adobe Captivate 8

    Hi Captivate Developers!
    We made a really cool Captivate tip that I think you will enjoy. This tip allows your learners print-friendly results in Adobe Captivate 8. We also include the code needed to make it work and is actually pretty easy. It also includes videos for each step. Hope you like it!
    http://elearningbrothers.com/how-to-make-a-printable-results-page-in-adobe-captivate-8/

    If you have a dynamic web site (database driven), use PHP or ASP data queries.
    If your site is static (no databases), look at the links below:
    Zoom Search Engine software
    http://www.wrensoft.com/zoom/index.html
    Free Find
    http://www.freefind.com/
    Pico Search
    http://www.picosearch.com/
    Google Site Search -
    http://www.google.com/sitesearch/
    Web Assist DW Tools for Google (free)
    http://www.webassist.com/free-downloads/dreamweaver-extensions/dreamweaver-tools-for-googl e/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to customize the search results window

    hi,
    in my search results page, i need to add a link/button for every document searched. on click of this link/ button i need to capture the document/file url and  insert it into  a splist.
    is it possible to customize  the search results window? 
    below is the snapshot: i need to add the link/button Add link to DB on each and every document retrieved by the crawler.
     help is highly appreciated ! 

    hi
    thnx for the reply. i am using the default search box in my sub site. and i am able to get the search results with the  help of default search  results.
    but i dont know how to replace this search results web part with a  content search web part, such that i can insert html link or button  or jquery.
    Can you pls  elaborate , how can i replace the existing search results web part with the content search WP such that ,  the other display detals - document link, description, etc are intact-.

  • How to make dynamic search items in a report?

    Hi all,
    I have two questions.
    1. How to make dynamic search (i.e without GO button) field above report to provide dynamic search by words in one field of report query?
    2. How to make similar multiply dynamic search fields on report to provide individual search by selected fields of report with refine capability (i.e any search conditions in different fields must work together as complex WHERE clause)
    Thanks in advance

    hey yuri--
    if i'm understanding your questions correctly, the easiest way to achieve the functionality you're after is to have your query criteria fields submit the page when values are entered/selected. the page should then branch back to itself using the submitted criteria in the query. because you're asking about dynamically adding in your where clause predicates, you should consider using a report region of type "SQL Query (Pl/sql Function Body Returning SQL Query)". that way you can use pl/sql to piece together your query based on the provided criteria.
    so the part of your question i'm not sure of is when your page should submit itself ("without a GO button" as you said). for your first question, it seems to be a simple matter of javascript. you want users to be able to enter search criteria into a field and have that criteria be using in the report. to facilitate that we have a few self-submitting item types such as "SelectList with Submit" and "Text Field (always submits page when Enter pressed)". for your second question, it seems that you should have a Go button for the user to indicate he's done entering in his query criteria. anyhow, that's up to you, i suppose. hopefully this response will give you the concepts you need to implement this as you'd like.
    regards,
    raj
    ps-after re-reading your post, i now realize there's a chance that you wanted users to not have to submit the page at all when filtering their result sets. if that's the case, you'd have to use javascript for that cumbersome feat. google would be a good place to go for that code.

  • How to make site search module work?

    Hi guys
    I am working on a sample site http://webmar.businesscatalyst.com/index.
    I had insert a site search module but anyhow when i search for any query and click the Go button, it will go the searchresult page but nothing get displayed.
    I do had placed a {module_searchresults} in the page content area of searchresult page.
    How I populate by search result page?
    Thanks
    Andy

    Andy make sure you index (re-index)your site
    Modules > Site Search > Re- Index button
    If site is a sample site ( demo mode ) I am not sure if it will index with new changes to the way demo sites works. Give it a try it may be ok internally, but wont index with S E unless live site
    Good to re-index if made changes or added content

  • How to modify  the search results of the GUI for subscribing to calendars

    How to modify the search results of the GUI for subscribing to calendars
    Note:
    <OL>
    <LI>The following information applies only to iPlanet Calendar Server 5.0
    Patch 3.
    <LI>All of the cases for which the XSLT changes will work have not been
    verified.
    <LI>The following is only an example of an XSLT customization.
    </OL>
    The example below shows a sample customization of the
    search_for_calendars
    dialog. This customization will result in the Display Name being included as
    part of the search results in the GUI, which would normally show just the
    calendar ID. It will render the returned calendars in the following format:
    <P>
    Display Name - <I>description</I>
    <P>
    Normally, the format would be as follows:
    <P>
    Calendar-ID - <I>description</I>
    <P>
    </A>
    The example consists of the following two files:
    <P>
    <OL>
    <LI>search_for_calendars_common.xsl
    (the entire XSLT file)
    <P>
    <LI>diffctx.txt
    (the context sensitive diff patch file,
    which basically shows only the changes that need to be made)
    </OL>
    <P>
    <HR>
    </A><B>
    search_for_calendars_common.xsl</B>
    <?xml version="1.0" ?>
    <!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
    - <!--
    set the output properties
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    result-ns="http://www.w3.org/TR/REC-html40">
    -->
    - <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
    - <!-- set the output properties
    -->
    <xsl:output method="html" encoding="ISO-8859-1" />
    <xsl:include href="data/common.xsl" />
    <xsl:include href="data/i18n.xsl" />
    <xsl:include href="data/date_format.xsl" />
    <xsl:include href="data/dialog_tabs.xsl" />
    - <xsl:template match="/">
    <xsl:apply-templates select="calendar" />
    </xsl:template>
    - <xsl:template match="calendar">
    - <xsl:choose>
    - <xsl:when test="@top='true'">
    - <xsl:variable name="Frame1">
    <xsl:value-of select="frame[1]" />
    </xsl:variable>
    - <xsl:variable name="Frame2">
    <xsl:value-of select="frame[2]" />
    </xsl:variable>
    - <xsl:variable name="Frame3">
    <xsl:value-of select="frame[3]" />
    </xsl:variable>
    - <xsl:variable name="tab_value">
    <xsl:value-of select="@tab" />
    </xsl:variable>
    - <HTML>
    - <HEAD>
    <xsl:call-template name="contextJavascript" />
    <TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
    </HEAD>
    - <FRAMESET border="0" frameborder="0" rows="77,*,71">
    <FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" src="{$Frame1}" />
    <FRAME name="main" frameborder="0" src="{$Frame2}" />
    <FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" frameborder="0" src="{$Frame3}" />
    </FRAMESET>
    </HTML>
    </xsl:when>
    - <xsl:when test="@view='searchProperties'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='searchProperties'">
    <xsl:call-template name="search_toolbar" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='main'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='main'">
    <xsl:call-template name="main" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='button'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='button'">
    <xsl:call-template name="button_root" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:otherwise>
    - <html>
    What's this view? (search_for_cals.xsl) -
    <xsl:value-of select="@view" />
    </html>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    - <xsl:template name="search_toolbar">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0" onload="window.focus()">
    - <FORM>
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
    </xsl:attribute>
    <xsl:apply-templates select="formdata" />
    - <CENTER>
    - <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
    - <TR>
    - <TD align="center">
    - <TABLE border="0" cellpadding="3" cellspacing="1">
    - <TR>
    - <TD colspan="4">
    <FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
    the calendar</FONT>
    </TD>
    </TR>
    - <TR>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="which">
    <OPTION value="name;calid">name or ID</OPTION>
    <OPTION value="name">name</OPTION>
    <OPTION value="primaryOwner">primary owner</OPTION>
    <OPTION value="calid">ID</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="how">
    <OPTION value="0">contains</OPTION>
    <OPTION value="1">begins with</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    <INPUT type="text" name="what" />
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <INPUT type="button" name="find" value="Find">
    - <xsl:attribute name="onClick">
    <xsl:value-of select="./button[@name='find']" />
    </xsl:attribute>
    </INPUT>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    </TABLE>
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    - <xsl:template name="main">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0">
    - <FORM name="form" method="post">
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:apply-templates select="formdata" />
    <INPUT type="hidden" name="how" value="0" />
    <INPUT type="hidden" name="which" value="name;calid" />
    <INPUT type="hidden" name="what" value=" />
    <INPUT type="hidden" name="selectedGroup" />
    - <xsl:if test="(./calsearchresults/nomatch)">
    - <!-- print no match found
    -->
    &#38;nbsp;
    &#38;nbsp;
    No Match Found
    </xsl:if>
    - <xsl:for-each select="./calsearchresults/searchresultcal">
    - <P>
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <FONT size="{$font_size_big}" face="{$font_name}">
    Owner:
    <xsl:value-of select="@owner" />
    <FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
    </FONT>
    Calendar ID:
    <xsl:value-of select="@id" />
    <BR />
    </FONT>
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <xsl:choose>
    - <xsl:when test="@subscribed='false'">
    &#38;nbsp;
    &#38;nbsp;
    - <INPUT type="checkbox" name="calendar">
    - <xsl:attribute name="value">
    <xsl:value-of select="@name" />
    </xsl:attribute>
    </INPUT>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    </xsl:when>
    - <xsl:otherwise>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    &#38;nbsp;
    (Subscribed)
    </xsl:otherwise>
    </xsl:choose>
    - <xsl:if test="string-length(@description) > 0">
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big}" face="{$font_name}">
    <xsl:value-of select="@description" />
    </FONT>
    </xsl:if>
    </FONT>
    </FONT>
    </P>
    </xsl:for-each>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    <P>
    <A HREF="#back">Back</A>
    <P>
    <HR>
    </A>
    <B>diffctx.txt</B>
    Index: search_for_calendars_common.xsl
    ===================================================================
    RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
    retrieving revision 1.1.2.14
    diff -c -r1.1.2.14 search_for_calendars_common.xsl
    *** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
    --- search_for_calendars_common.xsl 2001/03/15 23:55:19
    *** 182,188 ****
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@id"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    --- 182,188 ----
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@name"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    *** 190,196 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    --- 190,196 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    *** 199,205 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    --- 199,205 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    <P>
    <A HREF="#back">Back</A>

    Maybe on the Google API s page?

  • Workflow, How to make the attached SAP shortcut linked to a webgui t-code ?

    How to make the attached SAP shortcut linked to the webgui ? (Instead of the SAP Gui )
    When I received a "workflow msg" in my outlook inbox, I clicked on the attached shortcut.
    And a logon pop-up comes to me, in order that I logon to SAP in the SAPGui mode.
    It enables me to make a decision in SAP.
    I'd like that when the user receive the shortcut ( or a link ), it opens the webgui mode ?
    How can I do that ?
    Thx a lot,
    Erwan

    thx

  • How to make a column as command link

    hi,
    how to make a column as command link.i want to make a table column as a command link so that a popup will come.please let me know.
    thanks in advance

    JDeveloper 10.1.3 does not have a popup but a dialog framework that opens a dialog in a separate browse window. As Chris pointed out, the developer guide contains a section about how to launch the dialog. To programmatically launch the dialog from a command link use its action listener property
        public void commandButton_action2(ActionEvent event) {
    // make the clicked row the current
      //Get access to the value binding
       ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.DepartmentsView1Iterator}");
       DCIteratorBinding dciter = (DCIteratorBinding) vb.getValue(FacesContext.getCurrentInstance());
      //the command link is a child of af:column, which is a child of af:table
      CoreTable ct = (CoreTable)actionEvent.getComponent().getParent().getParent();
      //access the row data, to obtain the Row object and the formatted key string
      JUCtrlValueBindingRef juctrlref = (JUCtrlValueBindingRef) ct.getRowData();
      String rowKey = juctrlref.getRow().getKey().toStringFormat(true);
    //set the current row in the binding
      dciter.setCurrentRowWithKey(rowKey);
    // open dialog
            FacesContext fctx = FacesContext.getCurrentInstance();
            AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
            UIViewRoot viewRoot = new UIViewRoot();
            viewRoot.setViewId("/yourDialogPage.jspx");
            HashMap properties = new HashMap();
            properties.put("width",300);
            properties.put("height",200);       
            adfFacesCtx.launchDialog(viewRoot,properties,(CoreCommandLink)event.getSource(),true,null);
      }If the dialog is based on the same VO then the current row is selected. If not then you may want to pass the value ofthe rowKey in a HashMap as the last argument to open dialog
    Frank

  • How to make window size same as linked file?

    Hi
    I understand how to make the link and have it open in a new
    window upon click, but how do I make this map open in a window that
    is exactly the same dimensions as the map png file itself, as
    opposed to opening in the same size of the browser window.
    http://www.enhancedwireless.net/Company/contact.shtml
    and click on the MALAYSIAN driving directions.
    Thanks
    KB

    That works fine and is quite acceptible, but it won't work
    for the initial
    default page - which is what the question is about.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "818g" <[email protected]> wrote in message
    news:egm8m5$gd5$[email protected]..
    > I'd do it with javascript. Highlight the link text in
    Dw, type
    > "javascript:;"
    > in the link box, hit enter, open the Behaviors panel,
    click on the Add
    > behavior
    > button (plus sign) and choose "Open Browser Window" from
    the menu. In the
    > Open
    > Browser Window dialog box you can define the width anf
    height of the
    > window.
    >

  • How to make the search box in 'mail' bigger

    HI all
    I use the mail programme in Lion and use a Mcabook pro, There is a search box in the upper right hand corner so you can search through your mails, I have accidently made it smaller and am looking to make the box bigger so I can see the full names of the results.
    I have looked in toolbars and in 'view' and cant fin anything, I have tried to clip and drag, but that does not work either, anyone have any ideas how to make it bigger again,
    Thanks

    Thank you Colin, I managed to delete some of the buttons thus the search bar became bigger, thanks for the inspiration

  • How To Eliminate Separate Search Results Window in iTunes 11

    From my perspective (based upon how I use iTunes to create playlistsby searching for titles, listening, and selecting), the new format in iTunes 11 of showing search results in a separate window was totally unworkable. Fortunately, I found a CNET article that said how to revert to the old method.  To disable the new format, and have search results show up in the body of your music library, all you need to do is this:
    Click on the magnifying glass in the Search box in the uppper right corner of the iTunes screen
    The first item in there is "Search Entire Library", and has a check mark next to it
    Click on it to remove the check mark
    That's it!  Now your Search results will show up in the library itself, as it always has. 
    Until I found this quick fix, I was ready to trash the new iTunes and replace it

    I found this article with the explanation on how to find this again.  In the upper right corner of itunes (only when an item is downloading) you will see a downward facing arrow inside a gray circle with a blue status bar type line below it.  If you click that it will show you your downloads progress.
    Link: http://www.cultofmac.com/204589/find-the-download-manager-again-in-itunes-11-os- x-tips/

  • OIM: How to change user search results table?

    Hello,
    My customer wants to change the search results table to add/delete columns or move around the existing columns. Is there a way to configure or customize this? If so how? Please let me know.
    Thanks

    This jsp uses the table generator.jsp which shows the data in the form of table. You have to make your own action class to do this after extending their class (provided by oracle) tcSearchUserAction.java and you can show data as per your client requirement.

  • How to get webui search result only a group data?

    Dear Friends,
    In BP_HEAD we have enhanced with custom logic. we are registering group of customers under field bu_group in but000. component BP_HEAD_SEARCH we are getting all the data in BUT000. how to show only group data under field bu_group in search result.
    Thanks & Regards
    Deva

    Hello Thomas,
    I need to make data searched only created by the user. how to make BUT000-CRUSER default in background in Search.
    I have used the below  insert, but the search options are been effected which are in display,
    CALL METHOD Lv_QS->INSERT_SELECTION_PARAM
        EXPORTING
          IV_INDEX     = '1'
          IV_ATTR_NAME = 'CREATION_USER'
          IV_SIGN      = 'I'
          IV_OPTION    = 'EQ'
          IV_LOW       = sy-uname
    Thank and  Regards
    Deva

  • How to chart database search results?

    I'm new to Macs and Appleworks. I want to make a graph/chart of numbers that come from summary fields of a database search. Do I somehow link the database search results to a spreadsheet? Can I put the graph on a database report page? Thanks.

    Maybe this will help.
    You can create a bar chart this way.
    You have some summary fields to be charted, call them sum1, sum2, etc.
    Create another summary field for each that you have. The basic formula will be:
    LEFT("||||||||||||||||||||||||||||||||||",SUM('sum1'))
    This will give a number of line characters to match the sums. Position these fields to form a chart. You can modify the font and style, etc.
    There're also some variations. If your totals are large, you could divide the final parameter by something:
    LEFT("||||||||||||||||||||||||||||||||||",SUM('sum1')/2)
    And even multiply by something if your totals are small.
    This is using the standard line character. You could also use dingbats - the "n" will give a solid square: LEFT("nnnnnnnnnnn",SUM('sum1'))
    Additionally, to fill gaps between characters, you can create two chart fields for each total and overlap them.
    Now, these are summary fields and so need to be on the summary part of the layout, and you must be in Page View to see.
    David

Maybe you are looking for