♥kymation Posted February 4, 2014 Author Share Posted February 4, 2014 (edited) It will always show that test. That is the instruction for entering data in that field. The data in the field will only show when you edit the module. You have probably corrupted the database entry for that field. Try uninstalling and reinstalling the module. If that doesn't work, you will have to clean the database using your database management tool. When you get that fixed, try using this version of your text: We do hope that you will enjoy your visit to our new store. <br/>. We have a wide range of lovely things for the Day of your life. If we don\\\'t have what you want please get in touch with us.<br/> We hope to see you again. Have a lovely Day.<br/> Regards Jim Edit: Forum harked up the code again. Edited February 4, 2014 by kymation Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
mhsuffolk Posted February 5, 2014 Share Posted February 5, 2014 When I first installed this addon it behaved as you describe I.e you could not access and edit what you had already created. When I updated the addon to the newest version it now works correctly. Have you got the version from 15th May 2013? Quote Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions. Link to comment Share on other sites More sharing options...
Guest Posted February 5, 2014 Share Posted February 5, 2014 When I first installed this addon it behaved as you describe I.e you could not access and edit what you had already created. When I updated the addon to the newest version it now works correctly. Have you got the version from 15th May 2013? Yes Quote Link to comment Share on other sites More sharing options...
Guest Posted February 5, 2014 Share Posted February 5, 2014 Thanks Jim I will try what you suggest. Martin Quote Link to comment Share on other sites More sharing options...
Guest Posted February 5, 2014 Share Posted February 5, 2014 Jim A re-install worked fine. I tried the text you suggested and the only flaw was that the triple slashed word 'don\\\'t' appeared precisely like that on the page. Simple expedient; expand word(s) to 'do not'! Thanks Martin Quote Link to comment Share on other sites More sharing options...
auster Posted February 16, 2014 Share Posted February 16, 2014 Great Addon, setup without any problems. Q. Is it possible to increase the number of featured items from 10 to 20 or more? Thanks Keiron Quote Link to comment Share on other sites More sharing options...
♥kymation Posted February 16, 2014 Author Share Posted February 16, 2014 It's possible, but you would have to modify the code. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
qspider Posted February 19, 2014 Share Posted February 19, 2014 (edited) Hi Jim, I've installed the modular front page on my cart and it works great. I'm using the featured products add on and it works perfectly for what I need. Now I just need to change the way it looks to align and display properly like the other product listings on different pages instead of the generic look osc uses. I'm not sure how to go about this. Do I edit the featured.php file? To see what I'm talking about you can visit my site and look at the home page and then pick a category and you'll see the product listings are completely different looking with a add to cart button. http://192.163.206.252/~timerco1/ I've tried looking through this topic for hints but I haven't found anything yet. Edited February 19, 2014 by qspider Quote Link to comment Share on other sites More sharing options...
♥kymation Posted February 19, 2014 Author Share Posted February 19, 2014 I would start with adding a class to the Featured Products module, then use some CSS to change the look. Find this line in includes/modules/front_page/fp_featured.php: $featured__content .= ' <div class="contentText">' . PHP_EOL; and change it to $featured__content .= ' <div class="contentText featured_products">' . PHP_EOL; and then add the featured_products{} class to your stylesheet. The whole thing uses a table for formatting. This is ripped straight from the old Featured Products addon that has been around since the osCommerce 2.2 days. It really should be replaced by DIVs and some modern CSS. I should do that someday. If I ever find the time. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
qspider Posted February 22, 2014 Share Posted February 22, 2014 I would start with adding a class to the Featured Products module, then use some CSS to change the look. Find this line in includes/modules/front_page/fp_featured.php: $featured__content .= ' <div class="contentText">' . PHP_EOL; and change it to $featured__content .= ' <div class="contentText featured_products">' . PHP_EOL; and then add the featured_products{} class to your stylesheet. The whole thing uses a table for formatting. This is ripped straight from the old Featured Products addon that has been around since the osCommerce 2.2 days. It really should be replaced by DIVs and some modern CSS. I should do that someday. If I ever find the time. Regards Jim Thanks! I was able to change the design. Quote Link to comment Share on other sites More sharing options...
DiablOCorsa Posted February 27, 2014 Share Posted February 27, 2014 I'm currently using this module (http://addons.oscommerce.com/info/7626), but the scroller scrolls down only on pictures, not text. How can I fix this? Due to the stilefloat.css I can't place the text below the picture, it always appears next to the pic. Even if the code goes like this: while ($products_data = tep_db_fetch_array($products_query)) { $body_text .= '<table border="1"><tr><td><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_data['products_id']) . '"><img src="http://konyhatizezercikk.hu/kepek/'. $products_data['products_image'].'" width="300" height="300" title="'. $products_data['products_name'].'" alt="'. $products_data['products_name'].'" style="padding: 0 ' . MODULE_FRONT_PAGE_SCROLLER_IMAGE_PADDING . 'px;"></td></tr><tr><td>'.$products_data['products_name'].'<br /></td></tr><tr><td>' . $currencies->display_price($products_data['products_price'], tep_get_tax_rate($products_data['products_tax_class_id'])) . '</a></td></tr></table>'; } Looking forward to your answer. Quote Link to comment Share on other sites More sharing options...
DiablOCorsa Posted February 27, 2014 Share Posted February 27, 2014 I'm currently using this module (http://addons.oscommerce.com/info/7626), but the scroller scrolls down only on pictures, not text. How can I fix this? Due to the style $header .= '#scroller div.scrollableArea * {' . "\n"; $header .= ' position: relative;' . "\n"; $header .= ' float: left;' . "\n"; $header .= ' margin: 0;' . "\n"; $header .= ' padding: 0;' . "\n" I can't place the text below the picture, it always appears next to the pic. Even if the code goes like this: while ($products_data = tep_db_fetch_array($products_query)) { $body_text .= '<table border="1"><tr><td><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_data['products_id']) . '"><img src="http://konyhatizezercikk.hu/kepek/'. $products_data['products_image'].'" width="300" height="300" title="'. $products_data['products_name'].'" alt="'. $products_data['products_name'].'" style="padding: 0 ' . MODULE_FRONT_PAGE_SCROLLER_IMAGE_PADDING . 'px;"></td></tr><tr><td>'.$products_data['products_name'].'<br /></td></tr><tr><td>' . $currencies->display_price($products_data['products_price'], tep_get_tax_rate($products_data['products_tax_class_id'])) . '</a></td></tr></table>'; } Quote Link to comment Share on other sites More sharing options...
♥kymation Posted February 27, 2014 Author Share Posted February 27, 2014 The scroller module is only designed for images. You will have to recode it to work with text, and I won't be able to do that for you. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Flaggi Posted March 1, 2014 Share Posted March 1, 2014 Could you release an update that enables show products by category in the scroller or maybe a setting to exclude some categories from the "show all" alternative? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 1, 2014 Author Share Posted March 1, 2014 I could. I'll add that to the wish list. Don't expect it anytime soon. You could also set the module to Featured and select the products that it show. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Flaggi Posted March 2, 2014 Share Posted March 2, 2014 Looking forward to a possible release. Thanks for the reply Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted March 11, 2014 Share Posted March 11, 2014 @@kymation Great Addon, setup without any problems. Q. Is it possible to increase the number of featured items from 10 to 20 or more? your answer was It's possible, but you would have to modify the code. Regards Jim could you be a bit more specific about the area or code that limits the output to 10 inside the admin area? inside the includes/modules/front_page/fp_featured.php on line 22/23 there is this following code // Set the number of featured products in case the constant is not defined var $featured_products = 10; changing 10 to 12 or any other number has no effect. i mean i can say, show 20 items but i can only insert max. 10 items inside the admin area. Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted March 11, 2014 Share Posted March 11, 2014 (edited) @@kymation Never mind, found it! *(if module has not been installed yet!) Line 135, change the "configuration_value" from 10 to 12 (in my case). I installed the module once and so it didn't accept any alternation (even after removing and re-installing) so i went inside the database and changed it there. inside the "configuration" table -> "configuration_title" (Max Featured Products) -> "configuration_value". Thank you. Edited March 11, 2014 by Tsimi Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 11, 2014 Author Share Posted March 11, 2014 @@Tsimi Sorry, I was remembering an older version of that module. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
opus_uno2001 Posted April 4, 2014 Share Posted April 4, 2014 Is there a link somewhere that I can see this in action? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted April 4, 2014 Author Share Posted April 4, 2014 It looks just like this. Or completely different. It's modular, so you get to choose what it looks like. Regards Jim opus_uno2001 1 Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
opus_uno2001 Posted April 4, 2014 Share Posted April 4, 2014 It looks just like this. Or completely different. It's modular, so you get to choose what it looks like. Regards Jim Sorry Jim.. I clicked on your footer jQuery Banner Rotator link and didn't realize that I wound up in the MFP support thread.. I really am more curious about the jQBR. Thx Quote Link to comment Share on other sites More sharing options...
L. Haase Posted April 20, 2014 Share Posted April 20, 2014 I have installed this module on a different site with no issues however I am having an issue with it after installing on a different site. The issue I am having is in the Featured Products area. I am having the same problem of only 6 products being able to be chosen for display through the admin area no many how many times, and in how many places (fp_featured.php & phpMyAdmin through the configuration area as posted above) I make the change. I did have a different "Featured Products" module installed before I remembered this module had the feature I wanted. I completely removed the other module thinking there might be some type of coding conflict but that didn't work either. I don't know which file(s) I should post here for examination so any suggestions would be welcome as would assistance. I truly find this module useful in my sites. Quote Link to comment Share on other sites More sharing options...
L. Haase Posted April 20, 2014 Share Posted April 20, 2014 UPDATE: I dropped all my tables (this is essentially a new installation anyway), reuploaded the new installation database.sql file, added the query for the 1 module I have that required it and reinstalled all modules that automatically writes to the database. I now see the 12 products however only 6 products have the option to make a selection. Additionally, there is no description text next to the last 6 fields, just blank fields. It is essentially the same problem as before, only 6 options can be chosen. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted April 20, 2014 Author Share Posted April 20, 2014 That's a bug in the latest version. Find this line in the fp_featured.php: tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Max Featured Products', 'MAX_DISPLAY_FEATURED_PRODUCTS', '10', 'Set the maximum number of featured products to allow.', '6', '222', now())"); and change it to this: tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Max Featured Products', 'MAX_DISPLAY_FEATURED_PRODUCTS', '10', 'Set the maximum number of featured products to allow.', '3', '222', now())"); Then uninstall the module. Go to your database management tool and search the configuration table for MAX_DISPLAY_FEATURED_PRODUCTS and delete all rows found. Then go back to your Admin and reinstall the module. You should now see an entry in your Admin for Max Featured Products under Configuration >> Maximum Values. Set that to the number of products that you want to feature, then uninstall and reinstall the module again. It should now work. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.