Hi,
I'm trying to make a template edit, so I edited postbit_legacy.
I have a code like this:
Code:
<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
<div style="float: right; height: 200px;">
<script type="text/javascript">
croportal_url = 'Pronađen neobjavljeni album Jimija Hendrixa -';
</script>
<script src="http://www.croportal.net/assets/js/croportal.js" type="text/javascript"></script>
</div>
</if>
where I need to somehow replace
Code:
http://www.dojaja.biz/dforum/muzika/pronaden-neobjavljeni-album-jimija-hendrixa-5959.html
"
with some variable of current url.
One other thing is that I link must be to a first post, so like:
Code:
http://www.dojaja.biz/dforum/muzika/pronaden-neobjavljeni-album-jimija-hendrixa-5959.html
not:
Code:
http://www.dojaja.biz/dforum/muzika/pronaden-neobjavljeni-albu
m-jimija-hendrixa-5959.html#post127626
so #post127626 part is what I don't need, I hop you understand my problem.
I'm using VBseo