Re: X-Cart - reBOOT - Responsive Template
HI,
In the welcome section of the home page (xcart) ReBoot it displays the full Name {{name}}, what can I use to only show the First Name? |
Re: X-Cart - reBOOT - Responsive Template
Quote:
In home.php Before... Code:
/** Insert... Code:
if ($user_account['firstname']) { Then in skin/reboot/custom/home/home_welcome.tpl Replace instance(s) of... Code:
$display_greet_visitor_name Code:
$display_greet_visitor_firstname If you want to be able to use the first name globally, instead add the PHP code to auth.php before ?> and use Smarty {$display_greet_visitor_firstname} along with {if $login}...{/if} |
Re: X-Cart - reBOOT - Responsive Template
================
Then in skin/reboot/custom/home/home_welcome.tpl Replace... $display_greet_visitor_name With... $display_greet_visitor_firstname ================ Thanks Phil, It didn't work at first, until I noticed a second instance of $display_greet_visitor_name... {if $display_greet_visitor_firstname} {include file="customer/dialog.tpl" title=$lng.lbl_welcome_back|substitute:"name":$dis play_greet_visitor_firstname content=$smarty.capture.dialog} |
Re: X-Cart - reBOOT - Responsive Template
^ I've updated the code a little, so you might want to redo.
|
Re: X-Cart - reBOOT - Responsive Template
Updated the code a little....
do you mean: skin/reboot/custom/home/home_welcome.tpl or all the ReBoot Files? |
Re: X-Cart - reBOOT - Responsive Template
Hi Phil,
Last night I found out that I could not log into my store... I got it fixed... Now I'm getting a bunch of SQL Errors, every minute or so.....: ========================= [02-Mar-2018 11:32:35] SQL error: Site : http://isexypartynetwork.net/isexyredpoints/giftmall Remote IP : 2601:c0:c100:97b7:1f6:deeb:6772:9624 Logged as : blainevk SQL query : SELECT * FROM reboot_testimonials WHERE approved='Y' ORDER BY RAND() LIMIT 5 Error code : 1146 Description : Table 'db624068427.reboot_testimonials' doesn't exist Request URI: /isexyredpoints/giftmall/login.php?mode=logout Backtrace: /homepages/9/d622476657/htdocs/isexypartynetwork.net/isexyredpoints/giftmall/include/func/func.db.php:738 /homepages/9/d622476657/htdocs/isexypartynetwork.net/isexyredpoints/giftmall/include/func/func.db.php:615 /homepages/9/d622476657/htdocs/isexypartynetwork.net/isexyredpoints/giftmall/reboot_get_testimonials.php:9 /homepages/9/d622476657/htdocs/isexypartynetwork.net/isexyredpoints/giftmall/auth.php:131 /homepages/9/d622476657/htdocs/isexypartynetwork.net/isexyredpoints/giftmall/login.php:50 ========================= http://isexypartynetwork.net/isexyredpoints/giftmall/home.php I looked in my Xcart Database and didn't see anything "ReBoot"... are there files to upload to my Xcart SQL Database? Blaine. |
Re: X-Cart - reBOOT - Responsive Template
Uncheck admin > reboot settings > addons > "Enable testimonials addon"
Or, install the addon. |
Re: X-Cart - reBOOT - Responsive Template
Product Additional Data:
How about add another function? Product Uploads - Let registered customer to upload extra information with there order |
Re: X-Cart - reBOOT - Responsive Template
When I set
Grid view product block minimum height (pixels) to 260px, the product block displays very long at first, about 2 seconds later, the blocks become ok. www.buyeyeglasses.net |
Re: X-Cart - reBOOT - Responsive Template
How to only list 4 static pages titles at footer, pls? tks
|
All times are GMT -8. The time now is 12:57 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.