Working on a project using this plugin, and I noticed a bug:
<MTPAPreviousPage show="1" text='« <mt:var name="phrase_previous">'>
the <mt:var name="phrase_previous">
Is there a way to make this work?
Reported on Movable Type 5
Working on a project using this plugin, and I noticed a bug:
<MTPAPreviousPage show="1" text='« <mt:var name="phrase_previous">'>
the <mt:var name="phrase_previous">
Is there a way to make this work?
Reported on Movable Type 5
What I meant was that
is getting sent to the browser.This is not a bug, it is simply that the plugin author didn't expect the need for something like this.
You could however solve this using php!
In other words, you would set the variable as a php variable and then you would reference that variable inside the mt:PAIfMultiplePages loop for whatever tag you are interested on (i.e. mt:PAPreviousPage, mt:PANextPage etc.).
Kind Regards,
Mihai Bocsaru
----------------------------------
Daily Movable Type Consultant
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
----------------------------------
Open Melody Demo
http://www.openmelodydemo.org/
Thanks for the reply, I'll give it a shot.
And by bug, I meant a bug in the code, not the plugin. :)
You're welcome :)
I can assure you that the php method would work like a charm.
Cheers,
Mihai
I'm getting more familiar with MT, so I finally circled back to this issue, and indeed your suggestion worked like a charm.
Thanks again!
You're welcome and glad to hear you've managed it!