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.

Code for showing post

5 posters

Go down

Solved Code for showing post

Post by marc.zenny 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?
avatar
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 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
Empire_1
Active Poster

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

Back to top Go down

Solved Re: Code for showing post

Post by marc.zenny 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.
avatar
marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by idinafig 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
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 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)
avatar
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 August 14th 2011, 8:50 pm

bump
avatar
marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by kirk 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
kirk
Forumaster

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

Back to top Go down

Solved Re: Code for showing post

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

As I said, I'm newbie to all this. How does Iframe work?
avatar
marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

Post by idinafig 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
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 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.
avatar
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 August 17th 2011, 4:08 pm

Figured it out using DIV tag and iframes. Solved.
avatar
marc.zenny
New Member

Posts : 21
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code for showing post

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

Solved > Locked
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Back to top

- Similar topics

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