-1
我使用默認的magento rwd主題。Magento幻燈片不能正常工作
當我下載主題並在本地運行幻燈片不工作,我檢查了源代碼。幻燈片放映代碼本身不存在? 如何在主頁中嵌入滑塊代碼?
<?php
$base_url=Mage::getBaseUrl();
$media_url=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);?>
<div>
<ul class="slideshow">
<?php echo '<li><a href="'.$base_url.'accessories/eyewear.html"><img src="'.$media_url.'wysiwyg/slide-1.jpg" alt="An eye for detail - Click to Shop Eye Wear" /></a></li>'; ?>
<?php echo '<li><a href="'.$base_url.'women.html"><img src="'.$media_url.'wysiwyg/slide-2.jpg" alt="Style solutions - covet-worthy styles in travel-friendly fabrics - Click to Shop Woman" /></a></li>'; ?>
<?php echo '<li><a href="'.$base_url.'men.html"><img src="'.$media_url.'wysiwyg/slide-3.jpg" alt="Wing man - hit the runway in stylish separates and casuals - Click to Shop Man" /></a></li>'; ?>
</ul>
<div class="slideshow-pager"> </div>
<span class="slideshow-prev"> </span> <span class="slideshow-next"> </span></div>
我該如何啓用幻燈片演示,因爲它是在演示網站?
我該如何調用一個html頁面? – user3041822