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

4.7.1 categoy generation by js

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 04-12-2015, 06:37 AM
  wroesner's Avatar 
wroesner wroesner is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 31
 

Default 4.7.1 categoy generation by js

Hi, there,
Is there a way to avoid the category list in the left side bar by javascript as it is done now in light-responsive skin?
It shows up always delayed and hinders robots to crawl along the category paths to the product pages. Means: the way it is, there is no linking from the index of the shop to t's categories!!
I want the category list built as in ideal-responsive. How to accomplish this?

Wolfgang
__________________
W. Roesner
Reply With Quote
  #2  
Old 04-13-2015, 12:58 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: 4.7.1 categoy generation by js

It would be nice if you could give us a link so that we can peruse your site and see how it functions now. If you can't its understandable.

Have you tried using webmaster mode to determine what template the list comes from?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 04-14-2015, 08:38 AM
  wroesner's Avatar 
wroesner wroesner is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 31
 

Default Re: 4.7.1 categoy generation by js

http://www.vitamine-und-mehr.org/lefdev/
__________________
W. Roesner
Reply With Quote
  #4  
Old 04-14-2015, 10:05 AM
 
ITVV ITVV is online now
 

X-Wizard
  
Join Date: Nov 2006
Location: UK
Posts: 1,164
 

Default Re: 4.7.1 categoy generation by js

@wroesner

Must say that your site is amazingly fast.

Who hosts the site for you?

Kind regards

ITVV
__________________
X-Cart Pro 4.7.12 Active and working great with reBOOT-reDUX
X-Cart Pro 4.6.6 Retired after 6 years of first class service
X-Cart Pro 4.1.7 Retired after 9 years of first class service

Apache: 2.4.25
PHP: 7.4.5
MariaDB: 10.1.44
Arch: x86_64
Reply With Quote

The following user thanks ITVV for this useful post:
totaltec (04-14-2015)
  #5  
Old 04-14-2015, 02:05 PM
  wroesner's Avatar 
wroesner wroesner is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 31
 

Default Re: 4.7.1 categoy generation by js

Quote:
Originally Posted by ITVV
@wroesner

Must say that your site is amazingly fast.

Who hosts the site for you?

Kind regards

ITVV
These flowers I will pass onto Hetzner AG in Gunzenhausen, Germany I am renting a managed server MX90 there. So it's dedicated. Only 5 Websites hosted there.

https://www.hetzner.de/en/hosting/produkte_managed/mx90
__________________
W. Roesner
Reply With Quote
  #6  
Old 04-14-2015, 02:15 PM
  wroesner's Avatar 
wroesner wroesner is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 31
 

Default Re: 4.7.1 categoy generation by js

Quote:
Originally Posted by wroesner
Hi, there,
Is there a way to avoid the category list in the left side bar by javascript as it is done now in light-responsive skin?
To answer my own question in case someone be interested: just switch off the category cache function. Now the menu of categories loads faster (believe it or not) and it is now as HTML code present in the source code.
__________________
W. Roesner
Reply With Quote

The following user thanks wroesner for this useful post:
totaltec (04-14-2015)
  #7  
Old 04-14-2015, 03:31 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: 4.7.1 categoy generation by js

Thanks for taking the time to post the answer. Its really great when you add value to the forum, and I for one appreciate it.

Though I'm not sure that this is the perfect solution for all sites, it sounds like it will be fine for most. Large category lists can be a huge resource hog if they are not cached. I think we need a second option to use a non-javascript but still cached method.

And +1 to what ITVV said, the site is blazing fast. And I am 4,425 miles away from the hosting. Unless I am mistaken there is no CDN. Don't ever ignore the value of a good server on a nice network.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
ITVV (04-14-2015)
  #8  
Old 04-14-2015, 04:59 PM
  wroesner's Avatar 
wroesner wroesner is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 31
 

Wink Re: 4.7.1 categoy generation by js

Quote:
Originally Posted by totaltec
Thanks for taking the time to post the answer. Its really great when you add value to the forum, and I for one appreciate it.

Though I'm not sure that this is the perfect solution for all sites, it sounds like it will be fine for most. Large category lists can be a huge resource hog if they are not cached. I think we need a second option to use a non-javascript but still cached method.

And +1 to what ITVV said, the site is blazing fast. And I am 4,425 miles away from the hosting. Unless I am mistaken there is no CDN. Don't ever ignore the value of a good server on a nice network.
You're welcome.
I agree completely: Switching off cache shouldn't be the best option but in my case it is. And that's not just on loading time but also on SEO. How can you write a code generating the category menu as javascript code? I mean ... where did you live?

Can you do me a favor and check the site on a smart phone with a common speed? Because what I have here (Brazil) they sell as 4G but it needs ages to load. Of course if you use a 20 MB connection or even better, there might be scarcely delay. But then check my old shop www.vitamine-und-mehr.org/xcart/catalog/ (or even the dynamic version) and you see what fast loading really means ...
Of course using a shared hosting - is a no-go.
__________________
W. Roesner
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:58 AM.

   

 
X-Cart forums © 2001-2020