Heatseeker Posted September 2, 2012 Share Posted September 2, 2012 Hi Thank s for the quick response. Whilst amending the image size gives the desired effect on the front page it has also affected the images when browsing a category... the images are now too big here, they overlap the product text description. So I'm back to smallish images unfortunately. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted September 3, 2012 Author Share Posted September 3, 2012 You can change the code to fix the image size. Find this line in includes/modules/front_page/scroller.php: $body_text .= ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_data['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $products_data['products_image'], $products_data['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, ' style="padding: 0 ' . MODULE_FRONT_PAGE_SCROLLER_IMAGE_PADDING . 'px;" width="100%"') . '</a>'; Change the SMALL_IMAGE_WIDTH or SMALL_IMAGE_HEIGHT to the number you want. I recommend that you change only one, and replace the other with '' (two single quotes) to avoid distorting the images. 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...
Heatseeker Posted September 3, 2012 Share Posted September 3, 2012 Worked a treat... thanks for your assistance Jim Quote Link to comment Share on other sites More sharing options...
pvoce Posted September 13, 2012 Share Posted September 13, 2012 I've run into the dreaded "Call to a member function getBlocks() on a non-object in\..\catalog\admin\index.php on line 251" when entering Admin Dashboard. The site itself still runs, as well as the features. I have ensured that both instances of osc_template.php contain the block code, and ensured that the index.php has the added "getBlocks" call. I am sure it is something small, so has anyone else encountered this issue? Thank you for your time and patience. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted September 13, 2012 Author Share Posted September 13, 2012 That's usually the result of uploading the catalog/includes/template_top.php to catalog/admin/includes/template_top.php. 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...
pvoce Posted September 13, 2012 Share Posted September 13, 2012 That's usually the result of uploading the catalog/includes/template_top.php to catalog/admin/includes/template_top.php. Regards Jim I've checked both the catalog/admin/includes/template_top.php and the catalog/includes/template_top.php, with the non-admin file containing the "$oscTemplate->buildBlocks();" call. I've renamed the admin template_top.php as a .bak file, which cratered the site, so I'm thinking I still need both. Everythibng I have 2.3.2 and above. Should I be looking for something in particular, such as a particular call statement or maybe a missing file? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted September 13, 2012 Author Share Posted September 13, 2012 Check that your catalog/admin/includes/template_top.php does not contain $oscTemplate->buildBlocks(); If it does, replace the file. If it does not, search all of your admin files for that string. 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...
pvoce Posted September 13, 2012 Share Posted September 13, 2012 (edited) Thank you for your patience. The only place I have that call ($oscTemplate->buildBlocks(); ) mentioned is the ..\catalog\includes\template_top.php. Nothing in any admin files. Where I am seeing the error is when I log into Dashboard. I can still navigate and utilize the other admin functions. Would this narrow it down a bit? Edited September 13, 2012 by pvoce Quote Link to comment Share on other sites More sharing options...
♥kymation Posted September 13, 2012 Author Share Posted September 13, 2012 The error message says that the problem is in catalog/admin/index.php on line 251. The stock file only has 106 lines, so either you have made a lot of changes to that file or you have the wrong file in that location. In either case, check that file. If you can't find the problem, post ~20 lines around that location. 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...
pvoce Posted September 15, 2012 Share Posted September 15, 2012 I went ahead and did a "reinstall", and the problem apparently "fixed" itself, which usually means *I* corrupted something:) Thanks for your patience and assistance. Quote Link to comment Share on other sites More sharing options...
HobbesBS Posted September 23, 2012 Share Posted September 23, 2012 Hello all, first, thanks for that great Contrib. My Question is, is there a way to design all Modules, that they will look like the same as sites in my store? When yes, who i find the php files to edit?? Greets Hobbes Quote Link to comment Share on other sites More sharing options...
HobbesBS Posted September 23, 2012 Share Posted September 23, 2012 (edited) Hello all, first, thanks for that great Contrib. My Question is, is there a way to design all Modules, that they will look like the same as sites in my store? When yes, who i find the php files to edit?? Greets Hobbes I have forgot, what i have to edit are the heading titles, with a image in backgroung and i must have boxes into feutured products, specials,etc. I hope everyone have a solution for me. Greets Hobbes Edited September 23, 2012 by HobbesBS Quote Link to comment Share on other sites More sharing options...
♥kymation Posted September 23, 2012 Author Share Posted September 23, 2012 The modules are styled the same way as your boxes: using the osCommerce theme. Use Themeroller to modify the theme. Backgrounds can be added to your stylesheet.css. The rest is covered in the User's Manual; please read it. 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...
karen0718 Posted September 27, 2012 Share Posted September 27, 2012 For this addition, I have downloaded a file ending with ".tar.gz" How do I open this file? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted September 27, 2012 Author Share Posted September 27, 2012 Most operating systems have an Archive tool of some sort. If yours doesn't recognize GZIP files, there are plenty of free utilities that will. I recommend 7zip for Windows machines, but there are many others that will work as well. 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...
hobievi Posted September 28, 2012 Share Posted September 28, 2012 Hello. In admin-> scroller module, i choose Featured but still i don't see "Scroller Product #n." drop down lists in the right side edit menu to choose featured products as instructed in the guide? Thanks. Yavuz Quote Thanks, Yavuz Link to comment Share on other sites More sharing options...
♥kymation Posted September 28, 2012 Author Share Posted September 28, 2012 That feature depends on admin/includes/functions/modules/front_page/features.php, so I'm guessing that file is missing. 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...
hobievi Posted September 28, 2012 Share Posted September 28, 2012 File is there. Also when i check featured module in front-page, drop down lists are there (Featured Product #1, 2....). However, they are missing under Scroller module :( I also revised the code as below to give a try, still right column doesnt have the Scroller products function keys() { $keys = array (); $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_SORT_ORDER'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_STATUS'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_MODULE_HEIGHT'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_IMAGE_PADDING'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_AUTOSCROLL'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_AUTOSCROLL_DIRECTION'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_HOTSPOTS_VISIBLE'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_HOTSPOTS_VISIBLE_TIME'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_AUTOSCROLL_STEP'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_AUTOSCROLL_INTERVAL'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_MANUAL_SCROLL_STEP'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_MANUAL_SCROLL_INTERVAL'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_MOUSEDOWN_SPEED'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_MAX_DISPLAY'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_PRODUCTS_TYPE'; $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_PRODUCTS_ORDER'; for ($id = 1; $id <= 10; $id++) { $keys[] = 'MODULE_FRONT_PAGE_SCROLLER_PRODUCT_' . $id; } return $keys; } What can i check more? Quote Thanks, Yavuz Link to comment Share on other sites More sharing options...
♥kymation Posted September 28, 2012 Author Share Posted September 28, 2012 That's a bug. Thanks for pointing me in the right direction. Here's a new version of the scroller module for you to try. Please let me know if that solves your problem. 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...
hobievi Posted October 1, 2012 Share Posted October 1, 2012 Now it works. Thanks. Is it possible to put pricing and product title into the scroller? Quote Thanks, Yavuz Link to comment Share on other sites More sharing options...
♥kymation Posted October 1, 2012 Author Share Posted October 1, 2012 It's possible but it looks bad, so I didn't include that option. You'll have to modify the code yourself if you want to do that. 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...
carbonfiberdiy Posted November 20, 2012 Share Posted November 20, 2012 Hello, after installing the modular addon i'm having problems with the display of my subcategory pictures. Instead of having the subcategories pictures being neatly arranged in rows and columns, they are now one long list. I've read through this entire thread and no one else seems to have had the same problem. I tred playing with the style sheet in ext/modules/frontpage/category_images with no luck. Any idea what's going on? Take a peek here to see what i mean.... http://jewellerytalks.co.uk/index.php?cPath=55 Quote Link to comment Share on other sites More sharing options...
♥kymation Posted November 20, 2012 Author Share Posted November 20, 2012 Your page has two HTML tags which will confuse some browsers. Get rid of the second one. You also have a lot of extra Javascript and stylesheets that may be interfering with the normal jQuery scripts and styles. Try commenting out or removing the extras and see what happens. Regards JIm carbonfiberdiy 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...
carbonfiberdiy Posted November 21, 2012 Share Posted November 21, 2012 Your page has two HTML tags which will confuse some browsers. Get rid of the second one. You also have a lot of extra Javascript and stylesheets that may be interfering with the normal jQuery scripts and styles. Try commenting out or removing the extras and see what happens. Regards JIm Can you point me to which page I should be looking at to remove the extra html tags? Is this in the index.php file? Still a little confused. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted November 21, 2012 Author Share Posted November 21, 2012 The head section of every page is generated by /includes/template_top.php. Regards Jim carbonfiberdiy 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...
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.