W
W
websiller2016-01-15 19:40:10
PHP
websiller, 2016-01-15 19:40:10

Where to change JRequest::getCmd('print') property in joomla?

Found a piece of code that is responsible for displaying some html fragment
<?php if(!JRequest::getCmd('print')): ?>
<a class="k2Anchor" href="<?php echo $this->item-> link; ?>#startOfPageId<?php echo JRequest::getInt('id'); ?>">
<?php echo JText::_('K2_BACK_TO_TOP'); ?>
a>
<?php endif; ?>
Whether to output or not depends on what JRequest::getCmd('print') returns. I need to change JRequest::getCmd('print') via standard jooomla interface or via settings files, but I can't find where it all is. The code itself cannot be edited.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question