Tech blog

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
Multithumb found errors on this page:

There was a problem loading image http://static.xscreenshot.com/2012/03/15/17/screen_ffbc019bd03ba1a3df2d4cb2e28b3bae
There was a problem loading image http://static.xscreenshot.com/2012/03/15/17/screen_ffbc019bd03ba1a3df2d4cb2e28b3bae
It's an outdated article! Now it works in another way in VirtueMart 2

Task: SpiderI need 2 currencies - USD (real product price is in USD) and UAH - the price which users pay.

In other words the shop sell product in UAH while prices in the backend are in USD.

The currency exchange rate has to be entered manually.

Example: screen_ffbc019bd03ba1a3df2d4cb2e28b3bae

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

White spider removes redundunt images from Virtuemart 1.1.xImportant! Some people report this approach kills additional images too, even the needed ones. So backup before using the script. If you have a solution, please post it. It will be a good help for others.

With the flow of time Virtuemart 1.1.x aqquires with many redundant images. To clean up unused images in components/com_virtuemart/shop_image/product and components/com_virtuemart/shop_image/product/resized follow the steps below:

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
Spider squirrel

While trying to install phing I've been geting such a result:

# pear install phing/phing
Unknown remote channel: pear.phpunit.de
WARNING: "pear/PEAR_PackageFileManager" is deprecated in favor of "pear/PEAR_PackageFileManager2"
Unknown remote channel: pear.pdepend.org
Unknown remote channel: pear.phpmd.org
Unknown remote channel: pear.phpunit.de
Unknown remote channel: pear.docblox-project.org
Did not download optional dependencies: channel://pear.phpunit.de/PHPUnit, pecl/Xdebug, pear/PEAR_PackageFileManager, channel://pear.pdepend.org/PHP_Depend, channel://pear.phpmd.org/PHP_PMD, channel://pear.phpunit.de/phpcpd, channel://pear.docblox-project.org/DocBlox, use --alldeps to download automatically
phing/phing requires package "phing/phingdocs" (version >= 2.4.8snapshot20111006230626), installed version is 2.4.6snapshot20110704081620
phing/phing can optionally use package "channel://pear.phpunit.de/PHPUnit" (version >= 3.4.0)
phing/phing can optionally use package "pecl/Xdebug" (version >= 2.0.5)
phing/phing can optionally use package "pear/PEAR_PackageFileManager" (version >= 1.5.2)
phing/phing can optionally use package "channel://pear.pdepend.org/PHP_Depend" (version >= 0.10.0)
phing/phing can optionally use package "channel://pear.phpmd.org/PHP_PMD" (version >= 1.1.0)
phing/phing can optionally use package "channel://pear.phpunit.de/phpcpd" (version >= 1.3.2)
phing/phing can optionally use package "channel://pear.docblox-project.org/DocBlox" (version >= 0.14.0)
No valid packages found
install failed

User Rating: 2 / 5

Star ActiveStar ActiveStar InactiveStar InactiveStar Inactive
Warning! The article is not actual since system plugin AjaxModuleLoader is available. It's not unpublished for learning purposes.

Give me your blood!Task: Load some modules after full page loaded only. Have possibility to periodically reload a module (i.e. a sport matсh scores).

Be able to use either Mootools or jQuery.

Explanation: A web-site has too many modules what causes it to load slow. It would be preferable to load some secondary modules after main content structure  is loaded.

Limitation: Will not work for some moules which use much JS themselves. At least for mod_jreviews_listings.

Example. One time load.

Example. Reloads periodically. Time interval is set to 60 seconds.

Solution.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Problem

pavukAfter installing a free joomla 1.6+ template AS Template 002024 it works not like shown at demo-page. Footer is not shown. As a result, the template javascript shows a popup message at every page load with text: designed by www.asdesigning.com. JavaScript: designed by www.asdesigning.com

But I've not even thought of removing copyrights. What is the problems then?

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Add CAPTCHA to

We have:

  • Joomla 1.5.22
  • Virtuemart 1.1.6

Task:

  • Add CAPTCHA to "Ask seller" page

Solution:

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

How to disable mootools in Virtuemart 1.1.x?If Joomla's mootools conflicts with Virtuemart's mootols or there some other conflicts with Virtuemart's mootools, the best way to disable it is to disable it in the Virtuemart template. At least it works in Virtuemart 1.1.5 and Virtuemart 1.1.6.

/components/com_virtuemart/themes/YOURTHEME/theme.php

line about 37

function vmTheme() {
       parent::vmTemplate();
       vmCommonHTML::loadMooTools();
}

If you just comment line:

//##my Commented. It was: vmCommonHTML::loadMooTools();

it will disable virtuemart's mootools, but also virtuemart javascript functionality. I.e. ajax card add. To avoid it you should add two javascript files compatible with Joomla's mootools 1.2.4.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

At least Basil Harlampovych Ziuzia kopete and pidgin refused to connect to ICQ because of incorrect password. Web-icq like meebo.com work normal. Besides, the porblem appeared after I reboted my computer.

The soulution is to change ICQ server to  login.icq.com instead of default (at least in my case) login.oscar.aol.com.

The solution is taken from here: http://www.icq.com/groups/index.php?act=view_topic&group_id=14189&topic_id=280541&forum_page=1

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Бабло перемагає домениIt became known, that previously free domain name org.ua will soon become a paid one for common users. Damn. It seems several historical web-sites supported by me have to die.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

SpiderSometimes it's needed to parse something with joomla plugins. For example, you are changing a module template and want it's content to be parsed by plugins. Or you write your own component.

echo JHTML::_('content.prepare',$text_to_be_parsed);

This is the way I used when I was young and silly:

Subcategories

General Joomla FAQ based on own experience.
Some linux tips just not to forget.
FaLang translation system by Faboba
Електронна бібліотека «Exlibris»: історичні дослідження, мемуаристика, публіцистика, художня література Українська етнографія: книги, курси лекцій, статті й матеріали, мапи, фотоальбоми, веб-ресурси Правителі України: портрети, життєписи, матеріали Твори Адріана Кащенка: романтика козацьких часів Народна війна 1917-1932

See a typo?

Select the text block and press

CTRL+Enter

Comments

  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 11:45
    The fields %TO_NAME% and %TO_USERNAME% are empty

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 11:43
    My fault, I made it

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 30.06.2019 10:46
    I did. Now I'm asking me how to put the surename into the email... :-|

    Read more...

     
  • NavigationAry - navigate between Joomla menu items like between articles using "prev - next"

    Berndi Berndi 29.06.2019 15:59
    I also miss content in %TO_NAME%

    Read more...

     
  • NotificationAry - get emails on Joomla content is submitted, added or changed

    Berndi Berndi 29.06.2019 15:15
    Hi gruz, I have the problem, that when I use the %AUTHOR% tag, the plugin dosen't send the author ...

    Read more...