[SOLVED] RockSprocket-Modul - Bildverlinkung
das verstehe ich sehr. Daher habe ich versucht einen Teil vom Beitrags-Verlinkungs-Script -->
<a data-lightbox-type="iframe" data-uk-lightbox="{group:'<?php echo $item->getPrimaryImage()->getAlttext(); ?>'}" href="<?php echo $item->getPrimaryLink()->getUrl(); ?>?tmpl=component" class=" readon uk-button "><span><?php rc_e('READ_MORE'); ?></span></a>
mit dem von Bild -->
<?php if (!$item->getPrimaryImage()) >
<div class="plain">
<?php endif; ?>
<!--Plain-->
<div class="sprocket-strips-c-item" data-strips-content>
<?php if ($item->getPrimaryImage()) >
<img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-strips-c-image" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" />
<?php endif; ?>
zuverbinden. Klappt aber nicht wie gewollt, damit beim Klicken auf das Beitragsbid ebenso das PopUp öffnet.
Vielen Dank für Ihre Geduld und Bemühungen...
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic RockSprocket-Modul - Bildverlinkung
Posted 5 years 3 months ago #24552Und was möchten sie denn generell?
1.) Popup vom Bild zum Artikel oder vom Bild auf ein größeres Bild?
2.) Popup vom Readmore zum Artikel?
www.joomlaplates.de/dokumentation.html
Please Log in or Create an account to join the conversation.
Bestehender Code mit PopUp über "Read more..."
<?php
/**
* @version $Id: item.php 10885 2013-05-30 06:31:41Z btowles $
* @author RocketTheme www.rockettheme.com
* @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
* @license www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
?>
<div class="sprocket-strips-c-block" data-strips-item>
<!--Plain-->
<?php if (!$item->getPrimaryImage()) >
<div class="plain">
<?php endif; ?>
<!--Plain-->
<div class="sprocket-strips-c-item" data-strips-content>
<?php if ($item->getPrimaryImage()) >
<img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-strips-c-image" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" />
<?php endif; ?>
<div class="sprocket-strips-c-content">
<?php if ($item->getTitle()) : ?>
<h4 class="sprocket-strips-c-title" data-strips-toggler>
<?php if ($item->getPrimaryLink()) : ?><a href="<?php echo $item->getPrimaryLink()->getUrl(); ?>"><?php endif; ?>
<?php echo $item->getTitle();?>
<?php if ($item->getPrimaryLink()) : ?></a><?php endif; ?>
</h4>
<?php endif; ?>
<div class="sprocket-strips-c-extended">
<div class="sprocket-strips-c-extended-info">
<?php if ($item->getText()) >
<span class="sprocket-strips-c-text">
<?php echo $item->getText(); ?>
</span>
<?php endif; ?>
<?php if ($item->getPrimaryLink()) : ?>
<a data-lightbox-type="iframe" data-uk-lightbox="{group:'<?php echo $item->getPrimaryImage()->getAlttext(); ?>'}" href="<?php echo $item->getPrimaryLink()->getUrl(); ?>?tmpl=component" class=" readon uk-button "><span><?php rc_e('READ_MORE'); ?></span></a>
<?php endif; ?>
</div>
</div>
</div>
</div>
<!--Plain-->
<?php if (!$item->getPrimaryImage()) >
</div>
<?php endif; ?>
<!--Plain-->
</div>
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic RockSprocket-Modul - Bildverlinkung
Posted 5 years 3 months ago #24560<?php
/**
* @version $Id: item.php 10885 2013-05-30 06:31:41Z btowles $
* @author RocketTheme www.rockettheme.com
* @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
* @license www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
?>
<div class="sprocket-strips-c-block" data-strips-item>
<!--Plain-->
<?php if (!$item->getPrimaryImage()) >
<div class="plain">
<?php endif; ?>
<!--Plain-->
<div class="sprocket-strips-c-item" data-strips-content>
<?php if ($item->getPrimaryImage()) >
<a data-lightbox-type="iframe" data-uk-lightbox href="<?php echo $item->getPrimaryLink()->getUrl(); ?>?tmpl=component"><img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-strips-c-image" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" /></a>
<?php endif; ?>
<div class="sprocket-strips-c-content">
<?php if ($item->getTitle()) : ?>
<h4 class="sprocket-strips-c-title" data-strips-toggler>
<?php if ($item->getPrimaryLink()) : ?><a href="<?php echo $item->getPrimaryLink()->getUrl(); ?>"><?php endif; ?>
<?php echo $item->getTitle();?>
<?php if ($item->getPrimaryLink()) : ?></a><?php endif; ?>
</h4>
<?php endif; ?>
<div class="sprocket-strips-c-extended">
<div class="sprocket-strips-c-extended-info">
<?php if ($item->getText()) >
<span class="sprocket-strips-c-text">
<?php echo $item->getText(); ?>
</span>
<?php endif; ?>
<?php if ($item->getPrimaryLink()) : ?>
<a data-lightbox-type="iframe" data-uk-lightbox="{group:'<?php echo $item->getPrimaryImage()->getAlttext(); ?>'}" href="<?php echo $item->getPrimaryLink()->getUrl(); ?>?tmpl=component" class=" readon uk-button "><span><?php rc_e('READ_MORE'); ?></span></a>
<?php endif; ?>
</div>
</div>
</div>
</div>
<!--Plain-->
<?php if (!$item->getPrimaryImage()) >
</div>
<?php endif; ?>
<!--Plain-->
</div>
www.joomlaplates.de/dokumentation.html
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Replied by ofv1907 on topic [SOLVED] RockSprocket-Modul - Bildverlinkung
Posted 5 years 3 months ago #24564Please Log in or Create an account to join the conversation.