Showing posts with label Joomla. Show all posts
Showing posts with label Joomla. Show all posts

Tuesday, October 2, 2012

Adding custom columns/fields to Joomla article, section and user

Run:
ALTER TABLE `jos_content` ADD `article_image` VARCHAR( 255 ) NOT NULL
in for instance phpMyAdmin.

Thursday, August 2, 2012

Hide Joomla Subdirectory (Subfolder)

Source: http://joomlawebhosting.ca/joomla-15-tips/57-hide-joomla-subdirectory-subfolder.html
Instead of installing Joomla in the web root (public_html), some like to put
the Joomla files in a subfolder for better housekeeping.

Thursday, April 12, 2012

Tạo vị trí mới trong template joomla 1.5 và 2.5

Mở file chứa template của bạn, chẳng hạn "\templates\thuvientapchi\index.php", xác định chỗ mà bạn muốn thêm một vị trí module mới và đặt vào đoạn mã sau:

Sunday, December 4, 2011

Lightbox for Images and Videos on a Joomla website

Nguồn: http://www.goodwebpractices.com/joomla/lightbox-images-and-videos-on-joomla-website.html
In this tutorial we will discuss how to create a 'Lightbox' effect for your Joomla 1.0 or 1.5 website, using the plugin YOOeffects from the YOOtheme team. Using a Lightbox is a great way to show off your images on your website, as a slideshow or for individual pictures. Videos can also be shown using the Lightbox javascript - both from your own website or streamed from another site (such as YouTube).

Friday, December 2, 2011

Joomla 1.7 – How to Add a New Module Position In Joomla Template

Nguồn: http://www.blogger.com/post-create.g?blogID=9205796291897929439

This Joomla tutorial is created for Scott who asked me how to create a new module position inside a Joomla template ie Beez_20. Adding a new module position inside a Joomla 1.7 template is fairly simple with the most challenging step figuring out where you want to put the new module position. Use this post to find out where your module positions are located.

Friday, October 21, 2011

Tích hợp Joomla và phpBB

Nguồn: http://misoblog.net/joomla/tich-hop-joomla-va-phpbb.html

Làm website, đến một ngày ta sẽ nghĩ đến việc làm thêm một cái diễn đàn. Mà phải là tích hợp diễn đàn và website chung với nhau, nghĩa là có sự đồng bộ thông tin và trạng thái đăng nhập của thành viên. Với Joomla, ta có nhiều giải pháp diễn đàn: vBB, SMF, Fireboard,... Nhưng trong bài viết này mình sẽ nói về phpBB: một hệ thống diễn đàn được sử dụng rất nhiều, miễn phí và có thể tích hợp hoàn hảo với Joomla 1.5. Joomla.org và Joomlaviet.org cũng đều sử dụng phpBB.

Wednesday, July 6, 2011

Allow Joomla Users to Manage Their Own Articles

It's really useful for writers on a website to be able to easily find and manage their articles. With Joomla, there's no central control panel for writers to do that. Fortunately there's an outstanding, free extension called Frontend User Article List which solves that problem. Here's how to use it:

Wednesday, June 15, 2011

Use Server Cache Control to Improve Performance

Caching is the temporary storage of frequently accessed data in higher speed media (typically SRAM or RAM) for more efficient retrieval.

Thursday, June 9, 2011

Invalid token when using the Joomla! Login Module

Since Joomla! 1.5.3, a security feature has been added to the Joomla! CMS which checks submitted forms for the existance of a specific token.

Joomla – Bảo vệ file “configuration.php” khỏi các truy nhập trái phép

Việc bảo vệ các file có nội dung quan trọng, các file cấu hình chứa các thông số của hệ thống như: tên database, tên truy nhập, mật khẩu… là rất cần thiết và phải đặc biệt lưu tâm.

Sunday, April 17, 2011

Các cách sử dụng file .htaccess bạn nên biết

File .htaccess(hypertext access) của apache là một công cụ cực kỳ hữu dụng. File .htaccess thường được tìm thấy trong thư mục root của website, bạn có thể dễ dàng sửa chữa nó bằng bất kỳ text editor nào. Bạn nên sao lưu lại file .htaccess của mình trước khi thử nghiệm các cách hack dưới đây.

Friday, April 15, 2011

Tăng tốc Joomla! bằng cách tạo cache cho module

Nếu như bạn có một website đơn giản và mỗi ngày chỉ có vài trăm khách viếng thăm thì bạn không cần quan tâm tới bài viết này.

Monday, April 11, 2011

Cách nâng cấp chuyển đổi Module của Joomla! 1.5 lên Joomla! 1.6

Sau khi nâng cấp chuyển đổi Joomla! từ phiên bản 1.5 lên 1.6 thì các Module cũ có thể sẽ không hoạt động được.

Sunday, February 13, 2011

Lấy tên user đăng nhập và Session trong joomla

$user =& JFactory::getUser();
$name = $user->get('name');


và tiếp theo là :
echo 'Xin chào bạn '.$name.' Chào mừng bạn đã xâm nhập';

Còn muốn xem quyền hay xem thuộc tính khác thì bác cứ việc mở các bảng jos_user để xem tên trường.
Rồi tiếp đó vẫn là cái : $user->get('Tên_trường')

Ví dụ:

lấy ra loại user $type = $user->get('usertype');

lúc echo $type ra thì nó sẽ ra cả quyền là supper administrator, admin, registed ... tùy thuộc vào quyền mà user đó đăng nhập vào.

Saturday, August 7, 2010

Reset password của root - MySQL trên Windows - Linux

nguồn: http://www.hackingart.com/mysql-tren-centos/40-doi-password-set-password-trong-mysql-command.html
cách đổi rất đơn giản

Một số phương pháp bảo mật website joomla

Nguồn: http://www.thegioimanguon.com/2010/03/07/m%E1%BB%99t-s%E1%BB%91-ph%C6%B0%C6%A1ng-phap-b%E1%BA%A3o-m%E1%BA%ADt-website-joomla/

Xây dựng website đã là khó. Để duy trì và phát triển nó lại càng khó hơn. Và bảo mật cho nó thì vô cùng khó. Sau đây tôi xin giới thiệu vài biện pháp đơn giản để phần nào có thể bảo vệ được website của bạn khỏi những sự nghịch ngợm, chọc phá.

Tuesday, August 3, 2010

Tản mạn về Joomla - TAG là gì?

Nguồn: http://luyenkim.net/home9/component/option,com_fireboard/func,view/catid,66/id,1886/Itemid,88889169/
Thời gian quan, thỉnh thoảng ngó bên diễn đàn JV thấy anh em trao đổi bàn tán nhiều về TAG trong Joomla (cả 1.0.x và 1.5.x).

Router Packet Networking

Đây là video ngắn khá hay, mô tả đường đi của một gói tin trên Mạng Internet.