如何将事件列表嵌入到page.tpl.php中?
这是我当前的代码:
<?php include "eventbrite.php";
$authentication_tokens = array('app_key' => '************',
'user_key' => '**************');
$eb_client = new Eventbrite( $authentication_tokens );
<?= Eventbrite::eventList( $resp, 'eventListRow'); ?> 但是这不会返回任何结果吗?
发布于 2014-07-03 16:24:43
您可以使用Drupal的Eventbrite和Eventbrite API模块。
These module provides tight integration with the Eventbrite platform using the Eventbrite API.在其他方面,Eventbrite还提供了小部件代码来嵌入站点上目录。您可以从Eventbrite站点获取小部件,并使用Drupal块显示站点上任何位置的事件列表。
https://stackoverflow.com/questions/24520145
复制相似问题