The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Widgets only on homepage

4 posters

Go down

Solved Widgets only on homepage

Post by TheCrow 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?
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Widgets only on homepage

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

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

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by TheCrow 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


Widgets only on homepage Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Ange Tuteur 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.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

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

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

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Michael_vx 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
Michael_vx
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 TheCrow January 1st 2015, 3:10 pm

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


Widgets only on homepage Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Ange Tuteur 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
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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