Skip to content

Instantly share code, notes, and snippets.

@mManishTrivedi
Last active December 27, 2015 10:59
Show Gist options
  • Save mManishTrivedi/7314728 to your computer and use it in GitHub Desktop.
Save mManishTrivedi/7314728 to your computer and use it in GitHub Desktop.
Overwrite no result Message in XiUS
<?php
// Follow these steps to achieve overwrite no result Message in XiUS result page
// 1# copy your default_profile.php file like your xius template is default
// copy file _SITE_ROOTS_/components/com_xius/templates/default/default_profile.php
// 2# Paste this file to following hierarchy
// _SITE_ROOTS_/templates/_CURRENT_SITE_TEMPLATE/html/com_xius/default_profile.php
// 3# paste following code to near the line 13-14
?>
<?php
# overwrite code start here
if (empty($this->total)):
?>
<div class="xiusMp">
<div class="xiusHeader">
_EMPTY_RESULT_MSG
</div>
</div>
<?php
# overwrite code End here
endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment