[Plone-UI] "More news...", <dd class="portletFooter"> disappeared
Silvestre Marcelo Huens
s.huens at gmail.com
Wed Oct 15 19:30:19 UTC 2008
On Wed, Oct 15, 2008 at 2:29 PM, Kevin Harvey
<kevin.harvey at vanderbilt.edu> wrote:
> It works totally fine when I apply it to a vanilla Plone instance. Weird,
> Here's another puzzle piece: I moved the News smart folder to an interior
> folder. Could that have broken the view/all_news_link declaration? Where can
> I set that address?
in particular, is the problem... :)
the declaration "view/all_news_links" says something like "in the
class associated with this template search for the method
in the file "new.py" (plone/app/portlets/portlets ||
portal_state = getMultiAdapter((self.context, self.request),
portal_url = portal_state.portal_url()
portal = portal_state.portal()
if 'news' in portal.objectIds():
return '%s/news' % portal_url
where returns None if news is not a direct child of portal...
you can customize the portlet or move the folder news again to the
root of the site...
that should be enough to make appear the link again...
maybe i'm missing a more simple solution =)...
Senior designer - Plone integrator
More information about the UI