small bug in template: articles_pages_toc_header

Forma 17
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: small bug in template: articles_pages_toc_header

Forma
OP
17
From: -
From: -
this solved the problem in IE 
all is well again, thanks Philipp!

all is well again, thanks Philipp!
1 Re: small bug in template: articles_pages_toc_header

Philipp Esselbach
From: -
Editor
0From: -
Can you try the following modification? Replace template articles_pages_toc_header with:
Does this work with IE?
<!-- Template: articles_pages_toc_header -->
<script type="text/javascript">
<!--
function jumpnext(page)
{
window.location.href = "{$insert['site_url']}/contentteller{$insert['param_ext']}{$insert['param_ct']}articles{$insert['param_jaction']}pages{$insert['param_jpage']}{$insert['article_seo']},"+document.getElementById("nextpage").value+".html";
}
//-->
</script>
<br />
<div style="text-align: center;">
<select id="nextpage" onchange="jumpnext({$insert['articlepage_id']})">
<option value="0">TABLE OF CONTENTS</option>
Does this work with IE?
1 Re: small bug in template: articles_pages_toc_header

Philipp Esselbach
From: -
Editor
0From: -
I know it, it is always IE

1 Re: small bug in template: articles_pages_toc_header

Forma
OP
17
From: -
From: -
it's happening in IE7, FF seems ok here.
1 Re: small bug in template: articles_pages_toc_header

Philipp Esselbach
From: -
Editor
0From: -
Seems to work fine. Which browser are you using?
1 Re: small bug in template: articles_pages_toc_header

Philipp Esselbach
From: -
Editor
0From: -
I will look into it tomorrow in the office.
1 Re: small bug in template: articles_pages_toc_header

Forma
OP
17
From: -
From: -
ok, i'll leave it as it is.
but what about the bug? is it just my install?
but what about the bug? is it just my install?
1 Re: small bug in template: articles_pages_toc_header

Philipp Esselbach
From: -
Editor
0From: -
You are looking for the function getpages in class_system.php, but I wouldn't change anything after it will most likely break something. The current way seems to doing fine in search engines.
At least it happens in my install, but i may have broken something along the way.
in the table of contents on an article page, it adds /contentteller/articles_pages/article.html when it's already there so you end up with:
/contentteller/articles_pages/contentteller/articles_pages/article.html
also, while i'm here, is there a way to change the page number structure to something else? at the moment it goes "page,1.html", for some reason i keep wanting it to be page+1.html.
am i being stupid or causing search engine issues by wanting this? i've just seen this on a few other sites, and was curious to ask if it makes a difference?