This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

small bug in template: articles_pages_toc_header


avatar
Forma 17
From: -
small bug in template: articles_pages_toc_header

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?

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
avatar
OP 17
From: -
this solved the problem in IE Smiling Face

all is well again, thanks Philipp!
1 Re: small bug in template: articles_pages_toc_header
avatar
Editor
0
From: -
Can you try the following modification? Replace template articles_pages_toc_header with:

<!-- 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
avatar
Editor
0
From: -
I know it, it is always IE Slightly Frowning Face
1 Re: small bug in template: articles_pages_toc_header
avatar
OP 17
From: -
it's happening in IE7, FF seems ok here.
1 Re: small bug in template: articles_pages_toc_header
avatar
Editor
0
From: -
Seems to work fine. Which browser are you using?
1 Re: small bug in template: articles_pages_toc_header
avatar
Editor
0
From: -
I will look into it tomorrow in the office.
1 Re: small bug in template: articles_pages_toc_header
avatar
OP 17
From: -
ok, i'll leave it as it is.

but what about the bug? is it just my install?
1 Re: small bug in template: articles_pages_toc_header
avatar
Editor
0
From: -
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.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.