通过Ajax请求获取ContentBuilder列表视图


Get ContentBuilder List View by Ajax Request

我正在使用带有Crosstec Content Builder Extension的Joomla 3,我为Fron最终用户创建了一个列表视图,它运行成功,没有任何问题:

http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=list&id=6

我想在没有完整网站的情况下通过Ajax请求获得扩展结果,但我找不到合适的URL来实现这种行为。

我尝试了很多东西,包括:

http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=list&id=6&format=raw
http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=ajax&id=6

我希望有人能帮助我。

编辑:

jQuery.ajax({
     type: "GET",
     url: "http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=list&id=6&format=raw",
     success: function (msg) {
         alert(msg);
     }
 });

如果只想加载组件的html内容,请添加到URL tmpl=component

http://epc.aratech.co/index.php/en/?option=com_contentbuilder&view=list&id=6&tmpl=component