Questions tagged [viewlets]

Viewlets are parts of the page in Plone page rendering process. You can create, hide and shuffle them freely.

Viewlets are parts of the page in Plone page rendering process.

Viewlets are view snippets which will render a part of the HTML page. Viewlets provide conflict-free way to contribute new user-interface actions and HTML snippets to Plone pages.

http://docs.plone.org/4/en/develop/plone/views/viewlets.html

13 questions
5
votes
3 answers

Plone custom viewlets.xml not being picked up

Quoting http://plone.org/documentation/kb/customizing-main-template-viewlets/tutorial-all-pages (about 1/4 of the page down) If all you need is to reorder the viewlets in the Plone Default skin, you can simply copy the original viewlets.xml from…
Jan
  • 6,532
  • 9
  • 37
  • 48
5
votes
2 answers

Better way of tagging content types with a common interface

I want a viewlet to apply to the view of several content types in the same python egg. What I have been doing is applying the marker interface via browser/configure.zcml
h2o
  • 513
  • 2
  • 8
3
votes
1 answer

How to move the documentactions viewlet from a viewletmanager to another?

Once again back with a Plone question. I have Plone 4 installed and I need to show the Document action icons at the top instead of bottom. having trouble in getting this to work. can someone help.
sabs6488
  • 447
  • 1
  • 4
  • 14
3
votes
2 answers

Making member portraits viewable by Anonymous users in Plone 4.1

In Plone 4.1, I'd like to make member portraits (found in portal_memberdata/portraits) viewable by Anonymous users. Even if I return the correct url to the image in a public View, the image is always protected, and the default one…
Rigel Di Scala
  • 3,150
  • 2
  • 17
  • 23
3
votes
0 answers

Why would a viewlets.xml file not contain same viewlets seen in @@manage-viewlets for its theme?

When exporting viewlets.xml file from portal_setup for both Plone 3.3.5 and Plone4 sites and compare it to the site's @@manage-viewlets page, I see incongruities. For example, some viewlets appear in the wrong Viewlet Manager or not at all. Is this…
gmiller
  • 43
  • 4
2
votes
1 answer

How to get viewlet by an plone object url

I'm trying to get viewlet belowcontenttitle for an object by its URL. Something like below, but using object URL instead of 'plone'. id="viewlet-below-content-title" tal:content="structure provider:plone.belowcontenttitle" Can I do it using…
1
vote
1 answer

Adding viewlets into fixed, specific locations in viewlet manager

NOTE Due to the successful outcome of this thread, the documentation at the provided link has been updated. It no longer contains the incomplete information as described. I'm having an issue taking viewlets that appear in the plone.portalheader…
1
vote
1 answer

How can I customize the news view in Plone

I have a site using Plone 4.1. When I'm logged in this site, news are displayed with the author and the last modification time. But that information disappears when I visit the site as an anonymous user. ¿How can I configure news to be showed with…
Daniel Hernández
  • 1,279
  • 8
  • 15
1
vote
1 answer

Plone 4 comments ordering

I don't want to use any product to manage my comments I use basic feature So, the older comment is displayed in first (and of course the last at the bottom) what i have to do to have contrary in Plone 4.0.4 ? (the last comment at the top of the…
bklups
  • 101
  • 1
1
vote
1 answer

Unable to hide Products.Carousel.viewlet in version 1.1

Products,Carousel adds a viewlet to the plone.contentviews manager using some funky inline code in setuphandlers. I am trying to hide this viewlet. I have tried various techniques such as: overriding the template in my configure.zcml using the…
sureshvv
  • 4,234
  • 1
  • 26
  • 32
1
vote
2 answers

Can a Plone viewlet be made to appear on one page or folder only?

Plone's viewlets appear to be site-wide by default. How can I make a viewlet only appear on a certain page?
joeforker
  • 40,459
  • 37
  • 151
  • 246
0
votes
0 answers

Plone viewlet managers appear twice

I'm working on our Plone 4.2.6 system, currently trying to manage some viewlets. While working on it, I saw the following order of (relevant) viewlet…
artemis_clyde
  • 373
  • 2
  • 20
0
votes
1 answer

Plone Search: get method to pass via URL to another site

I am using Plone 4.3 and the diazo bootstrap theme and want to use the site-search-form to pass the searchterms including two search-options to another site (catalog) via get method. To achieve this I have modified the plone.searchbox template and…
Krystian
  • 85
  • 2
  • 11