Changing Header and Footer in Discussion Channel
Hello,
I need to change the header and footer graphics and links for the page that displays when you search for Discussion Channel topics and displaying Ciscussion Channel posts. I have been looking in the DiscussionProvider directory and I am now looking through the SearchProvider directory. Does anybody have an idea of the locations of the Header and Footer files?
[388 byte] By [
Erly-Dev] at [2007-11-25 21:06:28]

# 1
I am sure someone in this forum has had the desire to change the headers from the default of SUN ONE Portal Server and has accomplished this throughout their implementation. Please help! I have succeeded in some containers like the JSPEditContainer so when someone edits bookmarks from a BookmarkProvider channel they see a header that I define, but not in the SearchProvider nor the DiscussionProvider directories. I have seen no mention or <include header.jsp> tags in the jsp files for either of these providers, and I have copied header.jsp and menubar.jsp to both of those directories but it is not picking up the files.Do these containers find the header and menubar.jsp file contents from another location?
# 2
I found an earlier post where a script was posted that is useful for anyone else that is having problems figuring out how portal server chooses which header file to display.
http://swforum.sun.com/jive/thread.jspa?forumID=80&threadID=51071
It would be nice if SUN provided a matrix that shows which files went with which containers and providers. Some are intuitive but some are not. In my case, the header files for the discussion channel and the search provider are tabPreferenceHeader.jsp and tabPreferenceMenubar.jsp. Both were located in the default desktop. The script helped me to discover that instead of flailing around changing header and menubar files everywhere.
Erly
Erly
# 3
Hi,if it is help you, we custom Discussion channels, editting some .jsp fles in /etc/opt/SUNWps/desktop/default/Discussions directory.