Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart - reBOOT - Responsive Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #721  
Old 10-23-2014, 09:59 AM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: X-Cart - reBOOT - Responsive Template

Hi Phil

How would I make Refine Filters load above the products for users of mobiles in portrait mode?

Currently it loads below it.
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
  #722  
Old 10-23-2014, 11:25 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
How would I make Refine Filters load above the products for users of mobiles in portrait mode?

ok, here's a way to do it (tested) ...

1) In skin/reboot/customer/bar.tpl

Replace...
Code:
{if $active_modules.Refine_Filters} {include file="modules/Refine_Filters/customer_filter.tpl"} {/if}

With...
Code:
{if $active_modules.Refine_Filters} <div id="rfx_sidebar"></div> <div id="rfx"> {include file="modules/Refine_Filters/customer_filter.tpl"} </div> {/if}

2) In skin/reboot/custom/home_2_cols_left.tpl (sidebar on left)

Replace...
Code:
<div class="col-md-9 col-md-push-3"> {include file="customer/content.tpl"} </div>

With...
Code:
<div class="col-md-9 col-md-push-3" id="content_col"> <div id="rfx_content"> {include file="customer/content.tpl"} </div> </div>

OR, skin/reboot/custom/home_2_cols_right.tpl (sidebar on right)

Replace...
Code:
<div class="col-md-9"> {include file="customer/content.tpl"} </div>

With...
Code:
<div class="col-md-9" id="content_col"> <div id="rfx_content"> {include file="customer/content.tpl"} </div> </div>

3) In skin/reboot/js/reboot.js

At the end, insert...
Code:
function ChangeOrientation(width){ if (width <= 991) { $("#rfx").after($("#rfx_content")); }else{ $("#rfx").after($("#rfx_sidebar")); $("#rfx_content").appendTo("#content_col"); } } $(function () { var onLoadWidth = $(window).width(); ChangeOrientation(onLoadWidth); $(window).resize(function () { var resizeWidth = $(window).width(); ChangeOrientation(resizeWidth); }); });
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
Kary (10-25-2014)
  #723  
Old 10-25-2014, 11:23 AM
 
Kary Kary is offline
 

Newbie
  
Join Date: Sep 2014
Posts: 2
 

Default Re: X-Cart - reBOOT - Responsive Template

I have purchased and really like the Reboot Template. For users that want a fast
easy way to make changes it is great. Phil is very responsive and helpful. As a new xcart owner and new to html, php etc I find this template invaluable. I will buy more from xcartmods one of the better web companies I have found.
Reply With Quote

The following 2 users thank Kary for this useful post:
elmirage001 (10-27-2014), PhilJ (10-26-2014)
  #724  
Old 10-27-2014, 07:40 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Thumbs up Re: X-Cart - reBOOT - Responsive Template

Suggestion

It would be so much more powerful when the testimonials would have the option of showing an avatar. People respond and trust testimonials a lot more when they see the actual person.

Is there a way that there will be an addon to add this feature?

Maybe I'm not the only one that would like to see this as it's very standard in 2014 for most e-commerce stores.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote

The following 3 users thank designguru for this useful post:
elmirage001 (10-27-2014), PhilJ (10-27-2014), Pitak (10-27-2014)
  #725  
Old 10-27-2014, 07:49 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Good idea. Gravatar images would be the simplest way. I'll look into it and report back.
__________________
xcartmods.co.uk
Reply With Quote

The following 3 users thank PhilJ for this useful post:
designguru (10-27-2014), elmirage001 (10-27-2014), Pitak (10-27-2014)
  #726  
Old 10-27-2014, 08:03 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by PhilJ
Good idea. Gravatar images would be the simplest way. I'll look into it and report back.

Great! It has become a basic feature more and more and helps to build trust.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #727  
Old 10-27-2014, 02:49 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
It would be so much more powerful when the testimonials would have the option of showing an avatar. People respond and trust testimonials a lot more when they see the actual person.

ok, here's how...

1) Upload the attached file, function.gravatar.php, to include/templater/plugins

