Log in

View Full Version : template edits


goranbaxy
07-11-2008, 09:28 AM
Hi,
I'm trying to make a template edit, so I edited postbit_legacy.

I have a code like this:


<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 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:
http://www.dojaja.biz/dforum/muzika/pronaden-neobjavljeni-album-jimija-hendrixa-5959.html
not:
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

Dismounted
07-11-2008, 09:32 AM
This is part of vBSEO's URL rewriting scheme, so you should ask over at their boards.