Các bước thực hiện như sau:
1. Đăng nhập vào trang quản trị Joomla Backend
2. Tạo một module mới bằng cách
Truy cập Phần mở rộng > Quản lý module > Tạo mới
hoặc
Extensions > Module > New.
3.1 Cách 1: Chọn Module Tùy chỉnh HTML mod_custom.
Sau đó chèn đoạn mã sau vào phần soạn thảo tùy chỉnh
Thay đổi độ rộng theo ý bạn
<div style="width: 100%;">
<script type="text/javascript"
src="http://www.vnexpress.net/Service/Forex_Content.js"></script>
<script type="text/javascript"
src="http://www.vnexpress.net/Service/Gold_Content.js"></script>
<table style="width: 180px;" border="1px" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="background-image:url(img/footerbg.gif);">
<label class="BoxTitle">Giá vàng (VND)</label>
</td>
</tr>
<tr>
<td style="padding-top: 4px;">
<div id="divGoldPrice">
<div><table></table></div>
</div>
</td>
</tr>
</tbody></table>
<script type="text/javascript">
var divGoldPrice = document.getElementById("divGoldPrice");
divGoldPrice.innerHTML = "<div><table>";
divGoldPrice.innerHTML = divGoldPrice.innerHTML + "<tr>
<td style='width:60px'><b>Mua vào</b></td>
<td>"+ vGoldBuy +"</td></tr>";
divGoldPrice.innerHTML = divGoldPrice.innerHTML + "<tr>
<td style='width:60px'><b>Bán ra</b></td>
<td>"+ vGoldSell +"</td></tr>";
divGoldPrice.innerHTML = divGoldPrice.innerHTML + "</table></div>";
</script>
<table style="width: 180px;" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="background-image: url('/cntt/{../footerbg.gif');">
<label class="BoxTitle">Ngoại tệ (VND)</label>
</td>
</tr>
<tr>
<td style="padding-top: 4px;">
<div id="divForex">
<div><table></table></div>
</div>
</td>
</tr>
</tbody></table>
<script type="text/javascript">
var divForex = document.getElementById("divForex");
divForex.innerHTML = "<div><table>";
for( i = 0; i <= 12; i ++ )
{
divForex.innerHTML = divForex.innerHTML + "<tr>
<td style='width:60px'><b>" + vForexs[i] +"</b></td>
<td>"+ vCosts[i] +"</td></tr>";
}
divForex.innerHTML = divForex.innerHTML + "</table></div>";
</script>
</div>
3.2. Cách 2: Lưu đoạn mã trên thành file tigia.html. Upload lên host.
Chọn mod_wrapper, nhập địa chỉ URL của file tigia.html để tạo iframe.
Chọn vị trí của module. Mặc định là left. Bật module.
Sau đó Lưu lại
Xem thêm Cách tạo module thông tin chứng khoán trong Joomla
| Tạo module trượt 2 bên trong Joomla < Lùi |
|---|
Tin mới hơn:
- 04/04/2009 09:57 - Đăng nhập Joomla 1.5 bằng tài khoản Gmail
- 03/04/2009 08:11 - Chèn module bất kỳ vào bài viết trong Joomla
- 02/04/2009 01:03 - Hiển thị alias tiếng Việt utf-8 ứng dụng cho SEO/SEF trong Joomla
- 01/04/2009 22:23 - Cách trình bày trang chủ Frontend trong Joomla 1.5
- 12/03/2009 11:56 - Cách tạo module thông tin chứng khoán trong Joomla
Tin cũ hơn:
- 02/03/2009 11:21 - JM Sitemap cho Joomla 1.5
- 26/02/2009 10:50 - Các phần tử mặc định trong file CSS template của Joomla!
- 20/02/2009 21:48 - Top 50 thành phần mở rộng xuất sắc dành cho Joomla
- 16/02/2009 23:42 - Tạo Module Hello World cho Joomla 1.5
- 16/02/2009 22:21 - Hướng dẫn cài đặt và sử dụng Joomla 1.5.x bằng Flash
Download Game bóng đá PES8 Việt Nam
Tải game bóng đá FiFa 09
Tải game Dragon ball Z - 7 viên ngọc rồng
Tải Game Bóng Đá Pro Evolution Soccer 6 Việt Nam
Download PES 2011 patch Việt Nam PESVN
Tải Game Bóng Đá FIFA 2009 RIP 1 CD
Download Pro Evolution Soccer 2011
Download Game THE SIMS 3
Tải Game bóng đá PES 2009
Download PES 2011 demo
XAPPR: Biến smartphone của bạn thành khẩu súng Laser, chơi game AR
Thiết lập Hotmail POP settings trên điện thoại
[Xbox 360 FAQs] - Những điều nên biết về Xbox 360
Windows 95/98/XP chạy trên các thiết bị Android một cách dễ dàng
Hướng dẫn phục hồi dữ liệu và Fix lỗi bị treo táo của iPhone, iPod
Fifa 12 cho các máy android 2.3 trở lên
Tải game Android miễn phí
iWep Pro v4.1.3 - Tìm mật khẩu mạng WiFi trên iOS
Activator 1.6.1 Việt hóa
L.A. Noire: The Complete Edition - THETA [Full ISO/Action/2011] [13.37GB]
Download 7554 demo
Download Game PC, cập nhật liên tục (torrent)
PES 2012 ra mắt bản mở rộng đầu tiên vào 11/10
PES2012 - Full version - Ngôn ngữ và bình luận tiếng Anh
PES2012 - Blurry disable làm mịn đồ họa
PES 2011 PATCH 4.1 - TRANSFER UPDATE - RELEASED
Download Prestashop 1.5
Download PrestaShop 1.4
Bổ sung Memcached vào PrestaShop 1.4
Hướng dẫn tích hợp Ngân Lượng vào PrestaShop
Sửa lỗi invalid carrier or no carrier selected trong PrestaShop
Sửa lỗi PrestaShop: Path is not the same between your browser and you server
Cài đặt PrestaShop
Thiết kế giao diện PrestaShop Theme
Hướng dẫn cài đặt themes trong PrestaShop
Hướng dẫn cách thêm ngôn ngữ cho PrestaShop
Bộ sưu tập Giao diện Premium PrestaShop Themes chuyên nghiệp
Giới thiệu về website thương mại điện tử 2.0 Prestashop
The Adobe® AIR
Kỹ thuật Hack cơ bản - Phần I
Microsoft Office dành cho Internet và điện thoại thông minh


