StarBuG
11-13-2010, 06:00 AM
Hello. I need your help.
I need the $pagenumber variable to be available in postbit_legacy so that I can create an url when the thread has multiple pages.
Currently I am using: <a href="http://www.patientenfragen.net/{vb:link thread, {vb:raw thread}}" target="_blank">
but I need it to work this way:
<a href="http://www.patientenfragen.net/{vb:link thread, {vb:raw thread}<vb:if condition="$pagenumber">&page={vb:raw pagenumber}</vb:if>}" target="_blank">
I need the url including the page the user is on.
I know I need to register that variable to the postbit_legacy template, but how do I do that?
Sorry for asking such a stupid question but I am no programmer and totally lost here.
Any help is much appreciated.
StarBuG
I need the $pagenumber variable to be available in postbit_legacy so that I can create an url when the thread has multiple pages.
Currently I am using: <a href="http://www.patientenfragen.net/{vb:link thread, {vb:raw thread}}" target="_blank">
but I need it to work this way:
<a href="http://www.patientenfragen.net/{vb:link thread, {vb:raw thread}<vb:if condition="$pagenumber">&page={vb:raw pagenumber}</vb:if>}" target="_blank">
I need the url including the page the user is on.
I know I need to register that variable to the postbit_legacy template, but how do I do that?
Sorry for asking such a stupid question but I am no programmer and totally lost here.
Any help is much appreciated.
StarBuG