Post by pollyfpl » Mon Mar 23, 2015 2:56 pm

本人用 welcome.tpl 美化版面 (如圖), 但當中加插的圖片卻不可以加入連結,請問如何修改 :o

Image


http://www.yesprincesshk.com

Newbie

Posts

Joined
Thu Apr 12, 2012 11:35 am

Post by raymondization » Tue Mar 24, 2015 11:54 am

你好,你在welcome.tpl加的只是img tab,它當然是圖片;
如你果你要加超連結, 應該會是這樣:
<a href="http://www.xxx.com">
<img src="http:/www.xxx.com/images/image.jpg"></a>

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by pollyfpl » Tue Mar 24, 2015 2:03 pm

請問要在那裡加上下列2句啊??

<a href="http://www.xxx.com">
<img src="http:/www.xxx.com/images/image.jpg"></a>


catalog/view/theme/default/template/module/welcome.tpl ??


<div class="welcome"></div>
<?php echo $message; ?>

<a href="http://www.yesprincesshk.com/estore/">
<img src="http:/www.yesprincesshk.com/estore/images/image.jpg"></a>

:clown: :clown: :clown:

Newbie

Posts

Joined
Thu Apr 12, 2012 11:35 am

Post by raymondization » Thu Mar 26, 2015 4:20 pm

如果你的圖片是在welcome.tpl 上條改的,就要在這個file找出你原先的code去修改

OpenCart®
PHP Developer.
更多中文教學在 OpenCart香港官方網站 !
QQ: 2039574815


New member

Posts

Joined
Wed Sep 26, 2012 11:19 am

Post by pollyfpl » Thu Mar 26, 2015 5:39 pm

:crazy: :crazy: :crazy: 終於做到啦~ Many Thx :laugh: :laugh:

Newbie

Posts

Joined
Thu Apr 12, 2012 11:35 am
Who is online

Users browsing this forum: No registered users and 3 guests