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
  #1441  
Old 01-21-2020, 03:05 PM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,647
 

Default Re: X-Cart - reBOOT - Responsive Template

@ cheap, try this instead...

In /skin/reboot/custom/footer/footer_content_BP.tpl

Replace...
Code:
<ul class="angles footer"> {foreach from=$blog_latest item=post name=post} <li><a href="{$post.post_name}">{$post.post_title}</a></li> {/foreach} </ul>
With...
Code:
{foreach from=$blog_latest item=post name=post} <div class="footer-truncate{if $smarty.foreach.post.last} last{/if}"><i class="fa fa-angle-right"></i> <a href="{$post.post_name}">{$post.post_title}</a></div> {/foreach}
Then in /skin/reboot/css/reboot.css

At the end insert...
Code:
.footer-truncate { margin: 0; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.1); width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .footer-truncate.last { border-bottom: none; } .footer-truncate a:link { color: #fff !important; text-decoration: none !important; padding-left: 3px; }
Then clear the template cache.
Reply With Quote
  #1442  
Old 01-22-2020, 04:51 AM
 
cheap eyeglasses cheap eyeglasses is online now
 

Senior Member
  
Join Date: Oct 2010
Posts: 133
 

Default Re: X-Cart - reBOOT - Responsive Template

just found the issue, reboot use bootstrap 3, so it does not support text-truncate, text-truncate belongs to bootstrap 4, and www.xuyiedu.cn uses bootstrap 4.


modify 2 files:
in /skin/reboot/css/reboot.css

At the end insert...
footer .eye{
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}


In /skin/reboot/custom/footer/footer_content_BP.tpl

Replace...


<ul class="angles footer">
{foreach from=$blog_latest item=post name=post}
<li> <a href="https://www.zpz.cn/blog/{$post.ID}">{$post.post_title}</a></li>
{/foreach}
</ul>

with:


<ul class="angles footer">
{foreach from=$blog_latest item=post name=post}
<li class="eye"> <a href="https://www.zpz.cn/blog/{$post.ID}">{$post.post_title}</a></li>
{/foreach}
</ul>
Reply With Quote
  #1443  
Old 01-24-2020, 02:49 PM
 
cheap eyeglasses cheap eyeglasses is online now
 

Senior Member
  
Join Date: Oct 2010
Posts: 133
 

Default Re: X-Cart - reBOOT - Responsive Template

How to modify banner for each category and add content at the left/center/right of the banner for desk computer? for mobile, change the banner to a small image, and let the small banner and text at two parts separately?
Reply With Quote
  #1444  
Old 01-30-2020, 12:32 PM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,647
 

Default Re: X-Cart - reBOOT - Responsive Template

breadcrumbs.tpl updated to support special characters and validate better.
Reply With Quote

The following 2 users thank PhilJ for this useful post:
elmirage001 (02-06-2020), peggyr (01-30-2020)
  #1445  
Old 01-31-2020, 02:04 AM
  zone1creative's Avatar 
zone1creative zone1creative is offline
 

eXpert
  
Join Date: Jan 2009
Location: Hove, UK
Posts: 323
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Originally Posted by PhilJ
Drop-in replacement for the breadcrumbs, to fix the "data-vocabulary.org schema deprecated" issue from Google.

Upload attached to /skin/reboot/customer

It includes JSON-LD stuctured data also

UPDATED 30th JAN TO HANDLE SPECIAL CHARACTERS BETTER

Thanks Phil, This is to do with data-vocabulary being depreciated by google.
__________________
Pinakin Patel
Zone1 Creative Ltd
http://www.zone1creative.co.uk/
Reply With Quote
  #1446  
Old 01-31-2020, 02:29 AM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,647
 

Default Re: X-Cart - reBOOT - Responsive Template

@pinakin no, just structured data for the breadcrumb ^
Reply With Quote
  #1447  
Old 02-13-2020, 05:33 AM
 
cheap eyeglasses cheap eyeglasses is online now
 

Senior Member
  
Join Date: Oct 2010
Posts: 133
 

Default Re: X-Cart - reBOOT - Responsive Template

how to change blog to other fold name, say news?


tks
Reply With Quote
  #1448  
Old 02-14-2020, 03:22 AM
  PhilJ's Avatar 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Location: UK
Posts: 3,647
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
how to change blog to other fold name, say news?
There's not a quick way of doing that unfortunately, but you'll need to change references to /blog in your root .htaccess file and reboot_blog.php file.

You'll obviously need to change the WP config settings and need to change the posts and images absolute paths in the WP database tables - example SQL patch code is provided in the WP blog addon install.txt file.

There's more general info on 'moving' a WP site here.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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 04:49 AM.

   

 
X-Cart forums © 2001-2020