How can I use page template in Plone site document.

8 messages Options
Embed this post
Permalink
dineshkarthik

How can I use page template in Plone site document.

Reply Threaded More More options
Print post
Permalink
Hi All,
           My requirement is that I want use the page template in a Plone document. Please suggest me that how can I do that?
 
Thanks and Regards,
         Dinesh
 
 

_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific
marr

Re: How can I use page template in Plone site document.

Reply Threaded More More options
Print post
Permalink
Hi Dinesh

Hope this manual http://plone.org/documentation/tutorial/zpt be helpful.
If there's no progress, you'd better describe more specifically about your question.

Cheers,
/marr/

On Wed, Jul 29, 2009 at 1:27 PM, Dinesh <[hidden email]> wrote:
Hi All,
           My requirement is that I want use the page template in a Plone document. Please suggest me that how can I do that?
 
Thanks and Regards,
         Dinesh
 
 

_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific



_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific
Jean Jordaan

Re: How can I use page template in Plone site document.

Reply Threaded More More options
Print post
Permalink
In reply to this post by dineshkarthik
Hi Dinesh

> My requirement is that I want use the page template in a Plone
> document. Please suggest me that how can I do that?

I'd like to suggest that you *don't* do that. Consider one of the products like
http://plone.org/products/mxmdynamicpage or
http://plone.org/products/listingpages
instead.

--
jean                                              . .. .... //\\\oo///\\

_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific
dineshkarthik

Re: How can I use page template in Plone site document.

Reply Threaded More More options
Print post
Permalink
In reply to this post by marr
 
My requirement is that I want to show the Title and state of all the Document inside plone site on a single page so that the user would konw  the progress of the whole site. For that I have written one python script and called that script from a page template. When I test the page template it gives me desired result, But how can I show that result in the site. Also I want to apply the workflow so that only users with Manager role will be able to see the web-page so I thought if there is any way I can show the page template result on the Document then it would fullfill my requirement.


 
On Wed, Jul 29, 2009 at 11:05 AM, TsungWei Hu <marr.tw@gmail.com> wrote:
Hi Dinesh

Hope this manual http://plone.org/documentation/tutorial/zpt be helpful.
If there's no progress, you'd better describe more specifically about your question.

Cheers,
/marr/

On Wed, Jul 29, 2009 at 1:27 PM, Dinesh <[hidden email]> wrote:
Hi All,
           My requirement is that I want use the page template in a Plone document. Please suggest me that how can I do that?
 
Thanks and Regards,
         Dinesh
 
 

_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific



_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific



_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific
Jean Jordaan

Re: How can I use page template in Plone site document.

Reply Threaded More More options
Print post
Permalink
> My requirement is that I want to show the Title and state of all the
> Document inside plone site on a single page so that the user would konw  the
> progress of the whole site.

Sounds to me like a Collection should be able to do that.
http://plone.org/documentation/manual/plone-3-user-manual/using-collections/referencemanual-all-pages

> Also I want to apply the workflow so that only users with Manager role will be able
> to see the web-page

Just make the page Private from the state dropdown on the top right.

--
jean                                              . .. .... //\\\oo///\\

_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific
Dylan Jay

Re: How can I use page template in Plone site document.

Reply Threaded More More options
Print post
Permalink

On 29/07/2009, at 3:57 PM, Jean Jordaan wrote:

>> My requirement is that I want to show the Title and state of all the
>> Document inside plone site on a single page so that the user would  
>> konw  the
>> progress of the whole site.
>
> Sounds to me like a Collection should be able to do that.
> http://plone.org/documentation/manual/plone-3-user-manual/using-collections/referencemanual-all-pages

I'd also suggest a Collection is good enough for your needs.
If you want more control over the look and feel you can create a  
custom display template for collections and then apply that to your  
collection using the display dropdown.

