background preloader

Joomla

Facebook Twitter

What is the proper way to make an AJAX call in component? - Joomla Stack Exchange. There is almost no really official way of dealing with this, it much depends on the complexity and how much you want to rely on the MVC pattern to do the work.

What is the proper way to make an AJAX call in component? - Joomla Stack Exchange

Below are some possible solutions what should work in Joomla 2.5 and 3.x. The code is not presented for a copy - paste job but rather as a general idea. Prior to Joomla! 3.2 the only thing you need to use the examples below is a component. After Joomla 3.2 (for lower complex tasks) you can handle request from modules and plugins. Your URL for the task needs to look like this: index.php? You than create the controller which will use the view, let's say Abc, which will contain the file view.raw.html (identical to a normal view file). Below you have the code for generate a raw HTML response: Resources.merchante-solutions.com/download/attachments/1411006/MeS_Gateway_v4+10_Oct+2013.pdf?version=1&modificationDate=1383236729166. Tutorial - Captcha for Product Inquiry (Ask a Question) - Reduce Spam.

I have noticed that there are many posts of people wanting to use captcha in VirtueMart, specifically using the "Ask a Question" feature for product inquiry.

Tutorial - Captcha for Product Inquiry (Ask a Question) - Reduce Spam

I was looking for this as well as I have been getting about 4 Spam inquiries a day. After many, many hours of reading and tweaking, I have finally figured out a fairly straightforward and easy way to add captcha to this. Since it was so hard for me to find and figure out how to do, I thought I would share with everyone how I got this accomplished. This tutorial involves three basic steps:1. Signing up for reCaptcha so you can use their wonderful service2. Step 1Go to the website.

Step 2Go to the website and download the Joomla reCAPTCHA Integrator Plugin. Save the file and you are done. Hope this helps someone! I made these changes this morning and have not received any spam yet, but obviously it has not really been long enough to know how well this works. Joomla 3.0 conversion changes needed when converting a common installable package for “joomla 1.5.x & 2.5.x” to “joomla 3.0. This is the first of our Blogs in the Joomla 3.0 Discovery series.

Joomla 3.0 conversion changes needed when converting a common installable package for “joomla 1.5.x & 2.5.x” to “joomla 3.0

Joomla 3.0 is an awesome release & we are discovering new stuff with it as we use it everyday. We hope to share our new found knowledge with the community through this series. The series will cover topics for end users, administrators as well as developers. We are working on ‘Converting common installable packages for “joomla 1.5.x & 2.5.x” to “joomla 3.0” ’. JDatabase/1.5. Using the JTable class. This tutorial is for In Joomla!

Using the JTable class

1.5. Writing an extension of JTable The JTable class is an implementation of the Active Record design pattern. It is used throughout Joomla! To use JTable, create an extension of the class. When naming your class extension, the convention is to prefix it with 'Table', then follow with a CamelCased version of the table's name. An important thing to note here, is that the file containing your table class, has to be named the same as the class minus prefix in lowercase. Finally, create a constructor for the class that accepts a reference to the current database instance. If you were using this class as a part of a component called 'Recipes', you would place this code in the file /administrator/components/com_recipes/tables/recipes.php. You can use this functionallity just as well outside components, i.e. in plugins and modules. Using a JTable class extension Once the table class is in place, you can use it in any Joomla!

If doesn't work use: Checkout/Checkin Read. The Handpicked jQuery Plugins Repository. Supercharge your website! A handpicked collection of jQuery plugins.

Others

Joomla database class and Functions.