If this is your first visit, check our documentation. To post, register or login.

Web theme

Locked

Started by tajul_ashyqin on 12 Jun 2006, 4:38 AM · Views: 1,918

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
12 Jun 2006, 4:38 AM
#1
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Post #1 by tajul_ashyqin

hi all,

i wish ZC v1.3.0.1 have the web color theme where visitor may switch the color apperance of the website according to their like! that's all, thanx... :thumbsup:

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!

12 Jun 2006, 9:22 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #2 by kuroi

tajul_ashyqin:

hi all,

i wish ZC v1.3.0.1 have the web color theme where visitor may switch the color apperance of the website according to their like! that's all, thanx... :thumbsup:Split your stylesheet into two to separate those bits that will change when the user selects a different color scheme. Then create buttons on your site that load a different stylesheet depending upon which button is pressed. Normally this controlled using javascript, but we use so much php in Zen Cart that you might prefer to keep it simple and allow the whole page to refresh.

Then you have to decide whether this will be a temporary change for this user i.e. just stored in a session variable, or whether you want it to be persistant. If it's the latter, then you will need to store the user's color preference which means either creating and writing a new field in the customer record in your database, or writing a cookie to the users PC.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

13 Jun 2006, 12:14 AM
#3
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Post #3 by tajul_ashyqin

thanx kuroi for the suggestion! actually, its beyond my capabilities as i am not only new to ZC but also new to pHp and mySQL things...but since i used ZC, i learn a lot especially thru these forum! if you have time, can you assist me on these only if it is possible to do?! btw, can we do advertisement something like when visitor visit the first page, there's some sort of splash advertisement suddenly popup to yor screen!

see here: http://www.utusan.com.my the splash advertisement (i think that's the name!) by HONDA.

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!

13 Jun 2006, 8:56 AM
#4
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Post #4 by tajul_ashyqin

any thoughts kuroi?! :mellow:

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!

13 Jun 2006, 7:08 PM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #5 by kuroi

Hi Tajul

My suggestion for switching stylesheets is completely independent of anything in Zen Cart and can be applied to any site. Here's a step-by-step explanation of how it can be implemented.

The technical term for what you are enquiring about in your second post is a "pop up ad". These are generally frowned upon. Personally I have them blocked by my browser and avoid sites that try to foist them on me and other users. Not surprisingly then, I have never spent time working out how to make them and have no useful advice on the matter other than ... don't do it! :no:

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

14 Jun 2006, 12:24 AM
#6
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Post #6 by tajul_ashyqin

thanx buddy! :thumbsup: your totally zenned!:yes:

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!

17 Jun 2006, 12:10 PM
#7
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Post #7 by misty

Theme switcher demo at
http://mistily.com/zendemo/index.php
together with event countdown box, which changes
to mp3 player box on login

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

19 Jun 2006, 1:02 AM
#8
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Post #8 by tajul_ashyqin

wow misty,

that was great! your awesome...how did you do that?! and i like the templates design of yours...:thumbsup:

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!