[PREVIEW] Sj AutoNews - Cars News, Cars Review Joomla Template
Your Cart is currently empty!
Product update
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

How add a blok depend on the "switch_modes" on 'fulltext'
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How add a blok depend on the "switch_modes" on 'fulltext'

How add a blok depend on the "switch_modes" on 'fulltext' 6 years, 5 months ago #15869

How can I add an adSense or module to the content 'fulltext'. And it wants to depend on the "switch_modes"


<?php if(!empty($this->item->fulltext)): ?>
<?php if($this->item->params->get('itemIntroText')): ?>
<!-- Item introtext -->
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
<?php endif; ?>

<!---************** Begin Adsense/Blok *****************--->
if switch_modes == 1 ===>>> show Adsens for PC

if switch_modes == 2 ===>>> show Adsens for Mobile

<!---************** End Adsense/Blok *****************--->

<?php if($this->item->params->get('itemFullText')): ?>
<!-- Item fulltext -->
<div class="itemFullText">
<?php echo $this->item->fulltext; ?>
<?php endif; ?>

See my Ticket TT-0000003427
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.46 seconds


Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes