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 ...
user avatar
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 ...
user avatar
  • 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 ...
user avatar
  • 5,353
2 votes

Solspace FreeForm : How to send file via Ajax with FreeForm

The documentation code is an example, and therefore may need tweaking for fit your particular goals. File fields are different from "regular" fields, since no text or data is present inside the field ...
user avatar
  • 6,139
2 votes
Accepted

sidebar ajax calendar - only loads one month and fails

Move the click handler to the wrapping div. $('#cal_container').on('click', '#prev, #next', function(event) { event.preventDefault(); /* Act on the event */ }); Has to do with the ...
user avatar
  • 1,356
2 votes

Load XML via jquery.ajax causes an error

I checked and I can see the XID param being sent to the jquery.ajax by looking in chrome network panel, i can see the query string it builds. So we are good there. It sounds like you are sending the ...
user avatar
  • 2,255
2 votes

Different values of checkbox for different members?

...and also a checkbox that will show whether the user has completed that resource You can't store the member choices in the channel entries information. Well, technically you could, but it would ...
user avatar
  • 5,353
1 vote
Accepted

Low Alphabet and ajax

This actually has little to do with the workings of Low Alphabet itself. Rather, it's a JavaScript question, along with some smart templating to allow for proper ajax requests. Steps to take: Create ...
user avatar
  • 11.3k
1 vote

Google Map won't show with ajax

If a Google map is being "revealed" with Javascript then it is necessary to trigger the map resize event when it is displayed. If you're using Google Maps for ExpressionEngine then there is ...
user avatar
  • 7,176
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 ...
user avatar
  • 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. ...
user avatar
  • 3,572
1 vote
Accepted

How to detect an AJAX request in a EE4 template?

Use the native {is_ajax_request} variable.
user avatar
  • 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 ...
user avatar
  • 3,572
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 .= ...
user avatar
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 ...
user avatar
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()->...
user avatar
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 ...
user avatar
  • 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
user avatar
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
user avatar
  • 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'...
user avatar
  • 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"> <...
user avatar
  • 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 ...
user avatar
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
user avatar
  • 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.
user avatar
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 ...
user avatar
  • 36

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