2) In skin/reboot/modules/Testimonials/testimonials.tpl

Replace...
Code:
{$t.testimonial}
With...
Code:
<img src="{gravatar email=$t.email rating='PG' size='80'}" alt="{$t.name}" style="float:left;margin:0 10px 10px 0"> {$t.testimonial} <div class="clearing"></div>
Default icon size is 80 pixels. To adjust, edit size='80'.

To set your own default icon (for those who submit testimonials and have not registered a Gravitar icon), instead use...

Code:
<img src="{gravatar email=$t.email rating='PG' size='80' default='http://www.yourstore.com/skin/reboot/modules/Testimonials/images/default_avatar.jpg'}" alt="{$t.name}" style="float:left;margin:0 10px 10px 0">

Then upload your default_avatar.jpg image to skin/reboot/modules/Testimonials/images/

3) In skin/reboot/modules/Testimonials/testimonial_add.tpl

After...
Code:
<input name="email" type="text" id="email" maxlength="255" class="testimonial_input" placeholder="Required" required>
Insert...
Code:
<span style="font-size:12px">{$lng.lbl_testimonial_gravitar}</span>

4) Apply SQL patch...

Code:
REPLACE INTO xcart_languages SET code='en', name='lbl_testimonial_gravitar', value='If you have a <a href=\"https://gravatar.com/site/signup/\" target=\"_blank\">Gravitar icon</a> associated with your email address, we will display it next to your testimonial.', topic='Labels';

5) Run a template cleanup.

Demo here. More info on the plugin here. More info on the icons here. Very useful and could be used elsewhere around your store
Attached Images
File Type: jpg default_avatar.jpg (1.3 KB, 116 views)
Attached Files
File Type: php function.gravatar.php (2.3 KB, 4 views)
__________________
xcartmods.co.uk
Reply With Quote

The following 5 users thank PhilJ for this useful post:
BrianY (11-01-2014), designguru (10-28-2014), elmirage001 (10-28-2014), ITVV (10-27-2014), Pitak (10-27-2014)
  #728  
Old 10-28-2014, 07:42 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by PhilJ
ok, here's how...

Demo here. More info on the plugin here. More info on the icons here. Very useful and could be used elsewhere around your store



Guess it was a good idea =) Nice to see turn around that fast. I couldn't find {$t.testimonial}.
Could only find {$t.testimonial|sslash} (v2.6.4 as far as I remember)
The testimonials in the footer do still not show it though, maybe it would be another improvement when they show there too?

***

I was just told by xcartmods.co.uk that 'they're sick of people like me' and that I should go away and I could make as much noise as I want.

I have no idea what happened and am a bit shocked. Yesterday I brought up an idea how testimonials could be improved and today I was treated very badly and condenscending. I just tried to give some ideas to improve the mods of xcartmods.co.uk which I'm a fan of and didn't want to feel anyone offended by my ideas or thoughts nor put pressure that they need to come to life. I really like reboot and xcartmods.co.uk but am out of words. Unfortunately, I couldn't find out what the problem might be as I only got told to find out myself and a phrase 'I know exactly who you are. Goodnight!' and the chat was closed.

I hope that some of the ideas helped to build an even better product and helped some other people too. My apologies if I offended anyone by bringing up improvement ideas.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #729  
Old 10-28-2014, 09:55 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Just enforces what I said. Sorry, but I know when a person is out to cause trouble and I won't stand for it.
__________________
xcartmods.co.uk
Reply With Quote
  #730  
Old 10-28-2014, 09:56 AM
 
Freakmode Freakmode is offline
 

X-Adept
  
Join Date: Jun 2003
Location: UK
Posts: 696
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by designguru
I was just told by xcartmods.co.uk that 'they're sick of people like me' and that I should go away and I could make as much noise as I want.

Are you sure it was Phil, sounds a bit odd
__________________
X-Cart 4.7.12 (Live)
Redux Template
CDSEO
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:46 PM.

   

 
X-Cart forums © 2001-2020