End of Support for Joomla 3 - Forum closed

RokSprocket Strip Cards Layout

RokSprocket Strip Cards Layout was created by fschaefer78

Posted 6 years 6 months ago #18678
Hallo, kann mir bitte jemand helfen Ich möchte read more button deaktivieren und den url link nur über das image durchführen.

Zu dem Thema gab es schon einmal einen Beitrag, da ging es aber um um das "separated". Ich bräuchte das für die "Cards" Ansicht.

( www.joomlaplates.com/forum/j3-life/5350-...ge-mit-url-verlinken )

Danke sehr! :)

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic RokSprocket Strip Cards Layout

Posted 6 years 6 months ago #18682
Das mit den strips ( cards) ist das gleiche Prinzip:

>> Ihr Joomla\templates\jp-life\roksprocket\layouts\strips\themes\cards\item.php


Nun müssen sie die item.php ändern.

Please Log in or Create an account to join the conversation.

Replied by fschaefer78 on topic RokSprocket Strip Cards Layout

Posted 6 years 6 months ago #18683
Vielen Dank für die Antwort. Das hatte ich auch schon versucht. Leider nur mit einem weßen Bildschirm als Resultat. :(

Können Sie mir zeigen wo genau ich das ändern muss?

<?php
/**
* @version $Id: item.php 10885 2013-05-30 06:31:41Z btowles $
* @author RocketTheme www.rockettheme.com
* @copyright Copyright (C) 2007 - 2014 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="image" />
<?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 href="<?php echo $item->getPrimaryLink()->getUrl(); ?>" class="readon"><?php rc_e('READ_MORE'); ?></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.

Replied by joomlaplates on topic RokSprocket Strip Cards Layout

Posted 6 years 6 months ago #18684
..\jp-power\roksprocket\layouts\strips\themes\cards\item.php

<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 href="<?php echo $item->getPrimaryLink()->getUrl(); ?>"><img src="<img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-strips-c-image" alt="image" /></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 href="<?php echo $item->getPrimaryLink()->getUrl(); ?>" class="readon"><?php rc_e('READ_MORE'); ?></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.

Replied by fschaefer78 on topic RokSprocket Strip Cards Layout

Posted 6 years 6 months ago #18685
Vielen Dank, kommt aber dann wieder eine weisse Seite wenn ich das ändere. :(

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic RokSprocket Strip Cards Layout

Posted 6 years 6 months ago #18686
Probieren sie mal folgenden Code

<?php
/**
* @version $Id: item.php 10885 2013-05-30 06:31:41Z btowles $
* @author RocketTheme www.rockettheme.com
* @copyright Copyright (C) 2007 - 2014 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->getPrimaryLink()) : ?>
<a href="<?php echo $item->getPrimaryLink()->getUrl(); ?>"><img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" class="sprocket-mosaic-image" /></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 href="<?php echo $item->getPrimaryLink()->getUrl(); ?>" class="readon"><?php rc_e('READ_MORE'); ?></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.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License