open please
http://89.212.111.174/delovtujini.si/ and click "VPIS V BAZO". You will get popup where you can fill contact form. Can i do this with fuel. And if yes how? Here on this example i do everything in the same html page. In fuel can i do this with
http://fancyapps.com/fancybox/. I try but none solution works. I try to call /fuel/contact and to open it like in example.
Thx
Comments
$.ajax({ url: 'forms/example', success : function(html){ console.log(html) }
If you are using the "Opt-in" controller method FUEL provides (where you don't need to create a controller), then you will need to make sure that the page is not using the full layout or the page header and footer will automatically be pull ited. To do that you can set the following in your view file (e.g. fuel/applications/views/forms/example.php)
fuel_set_var('layout', '');
And in the second i don't need controler at all? do you have any example for second option. I search in demo but i can't find it. Thx
i just need similar output as in exampe i posted in first topic.
thank you
https://github.com/daylightstudio/FUEL-CMS/tree/demo
More information about creating pages can be found here.
http://www.getfuelcms.com/user_guide/general/creating-pages
What about standfard way. Where to put $.ajax({ code. Inside controller or view? Or somewhere else...
Thx