Skip to content

Commit 53d461b

Browse files
committed
First commit
0 parents  commit 53d461b

12 files changed

+344
-0
lines changed

.buildpath

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<buildpath>
3+
<buildpathentry kind="src" path=""/>
4+
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
5+
</buildpath>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
3+
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
4+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/usr/local/php5/bin/phing"/>
5+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
6+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
7+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/j4xdemos-mod-custom-bscompos}"/>
8+
</launchConfiguration>

.project

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>j4xdemos-mod-custom-bscompos</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.wst.common.project.facet.core.builder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.wst.validation.validationbuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.dltk.core.scriptbuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
25+
<triggers>full,incremental,</triggers>
26+
<arguments>
27+
<dictionary>
28+
<key>LaunchConfigHandle</key>
29+
<value>&lt;project&gt;/.externalToolBuilders/Build mod-custom-bscompos with Phing.launch</value>
30+
</dictionary>
31+
</arguments>
32+
</buildCommand>
33+
</buildSpec>
34+
<natures>
35+
<nature>org.eclipse.php.core.PHPNature</nature>
36+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
37+
</natures>
38+
</projectDescription>

.settings/org.eclipse.php.core.prefs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
include_path=0;/j4xdemos-mod-custom-bscompos
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<faceted-project>
3+
<fixed facet="php.core.component"/>
4+
<fixed facet="php.component"/>
5+
<installed facet="php.core.component" version="1"/>
6+
<installed facet="php.component" version="7.4"/>
7+
</faceted-project>

build.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project name="mod_custom_bscompos" basedir="." default="main">
3+
<property file=".project" />
4+
5+
<property name="package" value="${phing.project.name}" override="true" />
6+
7+
<property name="joomladir" value="/Users/ceford/public_html/j4xdemos" override="true" />
8+
9+
<property name="sitelandir" value="${joomladir}/language" override="true" />
10+
11+
<property name="srcdir" value="${project.basedir}" override="true" />
12+
13+
<!-- Fileset for site files -->
14+
<fileset dir="./mod_custom_bscompos/language" id="sitelanfiles">
15+
<include name="**" />
16+
</fileset>
17+
<fileset dir="./mod_custom_bscompos" id="modfiles">
18+
<include name="**" />
19+
<exclude name="language/**" />
20+
</fileset>
21+
22+
<!-- fileset for zip -->
23+
<fileset dir="./mod_custom_bscompos" id="allfiles">
24+
<include name="**" />
25+
</fileset>
26+
27+
<!-- ============================================ -->
28+
<!-- (DEFAULT) Target: main -->
29+
<!-- ============================================ -->
30+
<target name="main" description="main target">
31+
32+
<copy todir="${joomladir}/modules/mod_custom_bscompos">
33+
<fileset refid="modfiles" />
34+
</copy>
35+
36+
<copy todir="${sitelandir}">
37+
<fileset refid="sitelanfiles" />
38+
</copy>
39+
40+
<zip destfile="${srcdir}/mod_custom_bscompos.zip">
41+
<fileset refid="allfiles" />
42+
</zip>
43+
</target>
44+
</project>

mod_custom_bscompos.zip

3.99 KB
Binary file not shown.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
; Joomla! Project
2+
; (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
3+
; License GNU General Public License version 2 or later; see LICENSE.txt
4+
; Note : All ini files need to be saved as UTF-8
5+
6+
MOD_CUSTOM_BSCOMPOS="Custom BS Components"
7+
MOD_CUSTOM_BSCOMPOS_FIELD_BACKGROUNDIMAGE_LABEL="Select a Background Image"
8+
MOD_CUSTOM_BSCOMPOS_FIELD_PREPARE_CONTENT_DESC="Optionally prepare the content with the Joomla Content Plugins."
9+
MOD_CUSTOM_BSCOMPOS_FIELD_PREPARE_CONTENT_LABEL="Prepare Content"
10+
MOD_CUSTOM_BSCOMPOS_XML_DESCRIPTION="This module allows you to create your own Module using a WYSIWYG editor. It supports use of Bootstrap Components"
11+
MOD_CUSTOM_BSCOMPOS_DESC="Check to load Javascript support for any Component in this module."
12+
MOD_CUSTOM_BSCOMPOS_LABEL="BS Components"
13+
14+
MOD_CUSTOM_BSCOMPOS_OPTION_ALERT="Alert"
15+
MOD_CUSTOM_BSCOMPOS_OPTION_BUTTON="Button"
16+
MOD_CUSTOM_BSCOMPOS_OPTION_CAROUSEL="Carousel"
17+
MOD_CUSTOM_BSCOMPOS_OPTION_COLLAPSE="Collapse"
18+
MOD_CUSTOM_BSCOMPOS_OPTION_DROPDOWN="Dropdown"
19+
MOD_CUSTOM_BSCOMPOS_OPTION_MODAL="Modal"
20+
MOD_CUSTOM_BSCOMPOS_OPTION_OFFCANVAS="Offcanvas"
21+
MOD_CUSTOM_BSCOMPOS_OPTION_POPOVER="Popover"
22+
MOD_CUSTOM_BSCOMPOS_OPTION_SCROLLSPY="Scrollspy"
23+
MOD_CUSTOM_BSCOMPOS_OPTION_TAB="Tab"
24+
MOD_CUSTOM_BSCOMPOS_OPTION_TOOLTIP="Tooltip"
25+
MOD_CUSTOM_BSCOMPOS_OPTION_TOAST="Toast"
26+
27+
JHELP_EXTENSIONS_MODULE_MANAGER_CUSTOM_BSCOMPOS_HTML="Site_Modules:_Custom"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
; Joomla! Project
2+
; (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
3+
; License GNU General Public License version 2 or later; see LICENSE.txt
4+
; Note : All ini files need to be saved as UTF-8
5+
6+
MOD_CUSTOM_BSCOMPOS="Custom BS Components"
7+
MOD_CUSTOM_BSCOMPOS_LAYOUT_DEFAULT="Default"
8+
MOD_CUSTOM_BSCOMPOS_XML_DESCRIPTION="This module allows you to create your own Module using a WYSIWYG editor. It supports use of Bootstrap Components"
9+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
/**
3+
* @package Joomla.Site
4+
* @subpackage mod_custom_bscompos
5+
*
6+
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
7+
* @license GNU General Public License version 2 or later; see LICENSE.txt
8+
*/
9+
10+
defined('_JEXEC') or die;
11+
12+
use Joomla\CMS\Helper\ModuleHelper;
13+
use Joomla\CMS\HTML\HTMLHelper;
14+
use Joomla\CMS\Plugin\PluginHelper;
15+
16+
if ($params->def('prepare_content', 1))
17+
{
18+
PluginHelper::importPlugin('content');
19+
$module->content = HTMLHelper::_('content.prepare', $module->content, '', 'mod_custom.content');
20+
}
21+
22+
require ModuleHelper::getLayoutPath('mod_custom_bscompos', $params->get('layout', 'default'));

0 commit comments

Comments
 (0)