Skip to content

Commit

Permalink
Merge pull request #406 from JoomShaper/new-updates
Browse files Browse the repository at this point in the history
New updates
  • Loading branch information
mi-prakash authored May 7, 2024
2 parents 8fbed92 + 3da5799 commit 7f6a274
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 9 deletions.
13 changes: 9 additions & 4 deletions administrator/language/en-GB/en-GB.plg_system_helixultimate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ HELIX_ULTIMATE_LOADER_CLOCK="Clock"
HELIX_ULTIMATE_LOADER_LOGO="Logo"
HELIX_ULTIMATE_ENABLE_BOXED_LAYOUT="Boxed Layout"
HELIX_ULTIMATE_CONTAINER_MAX_WIDTH="Container Max Width (px)"
HELIX_ULTIMATE_CONTAINER_MAX_WIDTH_DESC="Set the max width of the container. (Not applicable for Tablet & Mobile devices)<br><b>If you don't want to set max width then set the field empty</b>"
HELIX_ULTIMATE_CONTAINER_MAX_WIDTH_DESC="Set the max width of the container. (Not applicable for Tablet & Mobile devices)<br><b>If you don't want to set the maximum width, leave the field blank</b>"
HELIX_ULTIMATE_BODY_BACKGROUND_IMAGE="Background Image"
HELIX_ULTIMATE_COPYRIGHT="Copyright"
HELIX_ULTIMATE_GO_TO_TOP="Go to Top"
Expand Down Expand Up @@ -186,15 +186,19 @@ HELIX_ULTIMATE_BLOG_DETAILS_REMOVE_CONTAINER="Full-width Layout"
HELIX_ULTIMATE_BLOG_LIST_TYPE="List Type"
HELIX_ULTIMATE_BLOG_LIST_TYPE_DEFAULT="Default"
HELIX_ULTIMATE_BLOG_LIST_TYPE_MASONRY="Masonry"
HELIX_ULTIMATE_BLOG_READ_TIME="Read Time"
HELIX_ULTIMATE_BLOG_READ_TIME_DESC="Display estimated article Read Time in minutes"

HELIX_ULTIMATE_BLOG_LIST_DISABLE_MODULE="Disable Modules"
HELIX_ULTIMATE_BLOG_LIST_DISABLE_MODULE_DESC="This option will disable all modules from the selected field from article list page."
HELIX_ULTIMATE_BLOG_LIST_DISABLE_MODULE_POSITIONS="Disable Positions"
HELIX_ULTIMATE_BLOG_LIST_DISABLE_MODULE_POSITIONS_DESC="Select which module positions to disable"
HELIX_ULTIMATE_BLOG_LIST_DISABLE_MODULE_POSITIONS_DESC="Select which module positions you want to disable"
HELIX_ULTIMATE_BLOG_DETAILS_DISABLE_MODULE="Disable Modules"
HELIX_ULTIMATE_BLOG_DETAILS_DISABLE_MODULE_DESC="This option will disable all modules from the selected filed from article details page."
HELIX_ULTIMATE_BLOG_DETAILS_DISABLE_MODULE_POSITIONS="Disable Positions"
HELIX_ULTIMATE_BLOG_DETAILS_DISABLE_MODULE_POSITIONS_DESC="Select which module positions to disable"
HELIX_ULTIMATE_BLOG_DETAILS_DISABLE_MODULE_POSITIONS_DESC="Select which module positions you want to disable"
HELIX_ULTIMATE_BLOG_MINUTE_READ="minute read"
HELIX_ULTIMATE_BLOG_MINUTES_READ="minutes read"

;Layout
HELIX_ULTIMATE_SECTION_TITLE="Section"
Expand Down Expand Up @@ -365,4 +369,5 @@ HELIX_ULTIMATE_HEADER_STICKY_OFFSET_DESC="After which scroll offset the header b
HELIX_ULTIMATE_BLOG_IMAGE_ALT_TEXT="Image Alt Text"
HELIX_ULTIMATE_BLOG_IMAGE_ALT_TEXT_DESCRIPTION="This field isn't required. So, if you leave this field then alt text will get from title."

HELIX_ULTIMATE_STICKY_POSITION="Position Sticky"
HELIX_ULTIMATE_STICKY_POSITION="Position Sticky"
HELIX_ULTIMATE_STICKY_POSITION_DESC="The viewport doesn’t change when the window is scrolled, so a fixed positioned element will stay right/left where it is when the page is scrolled"
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
}

.hu-image-upload-wrapper {
width: 200px;
width: 290px;
display: block;
margin-bottom: 20px;
}

.hu-image-upload-wrapper:not(.loading) {
height: 200px;
height: 290px;
background: #f5f5f5;
padding: 5px;
border: 1px solid #e5e5e5;
Expand Down
1 change: 1 addition & 0 deletions plugins/system/helixultimate/layout/settings/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ function column_grid_system($device = 'lg')
'type' => 'checkbox',
'group' => 'general',
'title' => Text::_('HELIX_ULTIMATE_STICKY_POSITION'),
'desc' => Text::_('HELIX_ULTIMATE_STICKY_POSITION_DESC'),
'std' => '',
),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
$intro = (isset($displayData['intro']) && $displayData['intro']) ? $displayData['intro'] : false;
$displayData['articleView'] = ($intro) ? 'intro' : 'details';
$blockPosition = $displayData['params']->get('info_block_position', 0);
$template = HelixUltimate\Framework\Platform\Helper::loadTemplateData();
$blogReadTime = $template->params->get('blog_read_time');
?>
<div class="article-info">

Expand Down Expand Up @@ -61,6 +63,8 @@
<?php echo $this->sublayout('hits', $displayData); ?>
<?php endif; ?>

<?php echo $this->sublayout('reading_time', $displayData['item']); ?>
<?php if ($blogReadTime) :?>
<?php echo $this->sublayout('reading_time', $displayData['item']); ?>
<?php endif; ?>
<?php endif; ?>
</div>
7 changes: 7 additions & 0 deletions templates/shaper_helixultimate/options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1562,6 +1562,13 @@
default="0"
label="HELIX_ULTIMATE_LIST_TAGS_OPTION"
description="HELIX_ULTIMATE_LIST_TAGS_OPTION_DESC" />

<field name="blog_read_time"
type="checkbox"
helixgroup="blog_list"
default="0"
label="HELIX_ULTIMATE_BLOG_READ_TIME"
description="HELIX_ULTIMATE_BLOG_READ_TIME_DESC" />

<field name="blog_list_disable_module"
type="checkbox"
Expand Down
2 changes: 1 addition & 1 deletion templates/shaper_helixultimate/scss/offcanvas.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

.offcanvas-overlay {
background: rgba(0, 0, 0, 0.5);
background: rgba(0, 0, 0, 0.7);
bottom: 0;
left: 0;
opacity: 0;
Expand Down
10 changes: 9 additions & 1 deletion templates/shaper_helixultimate/scss/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2704,4 +2704,12 @@ li.custom_user_login_menu ul {
li.custom_user_login_menu ul li {
padding: 5px 0;
border-bottom: 1px solid #eee;
}
}

// Login Passkey style
svg#Passkey {
height: 2rem;
}
#icon-passkey {
fill: #fff;
}

0 comments on commit 7f6a274

Please sign in to comment.