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

In progress Widgets Only on homepage

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

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

And me not get what I want  Sad 

Can one give the template code for PHBB3  Question 

Me use right side  Laughing
avatar
Abdalah tupe2
Forumember

Posts : 32
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 Guest 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>
avatar
Guest
Guest


Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 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:

Widgets Only on homepage Ashamp10


Also he not hide the widget in tobics  Question  Crying or Very sad
avatar
Abdalah tupe2
Forumember

Posts : 32
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 May 28th 2014, 8:37 pm

Widgets Only on homepage Whistle Up,,,
avatar
Abdalah tupe2
Forumember

Posts : 32
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 Guest May 29th 2014, 12:47 am

Phpbb3 right? Forum link?  Smile 
avatar
Guest
Guest


Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 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 :

Widgets Only on homepage Ashamp12

 Embarassed  Embarassed  Embarassed  Embarassed  Embarassed  Embarassed  Embarassed  Embarassed  Embarassed  Embarassed  Embarassed


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 ^_^)
avatar
Abdalah tupe2
Forumember

Posts : 32
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 Guest May 29th 2014, 3:25 am

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


Back to top Go down

In progress Re: Widgets Only on homepage

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

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

I'm sorry  Embarassed ,But still not work same he hide the widget but keeb white field  Crying or Very sad
avatar
Abdalah tupe2
Forumember

Posts : 32
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 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.


Widgets Only on homepage Slgray10

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

Male Posts : 51503
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 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 fix  Question
avatar
Abdalah tupe2
Forumember

Posts : 32
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 Guest May 29th 2014, 8:54 am

Please provide your forum url.
avatar
Guest
Guest


Back to top Go down

In progress Re: Widgets Only on homepage

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

@Mark wrote:Please provide your forum url.

Its send by (PM) to you  Wink
avatar
Abdalah tupe2
Forumember

Posts : 32
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 June 5th 2014, 4:15 pm

up
avatar
Abdalah tupe2
Forumember

Posts : 32
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 June 5th 2014, 5:05 pm

Hello,

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

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

Back to top Go down

In progress Re: Widgets Only on homepage

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

code (java sc)?
avatar
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 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
avatar
Abdalah tupe2
Forumember

Posts : 32
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 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
Jophy
ForumGuru

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

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 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
avatar
Abdalah tupe2
Forumember

Posts : 32
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 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
Jophy
ForumGuru

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

Back to top Go down

In progress Re: Widgets Only on homepage

Post by Abdalah tupe2 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
avatar
Abdalah tupe2
Forumember

Posts : 32
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 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
Jophy
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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