Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • alissonrodrigo Friend
    #155438

    Boa tarde,
    Pessoal estou tendo problemas em meu template. Uso o Joomla 1.5 + Purity II – Quando os usuários estão navegando as imagens randon do titulo (ja_purity_iiimagesheader) não funciona. apenas quando entro na página de ‘busca’ que elas vontam a funcionar.
    Alguem sabe como resolver?:confused:
    Grato.
    OBS: Desculpe pelo meu ingles.:-[

    aman204 Friend
    #359647

    Can you please change the language to english which is clearly understood by us to help you 🙂

    alissonrodrigo Friend
    #359678

    Good afternoon,
    Personal’m having problems in my template. Using Joomla 1.5 + Purity II – When users are browsing randon images of the title (ja_purity_ii images header) does not work. only when I enter the page ‘search’ it wills to work.
    Anyone know how to solve?
    Thank you.
    PS: Sorry for my english

    Saguaros Moderator
    #359788

    you open the file: templatesja_purity_iilibsja.template.helper.php and find the following code:
    [PHP]

    //use the directory class
    $imgs = dir($img_folder);

    //read all files from the directory, checks if are images and ads them to a list (see below how to display flash banners)
    while ($file = $imgs->read()) {
    if (eregi(“gif”, $file) || eregi(“jpg”, $file) || eregi(“png”, $file))
    $imglist[] = $file;
    }
    closedir($imgs->handle);
    [/PHP]

    replace:
    [PHP]
    $imglist = JFolder::files( $img_folder, (‘.jpg|png|gif’) );
    [/PHP]

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Saguaros 14 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum