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

In progress Widgets Only on homepage

Post by Abdalah tupe2 on May 27th 2014, 1:50 pm

Hi,guys me read this tobic :
http://help.forumotion.com/t133317-widgets-only-on-homepage-and-positions-issue#896713

And me not get what I wantSad

Can one give the template code for PHBB3Question

Me use right sideLaughing

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by @Mark on May 27th 2014, 2:13 pm

Add this to your CSS:

Code:
#content-container div#right {
 display: none !important;
}
#content-container div#container div#content {
 margin-right: 0px;
}

Now add go to ACP > Display > Homepage > Generalities > Homepage Message:
Code:
<style>
#content-container div#right {
display: inline !important;
 }
#content-container div#content {
margin-right: 270px !important;
 }
</style>

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on May 27th 2014, 7:35 pm

@@Mark wrote:Add this to your CSS:

Code:
#content-container div#right {
 display: none !important;
}
#content-container div#container div#content {
 margin-right: 0px;
}

Now add go to ACP > Display > Homepage > Generalities > Homepage Message:
Code:
<style>
#content-container div#right {
display: inline !important;
 }
#content-container div#content {
margin-right: 270px !important;
 }
</style>

thanks for reply,But your code never works also he make problem in homepage:




Also he not hide the widget in tobicsQuestionCrying or Very sad

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on May 28th 2014, 8:37 pm

Up,,,

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by @Mark on May 29th 2014, 12:47 am

Phpbb3 right? Forum link? Smile

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on May 29th 2014, 3:22 am

@@Mark wrote:Phpbb3 right? Forum link? Smile

okey me try new code (java sc) :


Code:
$(function() { $('#left, #right').remove(); $('.content').css('width', '100%');});


And Its works but there are problem Its make white backgound how can me fix the size :



EmbarassedEmbarassedEmbarassedEmbarassedEmbarassedEmbarassedEmbarassedEmbarassedEmbarassedEmbarassedEmbarassed


Last edited by Abdalah tupe2 on May 29th 2014, 3:23 am; edited 1 time in total (Reason for editing : can me .. not me can ^_^)

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by @Mark on May 29th 2014, 3:25 am

Use this one instead:
Code:
$(function() { $('#left, #right').remove(); $('#content').css('width', '100%');});

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on May 29th 2014, 4:19 am

@@Mark wrote:Use this one instead:
Code:
$(function() { $('#left, #right').remove(); $('#content').css('width', '100%');});

I'm sorryEmbarassed,But still not work same he hide the widget but keeb white fieldCrying or Very sad

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by SLGray on May 29th 2014, 4:26 am

Because you have activated the forum widgets, it will add that space to all pages that have forum widgets. The code you were given makes them appear on the homepage, but they should also appear on all forum pages. Because of this, there is a white space.


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


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on May 29th 2014, 5:22 am

@SLGray wrote:Because you have activated the forum widgets, it will add that space to all pages that have forum widgets. The code you were given makes them appear on the homepage, but they should also appear on all forum pages. Because of this, there is a white space.

Thanks for this HINT !

So is there fixQuestion

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by @Mark on May 29th 2014, 8:54 am

Please provide your forum url.

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on May 29th 2014, 4:34 pm

@@Mark wrote:Please provide your forum url.

Its send by (PM) to youWink

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on June 5th 2014, 4:15 pm

up

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Jophy on June 5th 2014, 5:05 pm

Hello,

Please provide your forum link in any cases that others will help you. Thanks.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Widgets Only on homepage

Post by LandsGrieco on June 11th 2014, 7:04 am

code (java sc)?

LandsGrieco
New Member

Posts : 1
Reputation : 1
Language : english

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on June 14th 2014, 4:26 pm

@Jophy wrote:Hello,

Please provide your forum link in any cases that others will help you. Thanks.

link : http://www.tizen-arab.com/

UP

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Jophy on June 15th 2014, 9:41 am

Can you specify what you want to do with the widgets? Do you want to only have the widgets displayed on the homepage or have an option to show the widgets or not? Please explain in detail.

Also, please provide the modifications/codes you used. Thanks.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on June 17th 2014, 10:56 pm

@Jophy wrote:Can you specify what you want to do with the widgets? Do you want to only have the widgets displayed on the homepage or have an option to show the widgets or not? Please explain in detail.

Also, please provide the modifications/codes you used. Thanks.

Hi,Me want "want to only have the widgets displayed on the homepage"


Hello

ME WAIT

HINTS :

Versoion of forum : Phbb3

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Jophy on June 18th 2014, 9:09 am

Remove all the previous codes you used and try this:

Go to your CSS(AP > Display > Colors > CSS Stylesheet) and add this code at the bottom:

Code:
#content-container div#right {
  display: none !important;
}

Then go to your templates:

General > index_ body > Modify it and add this code at the bottom of it:

Code:
<style>
#content-container div#right {
  display: block !important;
  width: 180px !important;
}
</style>

Save and publish Add

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 on June 19th 2014, 10:36 pm

@Jophy wrote:Remove all the previous codes you used and try this:

Go to your CSS(AP > Display > Colors > CSS Stylesheet) and add this code at the bottom:

Code:
#content-container div#right {
  display: none !important;
}

Then go to your templates:

General > index_ body > Modify it and add this code at the bottom of it:

Code:
<style>
#content-container div#right {
  display: block !important;
  width: 180px !important;
}
</style>

Save and publish Add

never works,I think its the time to drop this problem to archievs

OR!!

FM must make future to do this bez hide widget in tobics importing in some forums

Abdalah tupe2
New Member

Posts : 21
Reputation : 2
Language : arabic,english,turkish,france

http://www.pubarab.com/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Jophy on June 20th 2014, 8:06 am

Are you sure you removed the previous codes you placed? It perfectly works on my test forum.

You are free to suggest this if it's not yet suggested.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

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