Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

Jm gallery

From TYPO3Wiki
Jump to: navigation, search

The extension jm_gallery is a nice form of a working gallery in TYPO3. It can be installed and configured via its manual. But within its Single mode, there are no links for the previous and next image. To fix this, the following steps have to be done.

First you need to create a template file using the whole block of ###SINGLE_TEMPLATE### from the file typo3conf/ext/jm_gallery/pi1/gallery-template.html. You should include this file in the Single mode page. In this file, you must replace the lines with jm-gallery-prev-link and jm-gallery-next-link by the following lines:

 <div_ class="jm-gallery-prev-link">
   <a_ href="###LL_IMAGE_PREV###">###IMAGE_PREV_LINK###</a>
 </div_>
 <div_ class="jm-gallery-next-link">
   <a_ href="###LL_IMAGE_NEXT###">###IMAGE_NEXT_LINK###</a>
 </div_>

Please remove the _ after the tag names. It had to be added because of the spam filter of the wiki.

Next you must include the following lines in the constant TS template (not in setup):

TS TypoScript:
  plugin.tx_jmgallery_pi1.list_pid = 26
  plugin.tx_jmgallery_pi1.album_pid = 30
  plugin.tx_jmgallery_pi1.single_pid = 31

Replace the numbers by your suitable page IDs.