Hot answers tagged

3 votes
Accepted

Ajax Pagination

Honestly, I wouldn't even mess with that plugin since that's what it's supposed to do. Just do a simple ajax call and append the data like this. Note the move of #articles to the main template, and ...
2 votes

Accessing EE data via iOS swift

EE doesn't have a native API interface to communicate with, but I've been having quite a good time with Webservice API plugin from Reinos, and with it you can turn a EE install into a REST/XMLRPC/SOAP ...
  • 498
2 votes
Accepted

Pull random 10 entries without duplicating every time when ajax calls

Two approaches come to mind, the first is to load everything (all results) and only show X at a time (JavaScript) based on your own custom pagination or lazy loading effect. But that means you'd still ...
  • 5,353
1 vote

Getting Channel Entry Data With AJAX

There are answers both complex and simple, really depending on your actual use case. This simple answer is just to AJAX in a template that does what you want. There is no reason you can't have a ...
  • 5,900
1 vote

Cart Thob update shipping via ajax

The error is because the .live method in jQuery has been deprecated since jQuery 1.7. You need to modify the line $("input[type=text], select").live('change', function() to use the .on() method. ...
  • 3,587
1 vote
Accepted

How to detect an AJAX request in a EE4 template?

Use the native {is_ajax_request} variable.
  • 11.3k
1 vote

stop google from crawling ajax pages with no <head></head>

I would think just putting those pages into a robots.txt file would be effective. Just a plain text file that sits in your website's root directory and includes basic site information (e.g. about ...
  • 3,587
1 vote

PHP/AJAX Error from DevDemon Campaigns When Posting to Facebook

This is due to Facebook API changes. The patch supplied by Vector Media for this is as follows system/expressionengine/third_party/campaigns/services/service.facebook.php, line 90. Replace: $html .= ...
1 vote
Accepted

Multipage freeform pro append anchor to paging_url

I've managed to fix this using an extension I had created. It hooks into freeform_module_insert_begin which allows me to modify any of the data. With this I've been able to modify the next and ...
1 vote
Accepted

Show coupon value before submitting payment with Charge

In the end I just went ahead and wrote a small module to handle this... function Checkout_validate_coupon_url() { // Construct the ACT URL $url = $this->site_url."?ACT=".ee()->...
1 vote
Accepted

Multiple comment forms on single page/template

Both the comment:entries and comment:form tags accept an entry_id parameter, so there's no reason you can't have multiple forms on a page, so long as you pass the correct entry_id to each. You might ...
  • 17.4k
1 vote

Help with EE Ajax form

read much more in details in this site here - http://watabelabs.com/blog/view/submitting-expressionengines-contact-form-with-ajax
1 vote

Help with EE Ajax form

Looks like you can add a name=required[] parameter to each form field you want to make required: https://ellislab.com/expressionengine/user-guide/add-ons/email/contact_form.html#required
  • 133
1 vote

Jquery Freeform AJAX submission form error

By default, Freeform auto-detects if you are using AJAX for the form submission. AJAX requests will return errors and success mesages in JSON. If you wish to disable this, specify a value of no. That'...
  • 5,900
1 vote

Plugin code doesn't working on ajax?

Ok, forget my previous answer, let me just correct this all for you!!!! Copy paste this into your template : <?php $i = "{segment_4}"; ?> <section class="subsection ajax"> <...
  • 2,418
1 vote

Infinite scroll within conditional

Don't use the curly brackets and quotes on the segment in your conditional. Write your conditional like this: {if segment_2 == ""} Edit: your closing div for entry-container is missing the last ...
1 vote

Ajax Login plugin

AJAX Auth is supported and compatible with latest EE versions. If you need support or have pre-sales questions, email me directly to support@intoeetive.com
  • 2,846
1 vote

Ajax Login plugin

I'll post my answer from my comment above down here. FreeMember is a great, free plugin that allows some flexibility.
1 vote
Accepted

exp:channel:form ajax

I ran into the same problem. After talking to EE support, they informed me I'd need to update the meta hidden field as well if I wanted to update the entry, instead of creating a new one. The meta ...
  • 36

Only top scored, non community-wiki answers of a minimum length are eligible