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.

Code for showing post

View previous topic View next topic Go down

Solved Code for showing post

Post by marc.zenny on August 11th 2011, 7:09 pm

I need an HTML code that will show first 2 posts from certain forum in my anouncment bar (the one on top of the index). How can I achieve this?

marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by Empire_1 on August 11th 2011, 11:39 pm

HTML code? In the Announcements bar? Correct me if I'm wrong, but I think you need Javascript to do this, not HTML.

Empire_1
Active Poster

Male Posts : 1391
Reputation : 124
Language : English, Spanish, Mandarin, C++
Location : Summoner's Rift

Back to top Go down

Solved Re: Code for showing post

Post by marc.zenny on August 12th 2011, 12:08 am

Well, I'm completely newb when it comes to this. It's not like recent posts. It's just this post, that will change a lot, and I want everyone to see. It's sort of scoreboard.

marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by idinafig on August 12th 2011, 4:05 am

You can update your announcement bar by yourself or you can put an iframe - it'll look like one page is placed into another.

Could you give me your forum's link?

idinafig
Forumember

Posts : 26
Reputation : 5
Language : English, Russian, Css, Html, Gml, Lisp, AS..... :)

http://wtforum.2x2forum.ru

Back to top Go down

Solved Re: Code for showing post

Post by marc.zenny on August 12th 2011, 6:22 pm

http://hogwarts.8forum.biz


InFrame could work. I'd like it to be a widget in portal (middle column)

marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by marc.zenny on August 14th 2011, 8:50 pm

bump

marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by kirk on August 15th 2011, 2:13 am

thats what i would suggest, iframe..
and then just put it in the top or bottom center widget.

create a custom widget and place it their.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Code for showing post

Post by marc.zenny on August 15th 2011, 12:30 pm

As I said, I'm newbie to all this. How does Iframe work?

marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by idinafig on August 16th 2011, 5:59 am

it's a page into another page.
Create a widget in adminpanel - modules - widgets or something.
Place this code (or into your greeting):
<iframe src="shown page's address" width="100%" height="height">Sorry, but your browser doesn't support iframes.

idinafig
Forumember

Posts : 26
Reputation : 5
Language : English, Russian, Css, Html, Gml, Lisp, AS..... :)

http://wtforum.2x2forum.ru

Back to top Go down

Solved Re: Code for showing post

Post by marc.zenny on August 16th 2011, 4:17 pm

And is it possible to define which part of page will be displayed using some "properties"? I understand it's framed and can be scrolled, but I would like specific post displayed at once.

marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by marc.zenny on August 17th 2011, 4:08 pm

Figured it out using DIV tag and iframes. Solved.

marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by Nera. on August 18th 2011, 7:35 pm

Solved > Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

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