Forums / Templates, Stylesheets, Page Layout / Is there any way to load template dynamicially?

Is there any way to load template dynamicially?

Views: 706

Results 1 to 7 of 7
29 Jun 2015, 3:36 AM
#1
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Is there any way to load template dynamicially?

Is there any way to load template, base on different condition, dynamically?

29 Jun 2015, 4:32 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Is there any way to load template dynamicially?

Everything about Zen Cart already loads pretty much everything dynamically based on dozens of conditions.

Which specific condition are you asking about, and what specific business problem will that solve?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Jun 2015, 10:01 PM
#3
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Re: Is there any way to load template dynamicially?

DrByte:

Everything about Zen Cart already loads pretty much everything dynamically based on dozens of conditions.

Which specific condition are you asking about, and what specific business problem will that solve?

Base on screen size, I want the store loads different template.

30 Jun 2015, 6:40 AM
#4
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Is there any way to load template dynamicially?

So you want a responsive template, they can be found in the downloads area. There is also a Responsive DIY Template Default for 1.5.x . Use this to make the needed css changes so you have a different layout/ look fir the different screen sizes.

30 Jun 2015, 4:58 PM
#5
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Re: Is there any way to load template dynamicially?

Thanks all for the replay.

30 Jun 2015, 5:07 PM
#6
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Re: Is there any way to load template dynamicially?

Design75:

So you want a responsive template, they can be found in the downloads area. There is also a Responsive DIY Template Default for 1.5.x . Use this to make the needed css changes so you have a different layout/ look fir the different screen sizes.

I exactly want to develop a mobile sub-site. The whole site structure would be changed. For some reason, I don't want to use the sub-domain. So, I want to load different template when the visitors use a mobile device.

30 Jun 2015, 6:38 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Is there any way to load template dynamicially?

A responsive template is your answer - otherwise you will be creating big headaches for yourself. Numinix's new tableau template is excellent, as it has a variety of features that help speed up loading time - something Google is regarding as quite important these days.

20 years a Zencart User