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 Thu 01 Jan 2015, 03:13

Hello,

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

Luffy
Manager
Manager

Male Posts : 4236
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Widgets only on homepage

Post by _Twisted_Mods_ on Thu 01 Jan 2015, 03:27

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Luffy on Thu 01 Jan 2015, 03:38

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






Luffy
Manager
Manager

Male Posts : 4236
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Widgets only on homepage

Post by Ange Tuteur on Thu 01 Jan 2015, 05:24

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.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by _Twisted_Mods_ on Thu 01 Jan 2015, 05:45

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Michael_vx on Thu 01 Jan 2015, 09:06

@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

Michael_vx
Forumember

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

Back to top Go down

Solved Re: Widgets only on homepage

Post by Luffy on Thu 01 Jan 2015, 15:10

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






Luffy
Manager
Manager

Male Posts : 4236
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Widgets only on homepage

Post by Ange Tuteur on Fri 02 Jan 2015, 01:52

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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

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