<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3ApageCustomSearchGroup</id>
		<title>Functions:pageCustomSearchGroup - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3ApageCustomSearchGroup"/>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:pageCustomSearchGroup&amp;action=history"/>
		<updated>2026-05-15T10:16:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:pageCustomSearchGroup&amp;diff=273&amp;oldid=prev</id>
		<title>Root at 14:10, 21 October 2008</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:pageCustomSearchGroup&amp;diff=273&amp;oldid=prev"/>
				<updated>2008-10-21T14:10:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:10, 21 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Page Template Functions Shortcuts}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Retrieves data associated with a particular Custom Search Group&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Retrieves data associated with a particular Custom Search Group&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:pageCustomSearchGroup&amp;diff=98&amp;oldid=prev</id>
		<title>Root: New page: == Description == Retrieves data associated with a particular Custom Search Group  == Syntax == $csArr = eV::pageCustomSearchGroup($groupIdOrName);  == Paramaters == *$groupIdOrName INT or...</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:pageCustomSearchGroup&amp;diff=98&amp;oldid=prev"/>
				<updated>2008-10-03T07:25:03Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == Description == Retrieves data associated with a particular Custom Search Group  == Syntax == $csArr = eV::pageCustomSearchGroup($groupIdOrName);  == Paramaters == *$groupIdOrName INT or...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Description ==&lt;br /&gt;
Retrieves data associated with a particular Custom Search Group&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
$csArr = eV::pageCustomSearchGroup($groupIdOrName);&lt;br /&gt;
&lt;br /&gt;
== Paramaters ==&lt;br /&gt;
*$groupIdOrName INT or STRING&lt;br /&gt;
:: the groupId as set by the system when creating the group or the exact name of the group (cap sensitive). Note: using the group name is not recommended as changes to the group name by content managers would disable the call to the group within the page template.&lt;br /&gt;
&lt;br /&gt;
== Return Values ==&lt;br /&gt;
Returns associative array of group information. Returns Boolean FALSE if no matching group is found.&lt;br /&gt;
The array is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Array&lt;br /&gt;
(&lt;br /&gt;
    [groupName] =&amp;gt; STRING&lt;br /&gt;
    [groupNotes] =&amp;gt; STRING&lt;br /&gt;
    [groupId] =&amp;gt; INT&lt;br /&gt;
    [selectField] =&amp;gt; STRING&lt;br /&gt;
    [options] =&amp;gt; Array&lt;br /&gt;
        (&lt;br /&gt;
            [optionId] =&amp;gt; INT&lt;br /&gt;
            [optionName] =&amp;gt; STRING&lt;br /&gt;
            [link] =&amp;gt; STRING&lt;br /&gt;
            &lt;br /&gt;
        )&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Elements from the custom search group associative array are as follows: &lt;br /&gt;
{|border=2&lt;br /&gt;
|-&lt;br /&gt;
|Element&lt;br /&gt;
|Description&lt;br /&gt;
|Example&lt;br /&gt;
|-&lt;br /&gt;
|groupName&lt;br /&gt;
|STRING group name as set in Custom Search Groups administration for the group&lt;br /&gt;
|By Category&lt;br /&gt;
|-&lt;br /&gt;
|groupNotes&lt;br /&gt;
|STRING extended description of the group as set in Custom Search Groups administration&lt;br /&gt;
|Select a category to jump to that category&lt;br /&gt;
|-&lt;br /&gt;
|groupId&lt;br /&gt;
|INTEGER unique id assigned to the custom search group upon creation&lt;br /&gt;
|154&lt;br /&gt;
|-&lt;br /&gt;
|selectField&lt;br /&gt;
|STRING the entire select field output necessary to support a custom search group drop down. This includes the &amp;amp;lt;SELECT&amp;amp;gt; tags, all &amp;amp;lt;Option%gt; tags, option tag contents and javascript built in to jump to the page. Simply place the output of this element where you want to tag to appear.&lt;br /&gt;
|&amp;amp;lt;select id=&amp;quot;eV_customSearch_autoSelect_12&amp;quot; name=&amp;quot;eV_customSearch_autoSelect_12&amp;quot; onChange=&amp;quot;window.location.href=this.options[this.selectedIndex].value;&amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;option value=&amp;quot;index.php?fa=PAGE.search&amp;amp;optionId=32&amp;quot;&amp;amp;gt;Category 1&amp;amp;lt;/option&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;option value=&amp;quot;index.php?fa=PAGE.search&amp;amp;optionId=33&amp;quot;&amp;amp;gt;Category 2&amp;amp;lt;/option&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;option value=&amp;quot;index.php?fa=PAGE.search&amp;amp;optionId=36&amp;quot;&amp;amp;gt;Category X&amp;amp;lt;/option&amp;amp;gt;&lt;br /&gt;
&amp;amp;;lt;/select&amp;amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|options&lt;br /&gt;
|ARRAY of individual selection options. Use to build your own custom output of the custom search group.&lt;br /&gt;
|array()&lt;br /&gt;
|-&lt;br /&gt;
|optionId&lt;br /&gt;
|INTEGER unique ID assigned to option upon creation&lt;br /&gt;
|145&lt;br /&gt;
|-&lt;br /&gt;
optionName&lt;br /&gt;
|STRING name of the option as set in Custom Search Groups&lt;br /&gt;
|Category 2&lt;br /&gt;
|-&lt;br /&gt;
|link&lt;br /&gt;
|STRING link to forward visitor to when the option is selected&lt;br /&gt;
|index.php?fa=PAGE.search&amp;amp;optionId=145&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
;Using the selectField option. Using the groupId in the calling function&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// call your group at the beginning of your script&lt;br /&gt;
$groupArr = eV:pageCustomSearchGroup(45);&lt;br /&gt;
&lt;br /&gt;
//output your field&lt;br /&gt;
//first display the group name (which should describe to the visitor what the field is for)&lt;br /&gt;
// than output the select field&lt;br /&gt;
echo $groupArr['groupName'] . &amp;quot;&amp;lt;br&amp;gt;&amp;quot; . $groupArr['selectField'];&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
;Using the options Array. Using the groupName in the calling function&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// call your group at the beginning of your script&lt;br /&gt;
//NOTE: it is not recommended to use the group name in this function as changes to group name by content managers will disable this call&lt;br /&gt;
$groupArr = eV:pageCustomSearchGroup('Select a Category');&lt;br /&gt;
&lt;br /&gt;
//output information about the group and open the list&lt;br /&gt;
echo $groupArr['groupName'] . &amp;quot;&amp;lt;br&amp;gt;&amp;quot; . $groupArr['groupNotes'] . &amp;quot;&amp;lt;ul&amp;gt;&amp;quot;;&lt;br /&gt;
// build a series of links to jump to the group&lt;br /&gt;
foreach($groupArr['options'] as $option) echo &amp;quot;&amp;lt;li&amp;gt;&amp;lt;a href=\&amp;quot;&amp;quot; . $option['link'] . &amp;quot;\&amp;quot;&amp;gt;&amp;quot; . $option['optionName'] . &amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&lt;br /&gt;
//close the list&lt;br /&gt;
echo &amp;quot;&amp;lt;/ul&amp;gt;&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Root</name></author>	</entry>

	</feed>