• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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]
 
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic