This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page-loader .loader { | |
width: 100px; | |
height: 100px; | |
position: absolute; | |
left: 50%; | |
top: 50%; | |
margin: 0px 0 0 -50px; | |
-moz-transform: translate(0, 500px); | |
-webkit-transform: translate(0, 500px); | |
-ms-transform: translate(0, 500px); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.mod-custom__page_loader { | |
background: url("direct_path_to_your_logo_goes_here") 50% 50% no-repeat!important; | |
} | |
.mod-custom__page_loader .logo h1 span { | |
color: transparent !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $live_site = 'http://www.example.com/joomla'; | |
var $log_path = '/home/username/public_html/joomla/logs'; | |
var $tmp_path = '/home/username/public_html/joomla/tmp'; | |
var $ftp_root = 'public_html/joomla'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $live_site = 'http://www.example.com'; | |
var $log_path = '/home/username/public_html/logs'; | |
var $tmp_path = '/home/username/public_html/tmp'; | |
var $ftp_root = 'public_html'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public $dbtype = 'mysql'; | |
public $host = 'localhost'; | |
public $user = 'database_user'; | |
public $password = 'password'; | |
public $db = 'database_name'; | |
public $dbprefix = 'jos_'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public $live_site = ‘http://website.com'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public $log_path = '/home/username/domains/domain.com/public_html/joomla/logs'; | |
public $tmp_path = '/home/username/domains/domain.com/public_html/joomla/tmp'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if settings.badge_toggle and settings.new_products_period.size > 0 %} | |
{% comment %}Is this product new?{% endcomment %} | |
{% assign date_pub_y = product.published_at | date:'%Y' %} | |
{% assign date_pub_d = product.published_at | date:'%j' %} | |
{% assign date_now_y = 'now' | date:'%Y' %} | |
{% assign date_now_d = 'now' | date:'%j' %} | |
{% assign dates_diff_y = date_now_y | minus: date_pub_y | times: 365 %} | |
{% assign dates_diff_d = date_now_d | minus: date_pub_d %} | |
{% assign dates_diff = dates_diff_y | plus: dates_diff_d %} | |
{% assign new_products_period = settings.new_products_period | plus: 0 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if settings.badge_toggle %} | |
{% if settings.new_products_period.size > 0 %} | |
{% if dates_diff <= new_products_period %} | |
<span class="product_badge new">{{ 'layout.product.new_products' | t }}</span> | |
{% endif %} | |
{% endif %} | |
{% if on_sale %} | |
{% if settings.sale_type == "text" %} | |
<span class="product_badge sale">{{ 'layout.product.sale' | t }}</span> | |
{% else %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Product badge", | |
"settings": [ | |
{ | |
"type": "checkbox", | |
"id": "badge_toggle", | |
"label": "Show badge on product" | |
}, | |
{ | |
"type": "text", |
OlderNewer