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 January 5th 2012, 11: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 : 158
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 January 5th 2012, 1:43 pm

avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on January 5th 2012, 4:06 pm

<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 : 158
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 January 8th 2012, 9:02 am

BUMP BUMP ,help please.
avatar
Sir Pradyuman
Forumember

Male Posts : 158
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 January 8th 2012, 9: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 : 40461
Reputation : 2730
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on January 8th 2012, 9:13 am

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

Male Posts : 158
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 January 8th 2012, 10: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 : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on January 8th 2012, 4:39 pm

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 : 158
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 January 8th 2012, 8: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 : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Style Switcher Help

Post by Sir Pradyuman on January 9th 2012, 5:57 am

Thanks a lot,Sanket.
avatar
Sir Pradyuman
Forumember

Male Posts : 158
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 January 9th 2012, 9:23 am

Topic Solved & Locked
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
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