Joomla

How to get page title for Joomla 1.5

This is the code:

<?php

$mydoc =& JFactory::getDocument();
$mytitle = $mydoc->getTitle();

?>

Tags: , , ,

петък, ноември 20th, 2009 Joomla, Програмиране Няма коментари

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

Tags: , , , , ,

неделя, ноември 8th, 2009 Joomla, Програмиране Няма коментари

Имаме нов сайт :)

new website

new website

Tags: , ,

понеделник, август 10th, 2009 Дизайн, Екип Няма коментари

Как да разрешим регистрация с еднакви 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;
}

и ги коментирайте.

Tags: , ,

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

Tags: , , , , ,

вторник, юни 23rd, 2009 Други Няма коментари

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 ?>

Tags: ,

понеделник, юни 22nd, 2009 Други Няма коментари

How to get itemid in Joomla 1.5

just use

$Itemid = JRequest::getInt( ‘Itemid’);

Tags: ,

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:

http://www.pcinvent.info/technology/programming/how-to-hack-manufacture-name-in-virtuemart-browse-page-template

where it is explained: How to hack Manufacture Name in Virtuemart Browse Page Template?

› Continue reading

Tags: ,

понеделник, юни 1st, 2009 Програмиране Няма коментари

Как да направим работещ 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:

› Continue reading

Tags: , , , ,

сряда, февруари 25th, 2009 Програмиране Няма коментари

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

› Continue reading

Tags: ,

петък, декември 5th, 2008 Програмиране Няма коментари