forked from joomla/Component-Builder
Resolved gh-598 to allow empty prefix as default.
This commit is contained in:
parent
d062e03a04
commit
68769604dd
@ -144,7 +144,7 @@ TODO
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 19th August, 2020
|
||||
+ *Last Build*: 15th September, 2020
|
||||
+ *Version*: 2.11.6
|
||||
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
|
@ -144,7 +144,7 @@ TODO
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 19th August, 2020
|
||||
+ *Last Build*: 15th September, 2020
|
||||
+ *Version*: 2.11.6
|
||||
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
|
@ -205,7 +205,7 @@
|
||||
label="COM_COMPONENTBUILDER_CONFIG_MENU_PREFIX_LABEL"
|
||||
size="30"
|
||||
maxlength="30"
|
||||
default="»"
|
||||
default=""
|
||||
description="COM_COMPONENTBUILDER_CONFIG_MENU_PREFIX_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="SAFEHTML"
|
||||
|
@ -13730,8 +13730,6 @@ class Interpretation extends Fields
|
||||
// set some V3 attr
|
||||
$data_hide = (2 == $this->footableVersion)
|
||||
? 'data-hide="phone,tablet"' : 'data-breakpoints="xs sm md"';
|
||||
$data_type = (2 == $this->footableVersion) ? 'data-type="numeric"'
|
||||
: 'data-type="number"';
|
||||
// add the defaults
|
||||
if (!isset($this->fieldsNames[$viewName_single]['published']))
|
||||
{
|
||||
@ -13745,6 +13743,8 @@ class Interpretation extends Fields
|
||||
// add the defaults
|
||||
if (!isset($this->fieldsNames[$viewName_single]['id']))
|
||||
{
|
||||
$data_type = (2 == $this->footableVersion) ? 'data-type="numeric"'
|
||||
: 'data-type="number"';
|
||||
$head .= PHP_EOL . $this->_t(2) . '<th width="5" ' . $data_type
|
||||
. ' ' . $data_hide . '>';
|
||||
$head .= PHP_EOL . $this->_t(3) . "<?php echo JText:" . ":_('"
|
||||
@ -13967,7 +13967,9 @@ class Interpretation extends Fields
|
||||
)
|
||||
{
|
||||
if (($order_field_name = $this->getFieldDatabaseName(
|
||||
$viewName_list, $order_field['field'], 'listJoinBuilder'
|
||||
$viewName_list, $order_field['field']
|
||||
// We Removed This 'listJoinBuilder' as targetArea
|
||||
// we will keep an eye on this
|
||||
)) !== false)
|
||||
{
|
||||
// default ordering is by publish and ordering
|
||||
|
@ -954,7 +954,7 @@
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_MENU_PREFIX_LABEL"
|
||||
size="30"
|
||||
maxlength="30"
|
||||
default="&#187;"
|
||||
default=""
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_MENU_PREFIX_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="SAFEHTML"
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="3.2" method="upgrade">
|
||||
<name>COM_COMPONENTBUILDER</name>
|
||||
<creationDate>19th August, 2020</creationDate>
|
||||
<creationDate>15th September, 2020</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
||||
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user