Как связать Products и Ajax

Обсуждение CMS Made Simple в России.

Moderators: iturbay, wdwp

Post Reply
User avatar
iturbay
Forum Members
Forum Members
Posts: 85
Joined: Mon Sep 29, 2014 5:38 am

Как связать Products и Ajax

Post by iturbay »

Здравствуйте, хотел бы подгружать определенные товары без перезагрузки страницы, при нажатии на кнопку. Но я не понял как связать модуль Products и Ajax Made Simple или Ajax Tools. Если у кого есть примеры такого функционала, то покажите наглядно пожалуйста.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Как связать Products и Ajax

Post by velden »

If you have knowledge of how Ajax works you might have a look here:
http://tinyurl.com/mphmqrb

Much of the content is loaded using ajax: clicking on a product (Foundation's built-in reveal thing). Filter and pagination are ajax too.

Use a browser's developer tool to see the 'source'.

Important:
?showtemplate=false in some urls.
The cms_action_url tag: https://docs.cmsmadesimple.org/tags/cms ... action_url
Post Reply

Return to “Russian - русский”