Joomla
How to get page title for Joomla 1.5
This is the code:
<?php $mydoc =& JFactory::getDocument(); $mytitle = $mydoc->getTitle(); ?>
How to style the Joomla search module and component?
If you want to change the look of the Joomla search module and Joomla search component:
Copy the file:
/components/com_search/views/search/tmpl/default.php
to
/templates/my_template/html/com_search/search/default.php
Now make a few changes in that file and refresh your site.
In a similar fashion, you can also override the Search Module layout file. Copy the file:
/modules/mod_search/tmpl/default.php
to
/templates/my_template/html/mod_search/default.php
Как да разрешим регистрация с еднакви email-и в Joomla 1.5
Отворете
your-site/libraries/joomla/database/table/user.php
намерете тези редове:
$xid = intval( $this->_db->loadResult() );
if ($xid && $xid != intval( $this->id )) {
$this->setError( JText::_( ‘WARNREG_EMAIL_INUSE’ ) );
return false;
}
и ги коментирайте.
Hack for a problem with the search module in Joomla 1.5.11
If you don’t want all your search results to open on the front page of your website just use this hack. After it they will open on a separate page.
Just open your-site/components/com_search/controller.php
Find this part: › Continue reading
How to hide the content on the front page of a Joomla site?
To do this open the the your 1.5. Joomla template index.php
find this line of code:
<jdoc:include type="component" />
and change it to this:
<?php if (JRequest::getVar('view') != 'frontpage'): ?>
<div>
<jdoc:include type="component" />
</div>
<?php endif ?>
How to add a link to the manufacturer products for each product in the caregosy browse page in virtuemart?
To do this first read this post:
where it is explained: How to hack Manufacture Name in Virtuemart Browse Page Template?
Как да направим работещ google sitemap за Joomla сайтHow to create a working google sitemap for a Joomla website
Правилото е просто. Създаваме сайтмап във вида:
The rule is easy. We have to create a sitemap of type:
How to add a new module positions in Joomla 1.5
On the joomla 1.0.x series we could add new module positions on the joomla installation via Template manager- module positions (total 50 places).
How can we do this in joomla 1.5 ?
In joomla 1.5 you have to add the module positions within the templatedetails.xml
On the joomla 1.0.x series we could add new module positions on the joomla installation via Template manager- module positions (total 50 places).
How can we do this in joomla 1.5 ?
In joomla 1.5 you have to add the module positions within the templatedetails.xml
