You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Bob Paige <bo...@gmail.com> on 2008/07/07 22:49:45 UTC

displaying page content only

First, I hope I'm not getting on anyone's nerves with all my questions. I am
new to JSPWiki but learning fast. Hopefully I'll be able to answer other's
questions soon.

Now to my latest question: How can I display the content of a page without
any of the rest of the menus, etc., on it?

My need grew out of the recent discussion about the built-in text editor.
Since Dirk has pointed me to the excellent (though incomplete) documentation
on the Post Editor, I would like to make this information available to my
users. I was thinking I could edit the Edit.jsp page and add a link to a
popup window that displayed this editor help.

I see three possible solutions:
1. put the content in a page in my wiki and link to that
2. link to the page on jspwiki.org
3. put the content in a static html page

I prefer the first solution because the content is more accessible to me to
update for the benefit of my users. However, when I display it in a popup
window I get all the side menus, etc. I tried the 'view page content' option
(which appends 'skin=raw') but that shows me the un-wikified content.

Is there another quick way to do this, or can I drop a simple .jsp in
somewhere?

-- 
Bobman

Re: displaying page content only

Posted by Bob Paige <bo...@gmail.com>.
Where is this style selection made? I don't see such an option in the user
prefs.

-- 
Bobman

On Mon, Jul 7, 2008 at 5:10 PM, Florian Holeczek <fl...@holeczek.de>
wrote:

> I don't know whether one can switch to it programmatically, but
> switching from the website style 'standard' to 'print-friendly'
> results in such a page, too.
> BTW, this style is selected automatically for printouts.
>
> (Don't know if "website style" is the translation used in FF3, because
> I'm using the german version.)
>
> Regards,
>  Florian
>
> Ursprüngliche Nachricht vom 07.07.2008 um 22:58:
>
> > Yup.  Copy the raw template (templates/raw) directory to
> > "bobstempalte", then edit the ViewTemplate.jsp in that dir to remove
> > the "mode=plain" from the wiki:Content tag.
>
> > Then add "skin=bobstemplate" and see what happens :)
>
> > /Janne
>
>
> > On 7 Jul 2008, at 23:49, Bob Paige wrote:
>
> >> First, I hope I'm not getting on anyone's nerves with all my
> >> questions. I am
> >> new to JSPWiki but learning fast. Hopefully I'll be able to answer
> >> other's
> >> questions soon.
> >>
> >> Now to my latest question: How can I display the content of a page
> >> without
> >> any of the rest of the menus, etc., on it?
> >>
> >> My need grew out of the recent discussion about the built-in text
> >> editor.
> >> Since Dirk has pointed me to the excellent (though incomplete)
> >> documentation
> >> on the Post Editor, I would like to make this information available
> >> to my
> >> users. I was thinking I could edit the Edit.jsp page and add a link
> >> to a
> >> popup window that displayed this editor help.
> >>
> >> I see three possible solutions:
> >> 1. put the content in a page in my wiki and link to that
> >> 2. link to the page on jspwiki.org
> >> 3. put the content in a static html page
> >>
> >> I prefer the first solution because the content is more accessible
> >> to me to
> >> update for the benefit of my users. However, when I display it in a
> >> popup
> >> window I get all the side menus, etc. I tried the 'view page
> >> content' option
> >> (which appends 'skin=raw') but that shows me the un-wikified content.
> >>
> >> Is there another quick way to do this, or can I drop a simple .jsp in
> >> somewhere?
> >>
> >> --
> >> Bobman
>
>

Re: displaying page content only

Posted by Florian Holeczek <fl...@holeczek.de>.
I don't know whether one can switch to it programmatically, but
switching from the website style 'standard' to 'print-friendly'
results in such a page, too.
BTW, this style is selected automatically for printouts.

(Don't know if "website style" is the translation used in FF3, because
I'm using the german version.)

Regards,
 Florian

Ursprüngliche Nachricht vom 07.07.2008 um 22:58:

> Yup.  Copy the raw template (templates/raw) directory to  
> "bobstempalte", then edit the ViewTemplate.jsp in that dir to remove  
> the "mode=plain" from the wiki:Content tag.

> Then add "skin=bobstemplate" and see what happens :)

> /Janne


> On 7 Jul 2008, at 23:49, Bob Paige wrote:

>> First, I hope I'm not getting on anyone's nerves with all my  
>> questions. I am
>> new to JSPWiki but learning fast. Hopefully I'll be able to answer  
>> other's
>> questions soon.
>>
>> Now to my latest question: How can I display the content of a page  
>> without
>> any of the rest of the menus, etc., on it?
>>
>> My need grew out of the recent discussion about the built-in text  
>> editor.
>> Since Dirk has pointed me to the excellent (though incomplete)  
>> documentation
>> on the Post Editor, I would like to make this information available  
>> to my
>> users. I was thinking I could edit the Edit.jsp page and add a link  
>> to a
>> popup window that displayed this editor help.
>>
>> I see three possible solutions:
>> 1. put the content in a page in my wiki and link to that
>> 2. link to the page on jspwiki.org
>> 3. put the content in a static html page
>>
>> I prefer the first solution because the content is more accessible  
>> to me to
>> update for the benefit of my users. However, when I display it in a  
>> popup
>> window I get all the side menus, etc. I tried the 'view page  
>> content' option
>> (which appends 'skin=raw') but that shows me the un-wikified content.
>>
>> Is there another quick way to do this, or can I drop a simple .jsp in
>> somewhere?
>>
>> -- 
>> Bobman


