TOC - Page Number and Page
mishima 145
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: TOC - Page Number and Page
Philipp Esselbach
From: -
Editor
0From: -
Add the following PHP part to the template:
and change the HTML part to:
$selected_page = ($insert[ 'articlepage_page' ] == $insert['articlepage_toc_page']) ? " selected=\"selected\"" : "";
and change the HTML part to:
<option value="{$insert['articlepage_toc_page']}"{$selected_page}>Page {$insert['articlepage_toc_page']}: {$insert['articlepage_toc_title']}</option>
1 Re: TOC - Page Number and Page
mishima
OP
145
From: -
From: -
Excellent thanks Philipp works great.
How about the 'TABLE OF CONTENTS' change? Basically, whatever page you are on it says 'TABLE OF CONTENTS' and from this you don't know what page you are actually on. Could this be changed to whatever page you are actually on?
Thanks
How about the 'TABLE OF CONTENTS' change? Basically, whatever page you are on it says 'TABLE OF CONTENTS' and from this you don't know what page you are actually on. Could this be changed to whatever page you are actually on?
Thanks
1 Re: TOC - Page Number and Page
Philipp Esselbach
From: -
Editor
0From: -
Edit the template articles_pages_toc and replace:
with:
<option value="{$insert['articlepage_toc_page']}">{$insert['articlepage_toc_title']}</option>
with:
<option value="{$insert['articlepage_toc_page']}">Page {$insert['articlepage_toc_page']}: {$insert['articlepage_toc_title']}</option>
Hello,
Our TOC for articles currently just says TABLE OF CONTENTS after you use it to navigate to a page, so you never know which page you are on by the TOC.
Could this be changed to the page that the reader is currently on?
Also, how would I add page numbers to sit beside the title of the pages inside the TOC.
At the moment it says:
But I would like it to say:
Thanks for your help!
Mishima