Re: Recently Viewed Mod
Quote:
That happen with me, but because didn't want to work anyways on the left side from home.tpl only above, middle, right, and bottle. Never on left. |
Re: Recently Viewed Mod
pegpub and others,
Quote:
First of all, install the mod as outlined in Post #1 and placing the include recently_viewed.tpl anywhere in the left column in your home.tpl file. Then create a file by copying the code below and name it recently_viewed_2.tpl and place it in the skin1/customer/main/ folder. Code:
Code:
Code:
NOTE: This modification is not needed if you place the Recently Viewed mod on the right column or in the middle column. - MoonDog - |
Re: Recently Viewed Mod
Moondog,
Thank you very much. Works like a charm now. :D:D:D |
Re: Recently Viewed Mod
pegpub,
Quote:
- MoonDog - |
Re: Recently Viewed Mod
Works for me too ( and also with XC SEO installed ).
Thanks a lot for this great mod. |
Re: Recently Viewed Mod
Quote:
Thanks for the update. This is working fine except i am still getting nullnullnull under the prices. Still got threads to read through so this may of been fixed :) lets hope so. |
Re: Recently Viewed Mod
congiothoang,
I'm happy to see you got it working. mike_turbo, Quote:
Find this code in recently_viewed.tpl: Code:
Code:
Hopefully as a longshot this will help. - MoonDog - |
Re: Recently Viewed Mod
hi thanks.
Still not working. |
Re: Recently Viewed Mod
Very good MOD THANKS MoonDog,
Every thing working but i am getiing $ sign for price how to change to ё. Many THANKS |
Re: Recently Viewed Mod
eaglemobiles,
Quote:
Code:
Code:
- MoonDog - |
Re: Recently Viewed Mod
Thanks for sharing this great mod, MoonDog!
I'm using a commercial recently viewed mod, which is working fine, but doesn't remember the recently viewed products when a customer returns to the site. Any idea if your mod could work with version 4.0.x? I'm trying to implement it, but only one thumb (with the correct product name and price) is displayed. Furthermore, it will not always show the last viewed product and after closing and opening the browser I get the message that there are no recently viewed items.. Looks like a cookie issue, as far I can tell... 8O Any idea how to solve this? And would it be possible to display more recently viewed products, or is four the limit? Thanks again! :-) |
Re: Recently Viewed Mod
The nullnullnull disapears from the list once i view another item :) when i have viewed 4 all of the null goes walkies
|
Re: Recently Viewed Mod
why cant this use products.tpl or products_t.tpl and be in the center of the page if required
|
Re: Recently Viewed Mod
Hi Moondog
Quick question - We were using this mod for a while on the right hand side and it worked well. We recently re-added a tabbed product menu (in product.tpl) and now the recently viewed is a bit sparadic on what it shows. Any ideas how to fix this or should we look at the left hand side menu code (but try and get it to work on the right) I'm sure its just something silly. Thanks |
Re: Recently Viewed Mod
is there a reason the product image is used instead of the thumbnail image?
|
Re: Recently Viewed Mod
this is great, thanks. this mod works in 4.0.16.
thanks for a great mod!!! |
Re: Recently Viewed Mod
Quote:
That's great! Did you just follow the instructions or did you made any changes to the code? I can't get it working properly in 4.0.12... Maybe it's the tabbed menu I'm using on the productpage, cause 01bodyjewellery also seems to have problems after re-adding a tabbed menu? |
Re: Recently Viewed Mod
i had to change text colors, and i changed the price displayed to be the lowest wholesale price of the item, instead of the full price. i also resized the thumbnail. i dont have the tabbed menus, that may be why it is working well.
|
Re: Recently Viewed Mod
Thanks for letting me know, razorblade.
Seems that the tabbed menu is the reason that this mod won't work properly (for me)... :( |
Re: Recently Viewed Mod
Could anyone to pack this mod and make an installation package? If setting up some parameters inside Admin area it will be great. For example the number of products to be shown, to show or not the product image, price
Thanks. |
Re: Recently Viewed Mod
I can see the mod there, but it doesn't show any of my products :(
216.75.30.97 |
Re: Recently Viewed Mod
Really great mod Moondog!
I'm having a problem with my thumbnail images show up. I'm getting the default image instead. Q: Where is this variable generated: "$product.tmbn_url" this in the javascript in the product.tpl I'm looking for an alternative to get the thumbnail up. Metal-X |
Re: Recently Viewed Mod
For the thumbnail image instead of the larger one use:
prodImage='{include file="product_thumbnail.tpl" productid=$_imageid|default:$product.productid image_x=$product.tmbn_x|default:$config.Appearance .thumbnail_width image_y='100' product=$product.product}'; I also added code to the bottom of products.tpl that shows the categories in the recently viewed list. <script type="text/javascript"> var p0=('<a href="{$http_location}/home.php?cat={$cat}"><br/><b>{$current_category.category}</b></a><br /><br />'); </script> Thanks for the code ---- Jeanne 4.1.8 www.jardinediapers.com |
Re: Recently Viewed Mod
Quote:
me too, any help is appreciated!! |
Re: Recently Viewed Mod
Moondog,
Thanks for the mod. It works great. Jeanne, Thanks for the category inclusion. Do you know how I can show the category image as well? Cheers, Colin |
Re: Recently Viewed Mod
I just recently put this mod on our x-cart.. i really like the feature.. but I dont know if my computer isnt loading the page all the way or if there is a problem with the code.. but the picture wont show up in the recently viewed box.. you can visit my site at the link below...
www.813motoring.net |
Re: Recently Viewed Mod
please someone or moondog help me.. please check out my site.. picture wont show up and im gettin the $ sign.. please help!
|
Re: Recently Viewed Mod
Hi 813motoring,
I went to your site and noticed that your using https:// throughout your whole site. I keep getting a 'Securtiy Information' popup box when browsing with IE Explorer. This https:// issue might be causing the problem of your images not showing. Go to this thread http://forum.x-cart.com/showthread.php?t=37614&highlight=secure+image and read carpeperdiem's reply on post #4. Hopefully this might solve your problem. - MoonDog - |
Re: Recently Viewed Mod
Thanks heaps for the link to that post moondog...it has fixed a problem that has been bugging me for a long time. Cheers.
|
Re: Recently Viewed Mod
Quote:
thanks moondog.. i will try it out.. i guess there is settings on x-cart for this? would i just change them around to the right ones and hope it works then? I will def. let you know how it works out thanks again |
Re: Recently Viewed Mod
I am having the same problem with nullnullnull, you can see an example here www.tilehq.co.uk
I would appreciate any help. Thanks, Colin |
Re: Recently Viewed Mod
Quote:
Hey moondog.. soo i changed the things that carpeperdiem stated in that thread... which was... Use HTTPS for users' login and registration: CHECKED Use secure login form on a separate page (HTTPS): UN-CHECKED Do not redirect customers from HTTPS to HTTP: UN-CHECKED that is what you were tellin me to do right? anyways i changed it to exactly what he put and i still am not gettin the pictures to show up? Let me know what your next thoughts are.. |
Re: Recently Viewed Mod
813motoring,
The only other thing that I can think of as to why the images are not showing up is the fact that you are pulling your images from the database instead of from the filesystem. Since I don't store my images on the database I'm not really sure as to what code to use to display the images. You might have to search the forums to find out how to accomplish this or maybe someone who has installed this mod using images from the database can post an answer here. - MoonDog - |
Re: Recently Viewed Mod
MrSoft,
I don't use category images but you could try prodImage='{<img src="{if $current_category.icon_url}{$current_category.icon _url}{else}{$xcart_web_dir}/image.php?id={$cat}&type=C{/if}" alt="{$current_category.name}" style="float: left"/>}'; You would have to add the '+prodImage+' back in to the var p0=('<a href="{$http_location}/home.php?cat={$cat}"><br/><b>{$current_category.category}</b></a><br /><br />'); Like this var p0=('<a href="{$http_location}/home.php?cat={$cat}">'+prodImage+'<br/><b>{$current_category.category}</b></a><br /><br />'); You also have two </head> 's on your pages. edited to add: I forgot about the page views when you select a manufacturer so I changed what I added to the bottom of products.tpl I also decided to use the location information so that my subcategories made more sense. I'm not using the image for this and I use a different page for the search results. You would have to change this is you wanted to include recently viewed search results. {if $cat le '0'} <script type="text/javascript"> var p0=('<a href="{$http_location}/manufacturers.php?manufacturerid={$manufacturer.ma nufacturerid}"><br/><b>{section name=position loop=$location step=-1}{$location[position].0|escape}{if not %position.last%} - {/if}{/section}</b></a><br /><br />'); </script> {else} <script type="text/javascript"> var p0=('<a href="{$http_location}/home.php?cat={$cat}"><br/><b>{section name=position loop=$location step=-1}{$location[position].0|escape}{if not %position.last%} - {/if}{/section}</b></a><br /><br />'); </script> {/if} |
Re: Recently Viewed Mod
813motoring,
OK, let's try this. For those of you that have your images located in the database instead of the filesystem and your images are not showing up, do the following: In customer/main/product.tpl find the code that you placed there: Code:
and replace it with the following code: Code:
Then find the following code you placed in skin1.css: Code:
and comment out or delete the line midlle line, so it looks like this: Code:
Hopefully that should take care of the problem. Also make sure you clear your cache or use your refresh button if the images look distorted. - MoonDog - |
Re: Recently Viewed Mod
Hi,
Great mod. Thanks so much. Works great!! For some reason the header apperas twice on my site: recently viewed x2 you can see it here: www.4-legged.com couldn't figure out what i did wrong. Another thing , where can i change the color of the header caption to white, as all my headers are in White. Thanks again Tammy |
Re: Recently Viewed Mod
Hi Tammy,
It think you may be using another menu.tpl file. Find the last line of code in customer/main/recently_viewed.tpl : Code:
{include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title="Recently Viewed" menu_content=$smarty.capture.menu} And change it to this: Code:
{include file="NameOfMenuFileYourUsing.tpl" menu_title="Recently Viewed" menu_content=$smarty.capture.menu} Just replace the blue file name above with the name of the file that you are using for the other menu boxes. Hope that works. - MoonDog - |
Re: Recently Viewed Mod
Thanks MoonDog for your reply.
As far as I know i'm using the same menu.tpl as all , But to be on the safe side, i'll check it again with the guy who did some adjustment to the site. Thanks O:) Tammy |
Re: Recently Viewed Mod
Tammy,
One way to find out to see what .tpl file your using is to open the skin1/customer/categories.tpl file and look at the very last line of code. it should start like this: {include file="?????.tpl The question marks is the name of your menu file. Or just copy the last line of the skin1/customer/categories.tpl file and copy it over the last line of code of the customer/main/recently_viewed.tpl And then edit 'menu_title' of that line to say: menu_title="Recently Viewed" Hope that helps, - MoonDog - |
Re: Recently Viewed Mod
MoonDog,
I tried to replace menu_title="Recently_viewed" it's not working. I am sure you understand much more them i do, so here is the cods Here is the skin1/customer/categories.tpl: {/capture} {include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title="Recently Viewed" menu_content=$smarty.capture.menu} Here is your cod: {/capture} { include file="menu.tpl" dingbats="dingbats_a.gif " menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding} |
All times are GMT -8. The time now is 05:16 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.