Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: need help multi-language category filtering for a blog in a structure site.
Status | Resolved |
Add-on / Version | Publisher 1.2.2 |
Severity | Blocker |
EE Version | 2.7.2 |
Pixelman
Jul 10, 2014Hi,
I’m using the structure add-on for a client site. Due to a multi-language question I added publisher (for 3 languages).
Now I need to filter content true categories inside the blog part of the site.(see fig1) true a sidebar navigation (category list)
URL could be something like this:
http://paragonbiz.be/en/blog/ (startpage)
http://paragonbiz.be/en/blog/filter/events/ (same template as the startpage but only with the entries who have the events category checked)
The code form my blog (startpage)
<body id="blog">
<div id="site">
<!-- ######### HEADER STUFF ############-->
<header>
</header>
<!-- ######### BANNER STUFF ############-->
<section id="blogLatest" class="grey">
</section><!-- end blogLatest -->
<!-- ######### CONTENT STUFF ############-->
<section class="box white" id="blogItems">
<div class="row">
<div class="small-3 medium-3 large-3 columns">
<div class="spacer" ></div>
<h3 class="subsubsubnavTitle">{phrase:filter}</h3>
<p> </p><ul class="subsubsubnav">
<li ><a href="/blog">All</a></li>
</ul><p> <br />
</p>
</div><p><!-- end column --></p>
<p><br />
</p><div class="small-9 medium-9 large-9 columns">
<p> </p><div class="spacer" ></div>
<p>selected="selected" </p>
<p> <br />
</p>
</div><p><!-- end column --><br />
</p>
</div><p><!-- end row --><br />
</p>
</section><p><!-- end introduction --></p>
<p><br />
<!-- ######### FOOTER STUFF ############--></p>
<p> </p>
<p> </p>
</div><p><!-- end site --><br /></p><div id="traceImage"></div>
<p><br />
</body><br />
</html>
Where do I start?
I tried the freebie thing but no succes yet.
Is there a nice tutorial somewhere?
Thank You!
Pixelman.
BoldMinded (Brian)
This is a pretty vague question. There are a million ways to filter… can you provide more examples such as template code and exactly what you are trying to do??
Pixelman
ok I updated my ticket with url and login to the cp. Added a screenshot of the blog page
Pixelman
the code is wrong seems the the EE tags are filtered
BoldMinded (Brian)
I don’t have any tutorials on this because its a specific implementation issue, which I can’t help with too much. You might want to take a look at the URL Helper extension that works with translated URLs (if your issue is that you’re using translated category url_titles to filter).
https://github.com/litzinger/URL-Helper
Just use {segment_3_category_id} in your entries tags to get the ID.