Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by Job

  1. No, thats not possible right now, I'm sorry. Right now you have 2 options (regarding this display ways you mention):

    - You turn lightbox off, then you have the rolover effect

    - You turn lightbox on, then you have lightbox


    To get both, like on your link, it will be necessary to "merge" the 2 effects in includes/displayimages.php, taking care not to damage the regular pop up window


    Yes, I know, I have created the webshop I linked to. I thought you might be interested in the way it's done.

  2. To your questions


    1) yes, thats the purpose, to have the lightbox effect for all images, not just the additional

    2) You can not have both, lightbox AND rolover effect, you need to choose this or that.


    To your problem: Please answer me to following questions:

    a) Do you have in your admin --> configuration --> additional images the lightbox entry? Is is switched to "true"?

    b ) Do you have other contributions installed, that affect product_info.php?

    c) Do following: Backup your product_info.php and includes/classes/displayimages.php, and upload the 2 files that are in the package. Then post again and tell me the results


    item 2, both effects: Do you mean like in this site ?

  3. Thank you in advance to anyone who can change popup_add_image.php from Additional Images V2.1 to enable the additional images to open with lightbox




    Found a solution:


    In includes/classes/display_images.php:




    			  <script language="javascript"><!--
    			document.write(\'<a href="' . (!$this->onpagemenu ? 'java script:popupWindow(\\\'' : '') . tep_href_link( $this->linkurl, ($item==0&&$this->groupwithparent=='true'?'pID='.$products_id:'imagesID='.$addimages_images[$item]['id'])) . (!empty($_GET['products_id']) ? '&products_id='.$_GET['products_id'] : '') . (!empty($_GET['cPath']) ? '&cPath='.$_GET['cPath'] : '') . (!$this->onpagemenu ? '\\\')' : '') . '"' . $t_menu_mouseover . '>' . tep_image(DIR_WS_IMAGES . $addimages_images[$item]['image'], addslashes($addimages_images[$item]['desc']), (ADDIMAGES_RESTRICT_PARENT=='false'&&$item==0&&$this->groupwithparent=='true'?'':$addimages_image_width), (ADDIMAGES_RESTRICT_PARENT=='false'&&$item==0&&$this->groupwithparent=='true'?'':$addimages_image_height), 'hspace="5" vspace="5"') . '<br>' . (!empty($addimages_images[$item]['desc'])?addslashes($addimages_images[$item]['desc']):TEXT_CLICK_TO_ENLARGE) . '</a>\');




      <script language="javascript"><!--
    			document.write(\'<a href="images/' . $addimages_images[$item]['image'] . '"target="_blank" rel="lightbox[group]" title="' . addslashes($addimages_images[$item]['desc']) .'">' . tep_image(DIR_WS_IMAGES . $addimages_images[$item]['image'], addslashes($addimages_images[$item]['desc']), (ADDIMAGES_RESTRICT_PARENT=='false'&&$item==0&&$this->groupwithparent=='true'?'':$addimages_image_width), (ADDIMAGES_RESTRICT_PARENT=='false'&&$item==0&&$this->groupwithparent=='true'?'':$addimages_image_height), 'hspace="5" vspace="5"'). '</a>\');



    In product_info.php use


    <script language="javascript"><!--
    document.write('<?php echo '<a href="images/' . $product_info['products_image'] . '"target="_blank" rel="lightbox[group]" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');




    differs. All images will now show in the lightbox-popup (image 1 of........etc)

  4. I have just installed this on a copy of my site and all seems well apart from the following error when visiting administration/header tags seo/page control:-

    Warning: opendir(/XXXXXX/) [function.opendir]: failed to open dir: No such file or directory in /XXXXXXX/admin/includes/functions/header_tags.php on line 15

    Failed to open dir


    any ideas? I have checked the code and can't see any problems.


    Same problem here. In a testshop on the same server, but in subdirectory, everything works 100%. Liveshop however is placed in the root. In admin/includes/functions/headertags.php I put "includes/" after several instances of DIR_FS_CATALOG. Error was gone then, but list of files was not available.

  5. I'm having the exact same problem as well, and I also just installed the Product Extra Fields contribution. Any help on how exactly to go about removing the duplicate alias would be greatly appreciated!


    (and yes, I am using MySQL 5)



     $from_str .= ", " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c";




  6. Hi beardeddone I was wondering if you ever got this problem fixed as I am trying to do the same thing on my site. I want to add a leasing price in on my products. Have you got a link to the finished website?


    Don't know if somebody is still interested in the solution for this problem, but I found it:

    In checkout_proces.php one piece of code is missing, so the right calculation is not possible. Put this:

     $payment = $currencies->price();


    if ($payment_class->code =='installment'){

    and the email will show the right figures.