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.

Widgets only on homepage

View previous topic View next topic Go down

Solved Widgets only on homepage

Post by Luffy on January 1st 2015, 3:13 am

Hello,

How can i set the widgets displaying only on homepage? Not on topic list, not in posts, not in members. ONLY in homepage?
avatar
Luffy
Manager
Manager

Male Posts : 4927
Reputation : 507
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Widgets only on homepage

Post by _Twisted_Mods_ on January 1st 2015, 3:27 am

whats your forum version and do your have widgets on left and right or just one side?
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Luffy on January 1st 2015, 3:38 am

I want this code for Punbb and forums are located to the right hand side! Thank you @_Twisted_Mods_ and well done for the New Rank! Smile





avatar
Luffy
Manager
Manager

Male Posts : 4927
Reputation : 507
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Widgets only on homepage

Post by Ange Tuteur on January 1st 2015, 5:24 am

Hello @Luffy,

Go to Administration Panel > Display > Colors > CSS stylesheet and add the code below.
Code:
#right { display:none }
#content-container div#content { margin-right:0 }

Then go to Display > Homepage > Generalities and add the code below to your homepage message.
Code:
<style type="text/css">
#right { display:block }
#content-container div#content { margin-right:183px }
</style>

If you're using left widgets it'll need to be modified.
avatar
Ange Tuteur
Forumaster

Male Posts : 13179
Reputation : 2884
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by _Twisted_Mods_ on January 1st 2015, 5:45 am

ange beat me to it while i was working on a project.. ty ange... and ty luffy
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Michael_vx on January 1st 2015, 9:06 am

@Ange Tuteur wrote:Hello @Luffy,

Go to Administration Panel > Display > Colors > CSS stylesheet and add the code below.
Code:
#right { display:none }
#content-container div#content { margin-right:0 }

Then go to Display > Homepage > Generalities and add the code below to your homepage message.
Code:
<style type="text/css">
#right { display:block }
#content-container div#content { margin-right:183px }
</style>

If you're using left widgets it'll need to be modified.
part me Very Happy
this idea looks cool to be shared with all people i know Smile
i have only one thing to ask about
is this Trick only for PunBB or can be worked for the rest of versions Laughing
thanks a lot @Ange Tuteur
avatar
Michael_vx
Forumember

Male Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: Widgets only on homepage

Post by Luffy on January 1st 2015, 3:10 pm

Thanks for the code! It works. Problem solved!
#solved





avatar
Luffy
Manager
Manager

Male Posts : 4927
Reputation : 507
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Widgets only on homepage

Post by Ange Tuteur on January 2nd 2015, 1:52 am

You're welcome ^^

Topic archived

@Michael_vx if you have any questions, do not hesitate to open your own topic. As for the trick, it is applicable to all versions with minor modifications.. Wink
avatar
Ange Tuteur
Forumaster

Male Posts : 13179
Reputation : 2884
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.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