The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Style Switcher Help

View previous topic View next topic Go down

Solved Style Switcher Help

Post by Sir Pradyuman on Thu Jan 05, 2012 4:43 am

i have seen the guide on Forumotion for multi themes but istn working.

I have also seen this guide http://www.dynamicdrive.com/dynamicindex9/stylesheetswitcher.htm

But dint understood it.

Please help me to add Style Switcher or gimme the HTML code.
avatar
Sir Pradyuman
Forumember

Male Posts : 157
Reputation : 3
Language : English,Mandarin,Spanish
Location : Shanghai,China

http://theadminsplace.forumotion.com/

Back to top Go down

Solved Re: Style Switcher Help

Post by Sanket on Thu Jan 05, 2012 6:43 am

avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2822
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on Thu Jan 05, 2012 9:06 am

<link rel="alternate stylesheet" type="text/css" media="screen" title="default" href="DEFAULT STYLE SHEET URL HERE" />

<link rel="alternate stylesheet" type="text/css" media="screen" title="theme1" href="STYLE SHEET 1 URL HERE" />

<link rel="alternate stylesheet" type="text/css" media="screen" title="theme2" href="STYLE SHEET 2URL HERE" />

where to add this code ? i have made ltr.css pages,but where to add it.
avatar
Sir Pradyuman
Forumember

Male Posts : 157
Reputation : 3
Language : English,Mandarin,Spanish
Location : Shanghai,China

http://theadminsplace.forumotion.com/

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on Sun Jan 08, 2012 2:02 am

BUMP BUMP ,help please.
avatar
Sir Pradyuman
Forumember

Male Posts : 157
Reputation : 3
Language : English,Mandarin,Spanish
Location : Shanghai,China

http://theadminsplace.forumotion.com/

Back to top Go down

Solved Re: Style Switcher Help

Post by SLGray on Sun Jan 08, 2012 2:05 am

You do not create the pages, you place those links in the code.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 39139
Reputation : 2626
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on Sun Jan 08, 2012 2:13 am

Can you please tell where exactly at the code ?
avatar
Sir Pradyuman
Forumember

Male Posts : 157
Reputation : 3
Language : English,Mandarin,Spanish
Location : Shanghai,China

http://theadminsplace.forumotion.com/

Back to top Go down

Solved Re: Style Switcher Help

Post by Sanket on Sun Jan 08, 2012 3:57 am

Now you need to create radio buttons with with the members can choose style they like. Here is the HTML code for that which should be placed anywhere inside the body tag. You can put it in footer or on top of the page. We will put it on top of the page. Add the following code right after the <body> tag starts in the template code.

If you are using phpbb3, try adding it to a forum widget.
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2822
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on Sun Jan 08, 2012 9:39 am

Sir,you told me to add this code

<form id="switchform">

<!-- Choose theme 1 -->
<input type="radio" name="choice" value="default" onClick="chooseStyle(this.value, 60)">Default Theme<br />

<!-- Choose theme 2 -->
<input type="radio" name="choice" value="theme1" onClick="chooseStyle(this.value, 60)">Theme 1 Name<br />

<!-- Choose theme 3 -->
<input type="radio" name="choice" value="theme2" onClick="chooseStyle(this.value, 60)">Theme 2 Name
</form>

Not this one

<link rel="alternate stylesheet" type="text/css" media="screen" title="default" href="DEFAULT STYLE SHEET URL HERE" />

<link rel="alternate stylesheet" type="text/css" media="screen" title="theme1" href="STYLE SHEET 1 URL HERE" />

<link rel="alternate stylesheet" type="text/css" media="screen" title="theme2" href="STYLE SHEET 2URL HERE" />
avatar
Sir Pradyuman
Forumember

Male Posts : 157
Reputation : 3
Language : English,Mandarin,Spanish
Location : Shanghai,China

http://theadminsplace.forumotion.com/

Back to top Go down

Solved Re: Style Switcher Help

Post by Sanket on Sun Jan 08, 2012 1:04 pm

My bad, also please don't call me sir.

Mostly it goes here,
Display>Colors
CSs stylesheet.
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2822
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on Sun Jan 08, 2012 10:57 pm

Thanks a lot,Sanket.
avatar
Sir Pradyuman
Forumember

Male Posts : 157
Reputation : 3
Language : English,Mandarin,Spanish
Location : Shanghai,China

http://theadminsplace.forumotion.com/

Back to top Go down

Solved Re: Style Switcher Help

Post by Sanket on Mon Jan 09, 2012 2:23 am

Topic Solved & Locked
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2822
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum