<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Modify the dropdown menu..."]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Modify the dropdown menu..."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Modify the dropdown menu...</title>
				<description><![CDATA[ Hi! <br /> In the advanced guestbook page, there is a drop down menu that only includes "Guestbook". I prefer to add more links to it, please tell me how to add a link, for example to the homepage. <br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/4177.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/4177.php</link>
				<pubDate><![CDATA[Fri, 7 Mar 2003 19:20:09]]> GMT</pubDate>
				<author><![CDATA[ kareem]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ The dropdown menu is being is created is the script gb.class.php<br /> <br />     function generate_JumpMenu() {<br /> /* add your entry here --&gt;<br />         $menu_array[] = "&lt;select name=\"entry\" class=\"select\"&gt;";<br /> */<br />         $menu_array[] = "&lt;select name=\"entry\" class=\"select\"&gt;";<br />         $menu_array[] = "&lt;option value=\"0\" selected&gt;".$this-&gt;db-&gt;LANG["FormSelect"]."&lt;/option&gt;";<br /> <br /> .<br /> .<br /> .]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/4231.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/4231.php</link>
				<pubDate><![CDATA[Tue, 11 Mar 2003 00:13:07]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thanks! Would you please give me an example of url and where to put it.<br /> assume that I need a link ot my homepage www.hompage.com and a title "Homepage" .. how do i do it?<br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/4232.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/4232.php</link>
				<pubDate><![CDATA[Tue, 11 Mar 2003 00:34:13]]> GMT</pubDate>
				<author><![CDATA[ kareem]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hi karrem,<br /> <br /> Here is what you have to do:<br /> <br /> 1.) <br /> <br /> [code]<br />     function generate_JumpMenu&#40;&#41; &#123;<br />         $menu_array&#91;&#93; = &quot;&lt;select name=\&quot;entry\&quot; onChange=\&quot;urlJump&#40;'self',this&#41;\&quot; class=\&quot;select\&quot;&gt;&quot;;<br />         $menu_array&#91;&#93; = &quot;&lt;option value=\&quot;http&#58;//www.mydomain.com/\&quot; class=\&quot;select\&quot;&gt;Back To Home&lt;/option&gt;&quot;;<br />         $menu_array&#91;&#93; = &quot;&lt;option value=\&quot;0\&quot; selected&gt;&quot;.$this-&gt;db-&gt;LANG&#91;&quot;FormSelect&quot;&#93;.&quot;&lt;/option&gt;&quot;;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;entries_per_page&quot;&#93; &lt; $this-&gt;total&#41; &#123;<br />             $remain = $this-&gt;total % $this-&gt;db-&gt;VARS&#91;&quot;entries_per_page&quot;&#93;;<br />             $i = $this-&gt;total-$remain;<br />             while &#40;$i &gt; 0&#41; &#123;<br />                 $num_max = $i;<br />                 $num_min = $num_max-$this-&gt;db-&gt;VARS&#91;&quot;entries_per_page&quot;&#93;;<br />                 $num_min++;<br />                 $menu_array&#91;&#93; = &quot;&lt;option value=\&quot;$remain\&quot;&gt;$num_min-$num_max&lt;/option&gt;&quot;;<br />                 $i = $num_min-1;<br />                 $remain += $this-&gt;db-&gt;VARS&#91;&quot;entries_per_page&quot;&#93;;<br />            &#125;<br />         &#125;<br />         $menu_array&#91;&#93; = &quot;&lt;/select&gt;&quot;;<br />         $menu_array&#91;&#93; = &quot;&lt;input type=\&quot;submit\&quot; value=\&quot;&quot;.$this-&gt;db-&gt;LANG&#91;&quot;FormButton&quot;&#93;.&quot;\&quot; class=\&quot;input\&quot;&gt;&quot;;<br />         return $menu_array;<br />     &#125;<br /> [/code]<br /> <br /> Replace [b]http://www.mydomain.com/[/b] with your homepage URL<br /> <br /> 2.)  Now add a javascript function to the guestbook header<br /> Search for the file header.php and add this<br /> <br /> ....<br /> [b]<br /> &lt;script language="Javascript"&gt;<br /> &lt;!--<br /> function urlJump(target,selObj) {<br />   var optionValue = selObj.options[selObj.selectedIndex].value;<br />   var isURL = /http:/;<br />   var regMatch = isURL.test(optionValue);<br />   if(regMatch == true) {<br />   	eval(target+".location='"+selObj.options[selObj.selectedIndex].value+"'");<br />   }<br /> }<br /> // --&gt;<br /> &lt;/script&gt;<br /> [/b]<br /> &lt;/head&gt;<br /> &lt;body bgcolor="$VARS[pbgcolor]" link="$VARS[link_color]" vlink="$VARS[link_color]"&gt;]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/4233.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/4233.php</link>
				<pubDate><![CDATA[Tue, 11 Mar 2003 01:00:33]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thanks! I will try it soon and let you know the results. Right now I am stuck with school things ...]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/4236.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/4236.php</link>
				<pubDate><![CDATA[Tue, 11 Mar 2003 01:10:58]]> GMT</pubDate>
				<author><![CDATA[ kareem]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ good luck]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/4238.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/4238.php</link>
				<pubDate><![CDATA[Tue, 11 Mar 2003 01:12:01]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>Worked!</title>
				<description><![CDATA[ Thanks, exactly what I needed as well.  This worked perfectly!<br /> <br /> Josh]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/4443.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/4443.php</link>
				<pubDate><![CDATA[Fri, 21 Mar 2003 01:33:40]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>THANKS SOOOOOOO Much!</title>
				<description><![CDATA[ I have been working all day looking at all te code to try and find where I needed to make the changes, without any luck.  Guess I should have come here to the Forum first!  Your code change suggested above, if entered exactly as you list, does in fact place a drop down that will allow users to go back to home page.  Thank You]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/7935.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/7935.php</link>
				<pubDate><![CDATA[Thu, 15 Apr 2004 00:24:54]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>not working!!!</title>
				<description><![CDATA[ I have tried this, but i get an error:<br /> <br /> Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /home/sortemas/public_html/guestbook/lib/gb.class.php on line 75<br /> <br /> Fatal error: Cannot instantiate non-existent class: guestbook in /home/sortemas/public_html/guestbook/index.php on line 9<br /> <br /> can anyone help me???]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/8301.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/8301.php</link>
				<pubDate><![CDATA[Sat, 15 May 2004 06:58:40]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>Re: not working!!!</title>
				<description><![CDATA[ [quote="guest"]I have tried this, but i get an error:<br /> <br /> Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /home/sortemas/public_html/guestbook/lib/gb.class.php on line 75<br /> <br /> Fatal error: Cannot instantiate non-existent class: guestbook in /home/sortemas/public_html/guestbook/index.php on line 9<br /> <br /> can anyone help me???[/quote]<br /> <br /> sorry! I was just doing it wrong!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/8302.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/8302.php</link>
				<pubDate><![CDATA[Sat, 15 May 2004 07:41:17]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>Script works like magic</title>
				<description><![CDATA[ Thank for the help its work like a magic.<br /> <br /> <br />  <img src="https://proxy2.de/forum//images/smilies/283a16da79f3aa23fe1025c96295f04f.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/8342.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/8342.php</link>
				<pubDate><![CDATA[Wed, 19 May 2004 21:58:27]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>Use menu with go button</title>
				<description><![CDATA[ I was wondering if there was a way to get rid of the go button next to the drop-down menu or allow it to be used with the new home addition.<br /> <br /> Thanks,<br /> <br /> Millie]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/8634.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/8634.php</link>
				<pubDate><![CDATA[Sun, 13 Jun 2004 01:17:50]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I use 2.2 and have been wondering the same, I have gone into the admin templates but the one said her doesn't show there so how can I go about adding menu's to the Jump Menu?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/8700.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/8700.php</link>
				<pubDate><![CDATA[Mon, 21 Jun 2004 09:14:41]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I followed the directions above, finding the sections of code and adding the above mentioned sections and I thought it worked but I got an error when I clicked "go" to return to the home page.  The error is as follows:<br /> <br /> MySQL Error : Query Error<br /> Error Number: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'http://www.xtremedetails.com/snowdemonkennel, 20' at line 1<br /> Date        : Fri, January 12, 2007 15:52:21<br /> <br /> Any suggestions?<br /> <br /> A little unrelated:<br /> I was told yesterday on another issue that I should update but I seem to not be able to.  My version has no misc folder and no update file of any kind.  I tried to do it manually with no success so I just took the ability to sign from the "guestbook" page as well as the admin login.  I can give the customer the link to php form for them to fill out and can get to my admin login myself so I guess I can make due with it all.  I created the website with Yahoo Business and they only offer the 2.3.1 and I have found no way to update it successfully.  It appears that they only offer limited SQL functionality so I will just have to make the best of it.  Thanks for all your help, btw.  <img src="https://proxy2.de/forum//images/smilies/283a16da79f3aa23fe1025c96295f04f.gif" /><br /> <br /> [color="red"][size="18"]EDIT:[/color][/size]<br /> I just decided to add a link myself at the top of the page to go back to home and completely removed the drop down and it is all working fine now, thanks anyways.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1686/21901.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1686/21901.php</link>
				<pubDate><![CDATA[Fri, 12 Jan 2007 17:03:28]]> GMT</pubDate>
				<author><![CDATA[ SnowDemonKennel]]></author>
			</item>
	</channel>
</rss>