Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How to embed JForum in an existing application ?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to do something very similar to the JForum web site. Have only web application and embed JForum as an additional functionality of the site, while keeping it's look & feel like header, footer, etc.
I've seen how to handle the security part, but couldn't find any more information on this.

Any guidelines ?

Thanks
[originally posted on jforum.net by hpalma]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The templates use a common header and footer include files for all pages. You can modify these to wrap the jForum produced pages in your look and feel.

If that doesn't work, a common method to do this is to trim down the template header and footer to the bare minimum and use and iFrame inside your application's wrapper to display jForum pages.

Note: There's a lot of iframe onload javascript handler code out there that will re-size the iFrame to match the size of the dynamic page. So it can look pretty seamless to the users.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, i think i'll give the iframe idea a try.
[originally posted on jforum.net by hpalma]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

And what about div? I tried to do that, but got weird look when resizing the browser window - the forum's size won't change at all. How could I fix that?

Thanks in advance

[originally posted on jforum.net by August]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, the error is already found.
[originally posted on jforum.net by August]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!