next-entry 'icon' appears on the wrong side...

This is the place to discuss bugs that have been found in the most recent version of PivotX. Posting bugs will ensure that the Development Team is aware of them and that they will be addressed when resources are available.

next-entry 'icon' appears on the wrong side...

Postby rabbeltje » Thu Jan 20, 2011 3:43 pm

not sure if this is a bug, so move me over if i am in the wrong place.

the problem i am having is this:

i want to display previous and next entry above my entries. i am using the following code:

Code: Select all
               <p class="center">[[previousentry incategory text="&laquo; <a href='%link%'>%title%</a>" ]] *
               [[category]] *
               [[nextentry incategory text="<a href='%link%'>%title%</a> &raquo;" ]]</p>


however, the &raquo; appears in front of the text instead of behind it... i copied the code from the skinny-template and modified it a little (added 'incategory' and changed the middle section to category instead of home). not sure why this is happening, so if anyone can help me that would be nice!

site can be found here: www.rabbeltje.nl

working with mysql and pivotx-version 2.2.0
User avatar
rabbeltje
 
Posts: 358
Joined: Mon Aug 25, 2008 11:54 am
Location: Neerbeek, The Netherlands

Re: next-entry 'icon' appears on the wrong side...

Postby jadwigo » Fri Jan 21, 2011 10:39 am

are you sure that your template code is the same? The HTML code that is output has it in the wrong order, and I don't know how that would switch around.
Code: Select all
               <p class="center">&laquo; <a href="/?e=16">kadootje</a> *
               taarten *
               &nbsp;&nbsp;&raquo; <a href="/?e=19">lief hartje</a></p>
My pivotx playground is at http://jivotx.twokings.eu - the rest is at http://www.jadwigo.nl
jadwigo
Developer
 
Posts: 117
Joined: Wed Nov 18, 2009 9:49 am
Location: Den Haag, Netherlands

Re: next-entry 'icon' appears on the wrong side...

Postby rabbeltje » Fri Jan 21, 2011 11:12 am

this is the exact code as i have it in my template:
Code: Select all
               <p class="center">[[previousentry incategory text="&laquo; <a href='%link%'>%title%</a>" ]] *
               [[category]] *
               [[nextentry incategory text="<a href='%link%'>%title%</a> &raquo;" ]]</p>
User avatar
rabbeltje
 
Posts: 358
Joined: Mon Aug 25, 2008 11:54 am
Location: Neerbeek, The Netherlands

Re: next-entry 'icon' appears on the wrong side...

Postby hansfn » Fri Jan 21, 2011 2:14 pm

incategory=1
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway


Return to 2.x Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron