User Rating: 2 / 5

Star ActiveStar ActiveStar InactiveStar InactiveStar Inactive
 

Building Media on Joomla Component

Component development might be run or runs javascript and style sheet files that do not exist, create a folder named Joomla system component in the media. 

For example, component hello => media / com_hello. 

And may be create a folder to store the style sheet css js folder to store javascript img folder to store the images. I use the Component

For example, the image file to use JUri :: root () for reference at the Joomla installation.

<?php echo JUri::root().'media/com_hello/img/picture.jpg';?>

 

For example, to call the css files with javascript.

/ / Called Object Document of Joomla. 
$ document = JFactory :: getDocument (); 
/ / Call the javascript file with the command addScript (). 
$ document-> addScript (JUri :: root (). 'media / com_hello / js / script.js'); 
/ / Calls css files with commands addStyleSheet (). 
$ document-> addStyleSheet (JUri :: root (). 'media / com_hello / css / style.css');

 

Chapter 16 - Creating Sidebar Component Development

Recent Topics
Subject
Post Reply
Open
Recent
MApplication Form Components를 소개한다. 구직 신청서는 웹사이트를 통해 작성된다.
By wipaporn Fri 15 Feb 2019 5:27 pm Board korean Language - 한국어
0
2302
Fri 15 Feb 2019 5:27 pm By wipaporn
Joomla 웹사이트 방문수를 집계하기 위한 "Mod vinaora visitors counter" 소개
By wipaporn Fri 15 Feb 2019 5:09 pm Board korean Language - 한국어
0
2210
Fri 15 Feb 2019 5:09 pm By wipaporn
유투브 동영상 및 클립매스 업로드를 위한 MVDO 플러그인 소개
By wipaporn Fri 15 Feb 2019 4:45 pm Board korean Language - 한국어
0
1991
Fri 15 Feb 2019 4:45 pm By wipaporn
Joomla 3.x 홈페이지에서 사진 갤러리를 만들기 위한 MD 갤러리 컴포넌트 소개
By wipaporn Fri 15 Feb 2019 4:36 pm Board korean Language - 한국어
0
2051
Fri 15 Feb 2019 4:36 pm By wipaporn
介绍了editors xtd multicontent,一个将文章从主网站拉入Webclien的插件。
By wipaporn Fri 15 Feb 2019 4:08 pm Board Chinese Language - 简体中文
0
10730
Fri 15 Feb 2019 4:08 pm By wipaporn
介绍MDFiles popular模块将mdfile中的文件显示出来
By wipaporn Fri 15 Feb 2019 4:08 pm Board Chinese Language - 简体中文
0
10824
Fri 15 Feb 2019 4:08 pm By wipaporn
介绍将joomla 1.5升级到joomla 2.5、3.x的 MJupgrade
By wipaporn Fri 15 Feb 2019 4:07 pm Board Chinese Language - 简体中文
0
10835
Fri 15 Feb 2019 4:07 pm By wipaporn
介绍MApplication Form Components工作申请表通过网站。
By wipaporn Fri 15 Feb 2019 4:07 pm Board Chinese Language - 简体中文
0
10972
Fri 15 Feb 2019 4:07 pm By wipaporn
介绍Mod Vinaora访客柜台,用于统计Joomla的网站访问量
By wipaporn Fri 15 Feb 2019 4:07 pm Board Chinese Language - 简体中文
0
19430
Fri 15 Feb 2019 4:07 pm By wipaporn
介绍用于上传youtube视频和clipmass的mvdo插件
By wipaporn Fri 15 Feb 2019 4:07 pm Board Chinese Language - 简体中文
0
10588
Fri 15 Feb 2019 4:07 pm By wipaporn
介绍Mod MDFiles Featured,将文件从MDfiles带到显示
By wipaporn Fri 15 Feb 2019 4:06 pm Board Chinese Language - 简体中文
0
26936
Fri 15 Feb 2019 4:06 pm By wipaporn
介绍用于在Joomla 3.x网站上创建照片库的MD Gallery Components
By wipaporn Fri 15 Feb 2019 4:06 pm Board Chinese Language - 简体中文
0
11158
Fri 15 Feb 2019 4:06 pm By wipaporn
Features Review : Plugin Editors XTD Multicontent membantu dlm mengeluarkan artikel dari Master Site ke Web Clien
By abdkode Fri 15 Feb 2019 2:40 pm Board Bahasa Language
0
4403
Fri 15 Feb 2019 2:40 pm By abdkode
Webmaster에서 Webclient로 데이터 배포를 위한 M MultiSite Content Components 소개
By wipaporn Fri 15 Feb 2019 2:22 pm Board korean Language - 한국어
0
7185
Fri 15 Feb 2019 2:22 pm By wipaporn
마스터 사이트의 도메인 이름 기록을 위한 M MultiSite Content client 소개
By wipaporn Fri 15 Feb 2019 2:20 pm Board korean Language - 한국어
0
10271
Fri 15 Feb 2019 2:20 pm By wipaporn
Mod MD recent 모듈을 소개 한다. phpb 보드는 ๋Joomla에서 보여준다.
By wipaporn Fri 15 Feb 2019 2:18 pm Board korean Language - 한국어
0
2116
Fri 15 Feb 2019 2:18 pm By wipaporn
MDEmbed를 소개한다. 플러그 인에는 링크를 만들고, 비디오, 기사를 업로드하기 위한 버튼이 있으며, 웹 사이트인 Joomla 2.5, 3.x
By wipaporn Fri 15 Feb 2019 2:14 pm Board korean Language - 한국어
0
2120
Fri 15 Feb 2019 2:14 pm By wipaporn
介绍 M MultiSite Content Components,用于将数据从网站管理员分发到Web客户端
By wipaporn Fri 15 Feb 2019 2:01 pm Board Chinese Language - 简体中文
0
14417
Fri 15 Feb 2019 2:01 pm By wipaporn
介绍M MultiSite Content client Components 记录主站点域名
By wipaporn Fri 15 Feb 2019 1:59 pm Board Chinese Language - 简体中文
0
18267
Fri 15 Feb 2019 1:59 pm By wipaporn
介绍mod md recent模块。PHPBB板显示在Joomla上。
By wipaporn Fri 15 Feb 2019 1:54 pm Board Chinese Language - 简体中文
0
19667
Fri 15 Feb 2019 1:54 pm By wipaporn