Permalinks Problems pfffffffffff

By Maurice - August 12, 2013 - edited: August 12, 2013

Started using the permalinks plugin and caused many problems by many sites we implemented it. 

dos any one have a good breadcrumbs script that works with the permalinks plugin?

we used this one

<?
$ul_id='crumbs';
$bc=explode("/",$_SERVER["PHP_SELF"]);
echo '<a href="/">HOME</a>';
$brcount =0;$link='http://domainname.com'; 
foreach($bc as $key=>$value){
if($value != '' && isset($bc[$brcount++])){
$link.='/'.$value;
echo '<a href="'.$link.'" alt="'.ucfirst($value).'">'.strtoupper($value).'</a>';
}
$brcount++;
}

echo '<span>'.$pagetitle.'</span>';
?>


and the script

<script type="text/javascript">
function hideul(){
$(".postDetails ul").fadeOut();
$(".postDetails ul:first").fadeIn();
$(".postDetails h1:first span").removeClass("unactive").addClass("active");
}

function mutate(name) {
if($(".postDetails h1[name='"+name+"'] span").hasClass("active")){
$(".postDetails ul[name='"+name+"']").fadeOut();
$(".postDetails h1[name='"+name+"'] span").removeClass("active").addClass("unactive");
}else{
$(".postDetails ul[name='"+name+"']").fadeIn();
$(".postDetails h1[name='"+name+"'] span").removeClass("unactive").addClass("active");
}
}

function activateNav(){
if($("nav.mainNav li a[name='<?php echo $category; ?>']")){
$("nav.mainNav li a[name='<?php echo $category; ?>']").addClass("active");
}
}

</script>

But now it starts counting from the admin perspective ( home>cmsb>plugins>title page

Some one got a good en simple solution?

Greetz M

-------------------------------------------

Dropmonkey.nl

By Maurice - August 17, 2013

whaaaaaa got it working

thnx its great.

u r the best Greg ;-)

-------------------------------------------

Dropmonkey.nl