Widgets Only on homepage Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
4 posters

    Widgets Only on homepage

    avatar
    Abdalah tupe2
    Forumember


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

    In progress Widgets Only on homepage

    Post by Abdalah tupe2 Tue May 27 2014, 14:50

    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
    Guest
    Guest


    In progress Re: Widgets Only on homepage

    Post by Guest Tue May 27 2014, 15:13

    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
    Abdalah tupe2
    Forumember


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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Tue May 27 2014, 20:35

    @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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Wed May 28 2014, 21:37

    Widgets Only on homepage Whistle Up,,,
    avatar
    Guest
    Guest


    In progress Re: Widgets Only on homepage

    Post by Guest Thu May 29 2014, 01:47

    Phpbb3 right? Forum link?  Smile 
    avatar
    Abdalah tupe2
    Forumember


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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Thu May 29 2014, 04:22

    @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 Thu May 29 2014, 04:23; edited 1 time in total (Reason for editing : can me .. not me can ^_^)
    avatar
    Guest
    Guest


    In progress Re: Widgets Only on homepage

    Post by Guest Thu May 29 2014, 04:25

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


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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Thu May 29 2014, 05:19

    @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
    SLGray
    SLGray
    Administrator
    Administrator


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

    In progress Re: Widgets Only on homepage

    Post by SLGray Thu May 29 2014, 05:26

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


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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Thu May 29 2014, 06:22

    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
    Guest
    Guest


    In progress Re: Widgets Only on homepage

    Post by Guest Thu May 29 2014, 09:54

    Please provide your forum url.
    avatar
    Abdalah tupe2
    Forumember


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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Thu May 29 2014, 17:34

    @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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Thu Jun 05 2014, 17:15

    up
    Jophy
    Jophy
    ForumGuru


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

    In progress Re: Widgets Only on homepage

    Post by Jophy Thu Jun 05 2014, 18:05

    Hello,

    Please provide your forum link in any cases that others will help you. Thanks.
    avatar
    LandsGrieco
    New Member


    Posts : 1
    Reputation : 1
    Language : english

    In progress Re: Widgets Only on homepage

    Post by LandsGrieco Wed Jun 11 2014, 08:04

    code (java sc)?
    avatar
    Abdalah tupe2
    Forumember


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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Sat Jun 14 2014, 17:26

    Jophy wrote:Hello,

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

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

    UP
    Jophy
    Jophy
    ForumGuru


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

    In progress Re: Widgets Only on homepage

    Post by Jophy Sun Jun 15 2014, 10:41

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


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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Tue Jun 17 2014, 23:56

    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
    Jophy
    Jophy
    ForumGuru


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

    In progress Re: Widgets Only on homepage

    Post by Jophy Wed Jun 18 2014, 10:09

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


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

    In progress Re: Widgets Only on homepage

    Post by Abdalah tupe2 Thu Jun 19 2014, 23:36

    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
    Jophy
    Jophy
    ForumGuru


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

    In progress Re: Widgets Only on homepage

    Post by Jophy Fri Jun 20 2014, 09:06

    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.