• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

customization

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to change the look n feel of the forum to match my remaining website. The remaining website is built on jsp and i have header & footer jsps, which I'm including in other pages using jsp:include tag. Now the forum uses templates, which are in .htm. Is there a way i can include my header/footer jsps in forum templates, so that the forum will get look n feel of my website?
[originally posted on jforum.net by balakiran]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hm, I guess not. At least not without some code modification. Take a look at http://freemarker.org/docs/pgui_misc_servlet.html

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey there,

One option might be to use SiteMesh around the JForum installation so you can add your standard headers & footers without having to get too much into JForum code.

As Sitemesh templates can be based on JSP, you could include your own JSPs easily.

GL!
[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I evaluated SiteMesh once, but, at least for JForum, I concluded it will add unnecessary complexity. Is much easier for me to provide some utility method that can handle JSP / Velocity and etc stuff than migrate everything to SiteMesh.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I might have explained myself badly . I was not suggesting JForum to be ported to Sitemesh, but just saying that one option to integrate it into another look & feel would be to use Sitemesh to add the headers and footers to JForum so you don't have to touch JForum's code.

So JForum would not need to be modified. It was more a suggestion for balakiran than to you Rafael ;).

Sorry for the confusion.
Cheers!
[originally posted on jforum.net by GreenEyed]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for all your replies. Rafeal, please let me know if you have plans to provide any utilities, so that anybody could use headers/footers for jforum. I guess this would be a add-on for JForum.

Any suggestions?
[originally posted on jforum.net by balakiran]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll see what I can do, but I don't promiss anything for the short run

Rafael
[originally posted on jforum.net by Rafael Steil]
 
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic