Discussion:
[TYPO3-english] Counting page content
Adrian O.
2017-11-07 10:18:44 UTC
Permalink
Hello,

i am using Typo3 7.6 + Fluid.

Assuming, i have placed 4 custom content elements on my page, how can i get 4 images (in my case simple bullets) on my page? So that, for each page content, there will be one of these bullets?

Greetings, xola
Christian Hackl
2017-11-07 19:08:31 UTC
Permalink
pls give us a hint, who should your html output look like?
From where should your images come?
Adrian O.
2017-11-08 08:39:44 UTC
Permalink
Hi Christian,

it should look like this:

<ul class="Pagination">
<li><a href="#" class="">0</a></li>
<li><a href="#" class="">1</a></li>
<li><a href="#" class="pag_active">2</a></li>
<li><a href="#" class="">3</a></li>
<li><a href="#" class="">4</a></li>
</ul>

This is assuming, that there are 5 content elements on the page, displaying the third one as active.

Hope you can help me.

Greetings, xola
Christian Hackl
2017-11-08 18:38:11 UTC
Permalink
like a anchor menu?

https://www.greenbanana.ch/blog/seite/typo3/typoscript/menues/ankermenue-der-inhaltselemente/

but you musst use JavaScript if you want something like a "active" state.
Loading...