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 in homepage only

View previous topic View next topic Go down

Solved Widgets in homepage only

Post by MasterSly on January 13th 2013, 11:40 am

Hello Very Happy
How can I make Widgets to appear only on the homepage?
I use PubBB

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: Widgets in homepage only

Post by RyouIkeda on January 13th 2013, 12:02 pm

Im asking to this too.
Im using PHPBB2

RyouIkeda
Forumember

Male Posts : 242
Reputation : 4
Language : English/Filipino/Japan
Location : Phillipines

http://indexmu.forum.st

Back to top Go down

Solved Re: Widgets in homepage only

Post by Darth Apple on January 13th 2013, 2:47 pm

As far as I know, this is not possible with forumotion. Widgets cannot be configured only to show for certain pages outside of the portal. It would be neat to see more functionality on this in the future though.

Darth Apple
Forumember

Posts : 122
Reputation : 12
Language : English
Location : Between the moon and mars

Back to top Go down

Solved Re: Widgets in homepage only

Post by MasterSly on January 13th 2013, 2:56 pm

RyouIkeda For phpbb2
Admin Panel >> Display >> Templates >> General >> overall_footer_begin
And you put this code on top
widget to the right:
Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>
$(document).ready(function() {
  var url = document.URL;
  if(url != 'FORUM LINK HERE')
  {
  $("#right").hide();
  }
  /*by kwnos100*/
});
</script>
widget on the left:
Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>
$(document).ready(function() {
  var url = document.URL;
  if(url != 'FORUM LINK HERE')
  {
  $("#left").hide();
  }
  /*by kwnos100*/
});
</script>
widget on the right and left:
Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>
$(document).ready(function() {
  var url = document.URL;
  if(url != 'FORUM LINK HERE')
  {
  $("#left").hide();
  $("#right").hide();
  }
  /*by kwnos100*/
});
</script>
I say there FORUM LINK HERE put the link of your Forum

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: Widgets in homepage only

Post by RyouIkeda on January 13th 2013, 3:11 pm

Thanks MasterSly Very Happy

RyouIkeda
Forumember

Male Posts : 242
Reputation : 4
Language : English/Filipino/Japan
Location : Phillipines

http://indexmu.forum.st

Back to top Go down

Solved Re: Widgets in homepage only

Post by MasterSly on January 14th 2013, 1:55 pm

Darth Apple I've seen Forums in forumotion who have this.
but do not remember the Forum Link Sad .
I know how it is made but only for phpBB2.
i want for punBB

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: Widgets in homepage only

Post by MasterSly on January 15th 2013, 7:09 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: Widgets in homepage only

Post by MasterSly on January 17th 2013, 5:30 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: Widgets in homepage only

Post by MasterSly on January 18th 2013, 7:13 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: Widgets in homepage only

Post by Cassius Dio on January 19th 2013, 1:29 pm

Hi,

Add to CSS Stylesheet:
Code:
#content-container #right {
display: none;
}
#content-container div#content {
margin-right:0;
}

Then go to:
ACP ~> Display ~> Templates ~> General ~> index_body. Add before all the codes you have:
Code:
<style type="text/css">
#content-container #right {
display: block;
}
#content-container div#content {
margin-right: 200px;
}
</style>

Spoiler:

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Solved Re: Widgets in homepage only

Post by MasterSly on January 19th 2013, 1:58 pm

Thank you SGSS Smile Smile Very Happy Smile
Solved

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: Widgets in homepage only

Post by Base on January 19th 2013, 2:01 pm

Topic Solved & Locked

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

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