If you really really want to use your scrip then what you're looking  
for is a way to put a link to your "view" into the navigation somehow.  
How you do that depends on where in the nav your want it to appear.  
portal_actions is good for top level tabs, and other menus. I've also  
sometimes used a link object and just put the view name into the url  
field. When viewed as anonymous it will automatically redirect to the  
view url.
There are other ways too...




_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific
dineshkarthik

Re: How can I use page template in Plone site document.

Reply Threaded More More options
Print post
Permalink
 
      Thank you Jean , Dylan and TsungWei Hu for helping me. I was able to meet the requirement using collections object. I would also like to ask one more question as Dylan told I can put a link to my view into navigation. How can I do that using portal_actions as I want the top level tab. I have my page template inside my site in portal_skins/Folder/stat.pt.
 
Thanks for the help again.
 
 
    

On Wed, Jul 29, 2009 at 11:53 AM, Dylan Jay <[hidden email]> wrote:

On 29/07/2009, at 3:57 PM, Jean Jordaan wrote:

My requirement is that I want to show the Title and state of all the
Document inside plone site on a single page so that the user would konw  the
progress of the whole site.

Sounds to me like a Collection should be able to do that.
http://plone.org/documentation/manual/plone-3-user-manual/using-collections/referencemanual-all-pages

I'd also suggest a Collection is good enough for your needs.
If you want more control over the look and feel you can create a custom display template for collections and then apply that to your collection using the display dropdown.

If you really really want to use your scrip then what you're looking for is a way to put a link to your "view" into the navigation somehow. How you do that depends on where in the nav your want it to appear. portal_actions is good for top level tabs, and other menus. I've also sometimes used a link object and just put the view name into the url field. When viewed as anonymous it will automatically redirect to the view url.
There are other ways too...





_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific


_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific
Dylan Jay

Re: How can I use page template in Plone site document.

Reply Threaded More More options
Print post
Permalink

On 29/07/2009, at 5:00 PM, Dinesh wrote:

>
>       Thank you Jean , Dylan and TsungWei Hu for helping me. I was  
> able to meet the requirement using collections object. I would also  
> like to ask one more question as Dylan told I can put a link to my  
> view into navigation. How can I do that using portal_actions as I  
> want the top level tab. I have my page template inside my site in  
> portal_skins/Folder/stat.pt.

Hi sorry I don't have the time to dig out where the best documentation  
on portal_actions is but there should be plenty out there and it's  
pretty self explanitory if you dive into the zmi and have a look.

an alternative approach that just got blogged today looks really  
interesting

http://blog.twinapex.fi/2009/07/30/putting-views-like-sitemap-into-plone-content-tree-using-easy-template-add-on/


>
> Thanks for the help again.
>
>
>
>
> On Wed, Jul 29, 2009 at 11:53 AM, Dylan Jay <[hidden email]> wrote:
>
> On 29/07/2009, at 3:57 PM, Jean Jordaan wrote:
>
> My requirement is that I want to show the Title and state of all the
> Document inside plone site on a single page so that the user would  
> konw  the
> progress of the whole site.
>
> Sounds to me like a Collection should be able to do that.
> http://plone.org/documentation/manual/plone-3-user-manual/using-collections/referencemanual-all-pages
>
> I'd also suggest a Collection is good enough for your needs.
> If you want more control over the look and feel you can create a  
> custom display template for collections and then apply that to your  
> collection using the display dropdown.
>
> If you really really want to use your scrip then what you're looking  
> for is a way to put a link to your "view" into the navigation  
> somehow. How you do that depends on where in the nav your want it to  
> appear. portal_actions is good for top level tabs, and other menus.  
> I've also sometimes used a link object and just put the view name  
> into the url field. When viewed as anonymous it will automatically  
> redirect to the view url.
> There are other ways too...
>
>
>
>
>
> _______________________________________________
> Plone-AsiaPacific mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/plone-asiapacific
>


_______________________________________________
Plone-AsiaPacific mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/plone-asiapacific