<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Tag: function call - Recent Posts</title>
		<link>https://legacy.forums.gravityhelp.com/tags/function-call</link>
		<description>Gravity Support Forums Tag: function call - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 16:31:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/tags/function-call" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Using avgrund.js for modal windows"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-avgrundjs-for-modal-windows#post-178677</link>
			<pubDate>Wed, 20 Mar 2013 22:41:21 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">178677@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sounds like you have it working.  Good job and good luck.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>1ternet on "Using avgrund.js for modal windows"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-avgrundjs-for-modal-windows#post-176724</link>
			<pubDate>Tue, 19 Mar 2013 08:57:17 +0000</pubDate>
			<dc:creator>1ternet</dc:creator>
			<guid isPermaLink="false">176724@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have the avgrund call in my footer.php. I tried a do_shortcode in this template parameter, but the best I had gave me a js error, because of some jQuery inside the form itself ( closing script tag ).&#60;/p&#62;
&#60;p&#62;I'm currently trying another way - playing an iframe calling an empty template with the shortcode, inspired by the tip found here: &#60;a href=&#34;http://mgacreativedesigns.com/gravity-form-in-a-pop-up-box/&#34; rel=&#34;nofollow&#34;&#62;http://mgacreativedesigns.com/gravity-form-in-a-pop-up-box/&#60;/a&#62; - and I'm almost there. It seems to work, now I just need to perfect it ! &#60;/p&#62;
&#60;p&#62;After some tests it works perfectly : just some adjustments to with styles !&#60;/p&#62;
&#60;p&#62;Thanks a lot for your attention !!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Using avgrund.js for modal windows"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-avgrundjs-for-modal-windows#post-176709</link>
			<pubDate>Tue, 19 Mar 2013 08:42:42 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">176709@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Quickly reading through the documentation, it appears you can use a function call to set the template parameter?  Where did you implement the avgrund.js where the 'template' parameter is set?  Maybe it's in your page where you can populate it by shortcode?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>1ternet on "Using avgrund.js for modal windows"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-avgrundjs-for-modal-windows#post-176515</link>
			<pubDate>Tue, 19 Mar 2013 06:03:56 +0000</pubDate>
			<dc:creator>1ternet</dc:creator>
			<guid isPermaLink="false">176515@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi !&#60;/p&#62;
&#60;p&#62;I'm using the excellent Gravity Forms for a client. I need to open some of my forms in modal windows, and for many reasons we choose to use &#60;a href=&#34;https://github.com/voronianski/jquery.avgrund.js&#34; rel=&#34;nofollow&#34;&#62;avgrund.js&#60;/a&#62; for modals.&#60;/p&#62;
&#60;p&#62;I've read many posts everywhere on how to open a form in a modal using fancybox &#38;amp; colorbox, thus none of them helped me. &#60;/p&#62;
&#60;p&#62;Avgrund doesn't work like fancybox : it needs to have the modal's content as a 'template&#34; parameter value, and I could'nt get it to work using gravity forms function call or playing shortcode. I tried to call the form before the script and then get it through a jquery function but my skills don't seem to be enough.&#60;/p&#62;
&#60;p&#62;May you have any suggestions ? I also mailed avgrund's author but I wanted to see if you could figure a good way to do that.&#60;/p&#62;
&#60;p&#62;Thanks a lot for this plugin and the support forum ( I already found some help reading it :D ).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Can you put a form in a php page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-you-put-a-form-in-a-php-page#post-169063</link>
			<pubDate>Tue, 12 Mar 2013 16:44:28 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">169063@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Try the following: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Embedding_A_Form&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Embedding_A_Form&#60;/a&#62; There is a PHP embed code listed in the instructions there.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MVMG on "Can you put a form in a php page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-you-put-a-form-in-a-php-page#post-169061</link>
			<pubDate>Tue, 12 Mar 2013 16:37:57 +0000</pubDate>
			<dc:creator>MVMG</dc:creator>
			<guid isPermaLink="false">169061@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not trying to do it outside of wordpress. This PHP page will be in a wordpress site. It's a dynamic page though that fills info from user account information, order number and the like. So, it's is a PHP page, but it is in WordPress. Can it be done?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Can you put a form in a php page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-you-put-a-form-in-a-php-page#post-169055</link>
			<pubDate>Tue, 12 Mar 2013 16:27:44 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">169055@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can't add Gravity Forms forms outside of WordPress.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MVMG on "Can you put a form in a php page?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-you-put-a-form-in-a-php-page#post-169026</link>
			<pubDate>Tue, 12 Mar 2013 15:42:47 +0000</pubDate>
			<dc:creator>MVMG</dc:creator>
			<guid isPermaLink="false">169026@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm working on a thank you page for a shopping cart plugin. The page is a standard php page. I'd like to have a gravity form in the page for client file uploads. The page is not editable within the WP standard editor and therefor I can not use short code to insert it (at least not that I know how). &#60;/p&#62;
&#60;p&#62;Can someone tell me how I might go about doing this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Hardcoding - NAME of form not working."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hardcoding-name-of-form-not-working#post-161229</link>
			<pubDate>Tue, 05 Mar 2013 15:54:44 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">161229@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Rather than using the PHP function call, can you try it as do_shortcode?  Like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;lt;?php echo (do_shortcode(&#38;quot;[gravityform id=&#38;#39;$form_name&#38;#39; title=&#38;#39;false&#38;#39; ajax=&#38;#39;false&#38;#39; description=&#38;#39;false&#38;#39; tabindex=&#38;#39;12&#38;#39;]&#38;quot;)); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>seangrove on "Hardcoding - NAME of form not working."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hardcoding-name-of-form-not-working#post-160163</link>
			<pubDate>Mon, 04 Mar 2013 15:12:50 +0000</pubDate>
			<dc:creator>seangrove</dc:creator>
			<guid isPermaLink="false">160163@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Have 1 form and parsed the url query to go to form 2  I have created a new page template just for the Gravity Forms.  So as.&#60;/p&#62;
&#60;p&#62;$form_name =  urldecode($form_name) ;&#60;/p&#62;
&#60;p&#62;gravity_form(  &#34;'&#34; . $form_name   .  &#34;'&#34;    false, false, false, '', true, 12);&#60;br /&#62;
//  This does not work but  &#60;/p&#62;
&#60;p&#62;if ( $form_name = 'This Quote Form' )  {&#60;br /&#62;
	$form_name  =   3   ;   }&#60;/p&#62;
&#60;p&#62;//    The form name is correct but does not work, however the form # does work.&#60;/p&#62;
&#60;p&#62;// Do I have to hard code every form and parse them into there numbers?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
