What is the name of the collapsing Navigation Portlet on Plone.org (Get Plone - Learn Plone - Get Involved)? I can't find it in the Portlets Download Section.
It is not a portlet, but part of the custom Plone.org frontpage view that uses the jQueryUI Accordion widget.
See the Plone.org frontpage source.
<div id="accordion">
<h2 class="current">Get Plone</h2>
<div class="pane" style="display:block">
<a id="download-link" href="/download">DOWNLOAD NOW<br />
Plone
<span tal:content="python: here.products.getFeaturedProjectRelease().getId()">3.2.0</span>
·
<span tal:content="python: here.products.getFeaturedProjectRelease().effective_date.strftime('%h ' + u'\u2019' + '%y')">Feb 2009</span></a>
<dl>
<dt>What’s new in Plone 4</dt>
<dd>An overview of the new features.</dd>
<dt>Roadmap</dt>
<dd>Our plans for the future.</dd>
<dt>Older releases</dt>
<dd>Looking for a previous version?</dd>
<dt>Add-on Products</dt>
<dd>Adapt Plone to your needs.</dd>
<dt>Security Advisories</dt>
</dl>
</div>
<h2>Learn Plone</h2>
<div class="pane">
<dl>
<dt>Documentation</dt>
<dd>Plone has a great collection of online documentation.</dd>
<dt>Buy Books</dt>
<dd>For those of you who think better in bed with a book.</dd>
<dt>Forums & Chat Rooms</dt>
<dd>People are always ready to help you with your Plone questions.</dd>
<dt>Find Plone Training</dt>
<dd>Let one of the Plone experts guide you through getting productive.</dd>
<dt>Commercial Support</dt>
<dd>Over 300 companies around the world offer Plone services.</dd>
</dl>
</div>
<h2>Get Involved</h2>
<div class="pane">
<dl>
<dt>Suggest New Features</dt>
<dd>Have an awesome idea about a new feature for Plone?</dd>
<dt>Report Bugs</dt>
<dd>Plone has no bugs. If you found one anyway, report it here.</dd>
<dt>Write Code</dt>
<dd>If you’re proficient in Python, HTML, CSS or JS, join us!</dd>
<dt>Translate, Write Docs, Help Test</dt>
<dd>There are lots of things you can do to make Plone better.</dd>
<dt>Read Blogs, Publish Yours</dt>
<dd>Stay up to date on Plone</dd>
<dt>Support the Plone Foundation</dt>
<dd>If all else fails, give cold, hard cash.</dd>
</dl>
</div>
</div> <!-- End accordion -->
Related
I changed some sections in my Wordpress website and also added some.
The really strange thing is that when I am logged in and I see the website in the logged in view I can see the sections but when I'm not logged in I can't see that, every change at the website is not visible.
I empty the cache and tried to change some texts and every change was visible.
The plug-ins installed are:
Akismet
Contact Form 7
iThemes Security
Roots Rewrites
Soil
W3 Total Cache
WordPress SEO
WPML Media
WPML Multilingual CMS
WPML String Translation
I can't understand how resolve this problem :(
With these informations, we can only say that you must look at Wordpress Codex:
http://codex.wordpress.org/Function_Reference/is_user_logged_in
Maybe you accidentally hid some sections for not logged in users. If not, please be more spesific about your question.
Sorry, I can't see the "user logged in" function.
the code that I add is this
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
<hr/>
<h2 style="text-align: center;"><?php _e('Charter of services','fratesole'); ?><br/>
<small><?php _e('Private Hospital','fratesole'); ?></small></h2>
<p style="text-align: center;"><a class=" btn btn-primary" href="#" target="_blank" ><?php _e("Download Pdf","fratesole"); ?></a></p>
<hr class="in-btn"/>
</div>
</div>
</div>
</section>
i create block with views module for Print Promoted to front page, this worked and i see result in my front page. this views worked with field and i print title, thumbs, content. now i need to custom this theme views for show in jquery content slider.
i click in advanced->theme->information i see this:
field content revision: views-view-field.tpl.php, views-view-field--title.tpl.php, views-view-field--frontpage.tpl.php, views-view-field--frontpage--title.tpl.php, views-view-field--block.tpl.php, views-view-field--block--title.tpl.php, views-view-field--frontpage--block.tpl.php, views-view-field--frontpage--block--title.tpl.php, views-view-field--block-1.tpl.php, views-view-field--block-1--title.tpl.php, views-view-field--frontpage--block-1.tpl.php, views-view-field--frontpage--block-1--title.tpl.php
But i don't find any .tpl.php theme files for edit theme design using html and css. how to create custom design theme for print my result with this format:
<div id="content">
<ul>
<li>
<div class="title">title1</div>
<div class="thumbs"><img 1 ......></div>
<div class="content">content1</div>
</li>
<li>
<div class="title">title2</div>
<div class="thumbs"><img 2 ......></div>
<div class="content">content2</div>
</li>
</ul>
</div>
I think the Views 2 theming guide has already explained everything clearly. Just follow the steps there and it only takes just minutes.
I don't know if i set my breadcrumbs correctly, all my pages have breadcrumb like so:
<body itemscope="itemscope" itemtype="http://schema.org/WebPage">
<div class="breadcrumb">
<a title="MY Site Title" rel="home" itemprop="breadcrumb" href="http://www.mysite.com/">MY Site Title</a>
<span class="navigation-pipe">»</span>
<a title="Category Name" itemprop="breadcrumb" href="http://www.mysite.com/CategoryName">Category Name</a>
<span class="navigation-pipe">»</span>Product Page
</div>
And if its a Product page i add this to the body after the breadcrumb.
<div itemscope itemtype="http://schema.org/Product">
With Product info HERE
</div>
You should try adding
itemprop="breadcrumb"
to the containing div, not the links themselves. As shown in the correct answer here.
You can also use Google's own structured data testing tool to test what data it is able to extract.
They also have a troubleshooting section which describes common pitfalls.
Finally, if all else fails you can ask them manually though they don't promise an individual response.
I am new to Magnolia and am trying to configure the breadcrumb for a site. I took a look at the documentation, but it is very limited.
<div id="breadcrumb">
<h5>${i18n['nav.selected']}</h5>
<ol>
[#list model.breadcrumb as item]
[#if item_has_next]
<li>${item.navigationTitle}</li>
[#else]
<li><strong>${item.navigationTitle}</strong></li>
[/#if]
[/#list]
</ol>
</div>
I found the script above which renders the breadcrumb, but struggle with the configuration. Can you give me an example (with picture) if possible?
Thank you
very much
I'm not sure you need to configure the breadcrumb for your site.
If you use the STK (Standard Templating Kit) pages templates, like stkArticle, stkSection, etc, then you get the bread crumb trail for free.
What I've done is to extend STK templates then override the areas/main/templateScript value to point at my own freemarker script. The script then looks like this:
<div id="main" role="main">
[#cms.area name="breadcrumb" content=content/]
[#cms.area name="intro" content=content/]
[#cms.area name="opener"/]
[#cms.area name="content"/]
<!-- ADD YOUR SPECIFIC CONTENT HERE -->
</div>
Hope this helps.
I would like to render a list of Plone Archetypes in custom template.
In my example, I'm searching 'PortletPage' type in the catalog and get 3 items.
Then I iterate on these items and i'd like to display them.
Is there a way to do that ?
I'd recommend looking at the documentation for Plone's TAL templating language as well as the portal_catalog tool.
Here's a quick example based on the issue you're describing:
<div tal:define="catalog context/portal_catalog;
results python:catalog.searchResults(portal_type='PortletPage');">
<div tal:repeat="item results">
<h3 tal:content="item/pretty_title_or_id" />
<p tal:content="item/Description" />
</div>
</div>