Re: displaying page content only

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
Yup.  Copy the raw template (templates/raw) directory to  
"bobstempalte", then edit the ViewTemplate.jsp in that dir to remove  
the "mode=plain" from the wiki:Content tag.

Then add "skin=bobstemplate" and see what happens :)

/Janne


On 7 Jul 2008, at 23:49, Bob Paige wrote:

> First, I hope I'm not getting on anyone's nerves with all my  
> questions. I am
> new to JSPWiki but learning fast. Hopefully I'll be able to answer  
> other's
> questions soon.
>
> Now to my latest question: How can I display the content of a page  
> without
> any of the rest of the menus, etc., on it?
>
> My need grew out of the recent discussion about the built-in text  
> editor.
> Since Dirk has pointed me to the excellent (though incomplete)  
> documentation
> on the Post Editor, I would like to make this information available  
> to my
> users. I was thinking I could edit the Edit.jsp page and add a link  
> to a
> popup window that displayed this editor help.
>
> I see three possible solutions:
> 1. put the content in a page in my wiki and link to that
> 2. link to the page on jspwiki.org
> 3. put the content in a static html page
>
> I prefer the first solution because the content is more accessible  
> to me to
> update for the benefit of my users. However, when I display it in a  
> popup
> window I get all the side menus, etc. I tried the 'view page  
> content' option
> (which appends 'skin=raw') but that shows me the un-wikified content.
>
> Is there another quick way to do this, or can I drop a simple .jsp in
> somewhere?
>
> -- 
> Bobman


Re: displaying page content only

Posted by Bob Paige <bo...@gmail.com>.
Good point. I will add the text there.

-- 
Bobman

On Mon, Jul 7, 2008 at 5:09 PM, Dirk Frederickx <di...@gmail.com>
wrote:

> Bob,
>
> If you just want to give better help to the users during editing, just
> try changing the EditPageHelp, which is viewable via the HELP tab
> during edit.
>
>
> dirk
>
>
> On Mon, Jul 7, 2008 at 10:49 PM, Bob Paige <bo...@gmail.com> wrote:
> > First, I hope I'm not getting on anyone's nerves with all my questions. I
> am
> > new to JSPWiki but learning fast. Hopefully I'll be able to answer
> other's
> > questions soon.
> >
> > Now to my latest question: How can I display the content of a page
> without
> > any of the rest of the menus, etc., on it?
> >
> > My need grew out of the recent discussion about the built-in text editor.
> > Since Dirk has pointed me to the excellent (though incomplete)
> documentation
> > on the Post Editor, I would like to make this information available to my
> > users. I was thinking I could edit the Edit.jsp page and add a link to a
> > popup window that displayed this editor help.
> >
> > I see three possible solutions:
> > 1. put the content in a page in my wiki and link to that
> > 2. link to the page on jspwiki.org
> > 3. put the content in a static html page
> >
> > I prefer the first solution because the content is more accessible to me
> to
> > update for the benefit of my users. However, when I display it in a popup
> > window I get all the side menus, etc. I tried the 'view page content'
> option
> > (which appends 'skin=raw') but that shows me the un-wikified content.
> >
> > Is there another quick way to do this, or can I drop a simple .jsp in
> > somewhere?
> >
> > --
> > Bobman
> >
>

Re: displaying page content only

Posted by Dirk Frederickx <di...@gmail.com>.
Bob,

If you just want to give better help to the users during editing, just
try changing the EditPageHelp, which is viewable via the HELP tab
during edit.


dirk


On Mon, Jul 7, 2008 at 10:49 PM, Bob Paige <bo...@gmail.com> wrote:
> First, I hope I'm not getting on anyone's nerves with all my questions. I am
> new to JSPWiki but learning fast. Hopefully I'll be able to answer other's
> questions soon.
>
> Now to my latest question: How can I display the content of a page without
> any of the rest of the menus, etc., on it?
>
> My need grew out of the recent discussion about the built-in text editor.
> Since Dirk has pointed me to the excellent (though incomplete) documentation
> on the Post Editor, I would like to make this information available to my
> users. I was thinking I could edit the Edit.jsp page and add a link to a
> popup window that displayed this editor help.
>
> I see three possible solutions:
> 1. put the content in a page in my wiki and link to that
> 2. link to the page on jspwiki.org
> 3. put the content in a static html page
>
> I prefer the first solution because the content is more accessible to me to
> update for the benefit of my users. However, when I display it in a popup
> window I get all the side menus, etc. I tried the 'view page content' option
> (which appends 'skin=raw') but that shows me the un-wikified content.
>
> Is there another quick way to do this, or can I drop a simple .jsp in
> somewhere?
>
> --
> Bobman
>