TShopping

標題: opencart 最新消息模組 安裝方法 [打印本頁]

作者: woff    時間: 2013-2-20 19:15
標題: opencart 最新消息模組 安裝方法
這款最新消息模組 官方有發佈

但是後台一直無法正常秀出 編輯的區塊

所以 小弟我研究了一下

讓最新消息能夠 讓編輯區塊 秀出

首先先下載檔案並覆蓋

opencart最新消息模組.rar (20.16 KB, 下載次數: 21, 售價: 10 金T幣)

然後找到
admin\view\template\common\header.tpl
Find


  1. <li><a href="<?php echo $information; ?>"><?php echo $text_information; ?></a></li>
複製代碼

Insert below

  1. <li><a href="<?php echo $news; ?>"><?php echo $text_news; ?></a></li>
複製代碼

In \admin\controller\common\header.php
Find

  1. $this->data['text_information'] = $this->language->get('text_information');
複製代碼

Insert below

  1. $this->data['text_news'] = $this->language->get('text_news');
複製代碼

Find

  1. $this->data['information'] = $this->url->link('catalog/information', 'token=' . $this->session->data['token'], 'SSL');
複製代碼

Insert Below

  1. $this->data['news'] = $this->url->link('extension/news', 'token=' . $this->session->data['token'], 'SSL');
複製代碼

For zh-TW 語言版本

\admin\language\zh-TW\common\header.php
Find

  1. $_['text_information']       = '文章管理(Information)';
複製代碼

Insert Below

  1. $_['text_news']              = '最新消息';
複製代碼


3. to 安裝模組*************************
   管理員->擴充模組->基本模組->News->install

4.Dont forget to set up permission in ******************
   不要忘記設定權限
   管理員-> 系統管理->管理員設定->管理員群組->
最高權限管理人員

   In Access Permission
   check module/news
   In Modify Permission
   check module/news





作者: ting    時間: 2013-11-22 18:20
感謝分享,我來試試!!
作者: my64064339    時間: 2013-12-26 14:41
感謝分享,如果增加點圖片就更讚了
作者: chinakmt0705    時間: 2014-1-4 01:04
謝謝分享
這樣以後要公布新資訊就方便了
作者: 慕容情    時間: 2014-1-19 00:31
感謝分享   這愁著這塊怎麼辦~~
作者: jamesleung    時間: 2014-2-19 12:31
最新消息模組是Woff你自己寫的嗎?
有沒有放上opencart extension?
http://www.opencart.com/index.php?route=extension/extension
那裏有很多不同地區的人去找,放上去可以更多人受惠呀
作者: woff    時間: 2014-2-19 23:28
是我自己寫的~
只是沒時間放上去~
作者: fido0327    時間: 2014-2-20 16:41
感謝版大的細心的教學
這一套我也有在學
但要自己修改  還是很難低...
作者: woff    時間: 2014-2-20 19:48
多改幾次就會了阿
作者: kwai00108    時間: 2014-5-2 15:29
感謝版大 好帖要顶
作者: good1515    時間: 2014-5-27 02:45
本帖最後由 good1515 於 2014-5-27 19:38 編輯

建議補充

補充 ********************************************
\catalog\controller\common\header.php
Find
  1. $this->data['text_home'] = $this->language->get('text_home');
複製代碼
Insert Below
  1. $this->data['text_news'] = $this->language->get('text_news');
複製代碼
.
\catalog\language\zh-TW\common\header.php
Find
  1. $_['text_home']      = '首頁';
複製代碼
Insert Below
  1. $_['text_news']             = '最新消息';
複製代碼
.
\catalog\view\theme\default\template\common\header.tpl
Find
  1. <?php foreach ($categories as $category) { ?>
複製代碼
Insert Below (上面一行)
  1. <li><a href="index.php?route=common/home"><?php echo $text_home; ?></a></li>
  2. <li><a href="<?php echo $news; ?>"><?php echo $text_news; ?></a></li>
複製代碼

作者: woff    時間: 2014-5-27 11:28
good1515 發表於 2014-5-27 02:45
建議補充

補充 ********************************************

厲害喔!突破盲點了~
作者: lctnet    時間: 2014-6-4 11:58
這一套購物系統很好用,又有很多功能模組,再加上又有推薦功能,現在又有大大的最新消息模組,這讓opencart更有彈性,讓商家很好公布訊息使用,感謝!
作者: good1515    時間: 2014-6-30 08:26
改寫成vqmod版本了 安裝方法應該變成更簡單 複製貼上就可以

缺點是要裝vqmod 不過這東西好用 是很建議安裝的

新聞插件-Advance News System.rar

25.04 KB, 下載次數: 57

新聞插件


作者: woff    時間: 2014-6-30 11:36
好厲害~
作者: spspiex    時間: 2014-9-19 00:11
感謝分享,如果增加點圖片就更讚了




歡迎光臨 TShopping (http://www.tshopping.com.tw/) Powered by Discuz! X3.2