Thomas,

I hope I didn't get you wrong. I think I did pretty much the same. In my
project I want to display some VM-files without anything else but I want to
keep the portal functionality, too. 

The problem is that a VM-file, stored in web-inf/templates/vm/screens/html
can't be displayed without displaying the content of the file default.vm. 

This is what I did, supposed I have a file
web-inf/templates/vm/screens/html/dummy.vm, which I want to display
standalone:

1.) The link to this file is: 
      http://localhost/jetspeed/portal/template/dummy
2.) I inserted a branch into default.vm. The <BODY> 
      tag looks like this now:

      <BODY>
        ## branch between whole portal and stand-alone template
        #if( $data.Parameters.template.endsWith("dummy.vm") )
             $screen_placeholder 
        #else
           ...
           ... original code ...
           ... <table> and <frame> and so on ...
           ...
        #end
      </BODY>


If this is the thing and it works please send a kind response.


Matthias Wimmer





> -----Original Message-----
> From: Thomas Sempf [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 07, 2002 1:30 PM
> To: [EMAIL PROTECTED]
> Subject: How to use Turbine without Jetspeed
> 
> 
> Hello,
> 
> i want to use Jetspeed with and without portlets. So i like to make a
> decision in the default.vm file if i switch to a start page 
> with or without
> portlets. For the page without portlets i only want to use vm files.
> The first page must be a plain login page. After login i want 
> to show a page
> with portlets and links. One link takes the user to a page 
> without portlets
> (plain vm files). But it is should be possible for the user 
> tho switch back
> to the portlets page. But every time a new page is shown the 
> default.vm file
> is called again. So if i use frames in the plain vm files i 
> get frames in
> frames, and so forth.
> But how to implement this functionality?
> 
> Greetings
> Thomas Sempf
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to