♥kymation Posted July 28, 2013 Author Share Posted July 28, 2013 The front page modules are designed to be installed and modified in your Admin. Some of the modules have support files, including stylesheets, in the /ext/modules/front_page/ folder. I find that Firebug in Firefox is a lot of help in finding the styles that apply to an element. All of the modules are designed to be full-width, since this is what most people do. You would have to modify the code in the module to add a 960 grid class (or similar) to restrict the width. For example: $featured__content .= ' <div class="contentText">' . PHP_EOL; could be changed to $featured__content .= ' <div class="contentText grid_4 alpha">' . PHP_EOL; or whatever you want to change the width. I've done this with some newer modules, but you're the first to request it for the Front Page modules. 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...
supermario11 Posted August 13, 2013 Share Posted August 13, 2013 Dear Jim I have installed this contrib. But scroller, flex slider and banner rotator don't work. Scroller I can see, but not scrolling and fles and banner show only blank. What do I do wrong? Thx in advance Quote Link to comment Share on other sites More sharing options...
♥kymation Posted August 13, 2013 Author Share Posted August 13, 2013 It sounds like you are missing some Javascript files. Check that you have uploaded all of the files in the ext/ directory. 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...
supermario11 Posted August 13, 2013 Share Posted August 13, 2013 It sounds like you are missing some Javascript files. Check that you have uploaded all of the files in the ext/ directory. Regards Jim I have check that of course, files are there Quote Link to comment Share on other sites More sharing options...
♥kymation Posted August 13, 2013 Author Share Posted August 13, 2013 I'm just guessing here without anything to look at. You can PM me if you don't want to post a link. 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...
supermario11 Posted August 13, 2013 Share Posted August 13, 2013 I'm just guessing here without anything to look at. You can PM me if you don't want to post a link. Regards Jim Hi Jim, I found the solution. It was another contrib that was disturbing it. As always thx for the support. Grtz Mario Quote Link to comment Share on other sites More sharing options...
smoothie Posted August 15, 2013 Share Posted August 15, 2013 Hi First off thanks for a great mod works really well and easy to install. I was wondering if its possible to add more than one product scroller to the front page module? If it is possible any information to push me in the right direction would be appreciated Thanks in advance Quote Link to comment Share on other sites More sharing options...
♥kymation Posted August 15, 2013 Author Share Posted August 15, 2013 Read the instructions for cloning a box. The front page modules are very similar to box modules. 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...
alexman Posted August 15, 2013 Share Posted August 15, 2013 I've installed french language and on the main page it appears: Bienvenue chez ...my site... Title ao�t How can I corect the title?I've searched on include/language/french/index.php, but is not there. I've also looked in admin page/modules/front page, but from here I can only remove the title: French Title Title %s Quote Link to comment Share on other sites More sharing options...
♥kymation Posted August 15, 2013 Author Share Posted August 15, 2013 The title is in /includes/language/french/index.php, assuming that your language is installed in a directory named french. The line you are looking for will look something like this: define('HEADING_TITLE', 'Bienvenue chez ' . STORE_NAME); 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...
mvanderhoff Posted September 2, 2013 Share Posted September 2, 2013 (edited) Nevermind. Great mod! Happy labor day everyone! Edited September 2, 2013 by mvanderhoff Quote Link to comment Share on other sites More sharing options...
jcannaveno Posted September 9, 2013 Share Posted September 9, 2013 @@kymation Jim, I'm having a problem with the Text Main module of this addon. I am trying to embed a YouTube video in this portion of my front page. For a while it worked fine. However now when i try to embed a video it keeps adding slashes to the html code for the embedded video causing it to break. It seems to be adding the slashes before quotation marks. Any ideas why this might be happening? Thanks, John Quote Link to comment Share on other sites More sharing options...
♥kymation Posted September 9, 2013 Author Share Posted September 9, 2013 Try this quick fix in includes/modules/front_page/fp_text_main.php. Find this line: $body_text .= constant( 'MODULE_FRONT_PAGE_TEXT_MAIN_' . strtoupper( $language ) ) . PHP_EOL; and replace it with: $body_text .= stripslashes( stripslashes( constant( 'MODULE_FRONT_PAGE_TEXT_MAIN_' . strtoupper( $language ) ) ) ) . PHP_EOL; 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...
jcannaveno Posted September 9, 2013 Share Posted September 9, 2013 @@kymation Try this quick fix in includes/modules/front_page/fp_text_main.php. Find this line: $body_text .= constant( 'MODULE_FRONT_PAGE_TEXT_MAIN_' . strtoupper( $language ) ) . PHP_EOL; and replace it with: $body_text .= stripslashes( stripslashes( constant( 'MODULE_FRONT_PAGE_TEXT_MAIN_' . strtoupper( $language ) ) ) ) . PHP_EOL; Regards Jim Unfortunately this did not solve the problem. It's still adding slashes before each quotation mark. Three slashes to be exact. " becomes \\\" Quote Link to comment Share on other sites More sharing options...
♥kymation Posted September 9, 2013 Author Share Posted September 9, 2013 That code should remove the slashes before your text is displayed. I'll have to check this -- as soon as I have some free 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...
jcannaveno Posted September 9, 2013 Share Posted September 9, 2013 OK. Thank you for you time. Quote Link to comment Share on other sites More sharing options...
renzo.verschoor Posted September 15, 2013 Share Posted September 15, 2013 Hi Jim, I found the solution. It was another contrib that was disturbing it. As always thx for the support. Grtz Mario Hi Mario, I got the same issue, could you advise which add-on was disturbing it?? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
CosmicA Posted October 5, 2013 Share Posted October 5, 2013 Hi Mario, I got the same issue, could you advise which add-on was disturbing it?? Thanks in advance. Same here. Modular Front Page is great! But I've tried adding backslashes to the odd apostrophe to counteract this glitch, but no cigar. What is causing this? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted October 5, 2013 Author Share Posted October 5, 2013 The osCommerce code needs three backslashes in front of every protected character (in this case backslashes). 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...
ce7 Posted October 6, 2013 Share Posted October 6, 2013 (edited) @@kymation Hi Jim, Thanks for your Modular Front Page. The new slide module is great, thank you. I have one question, right now this addon is under Modules/Front Page, and we can change all the setting within it. Is there a way that I can have an individual admin infobox call Front Page, and show only the modules I installed. (I mean I made the InfoBox, but how can I link the page to the "modules.php?set=front_page"?) The reason for this is because I want the other admin users to not touch other modules, and with Front Page Box, they know where to change the front page straight away. Lyn Edited October 6, 2013 by ce7 Quote Link to comment Share on other sites More sharing options...
♥kymation Posted October 6, 2013 Author Share Posted October 6, 2013 You can link a new box to modules.php?set=front_page as you said. This will not be secure, since anyone could click out of it to other modules. To make this secure, you would have to make a copy of modules.php and alter it to only see the Front Page modules, then link that from your new box. Regards Jim ce7 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...
ce7 Posted October 6, 2013 Share Posted October 6, 2013 (edited) You can link a new box to modules.php?set=front_page as you said. This will not be secure, since anyone could click out of it to other modules. To make this secure, you would have to make a copy of modules.php and alter it to only see the Front Page modules, then link that from your new box. Regards Jim thank you Jim, will give it a try with your suggestion! Edited October 6, 2013 by ce7 Quote Link to comment Share on other sites More sharing options...
ce7 Posted October 6, 2013 Share Posted October 6, 2013 thank you Jim, will give it a try with your suggestion! Hi Jim, on the modules.php, there is foreach ($cfgModules->getAll() as $m) { , how can I make it just show only front page but not all? Thanks in advance. Lyn Quote Link to comment Share on other sites More sharing options...
♥kymation Posted October 6, 2013 Author Share Posted October 6, 2013 You will probably need to create a new version of admin/includes/classes/cfg_modules.php to look for only that one type of module. Regards Jim ce7 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...
ce7 Posted October 7, 2013 Share Posted October 7, 2013 You will probably need to create a new version of admin/includes/classes/cfg_modules.php to look for only that one type of module. Regards Jim Hi Jim, After one day tried your suggestion, I think I need further help from experts. The way I tried: admin/includes/classes/ make newcfg_modules_fp.php and change all the cfg_modules to cfg_modules_fp admin/includes/modules/cfg_modules copy whole folder and rename to cfg_modules_fp admin/includes/language/english/modules/cfg_modules_fp/ make new cfgm_front_page.php admin/includes/boxes/modules.php copy and rename to modules_fp.php also touch related english.php files (if I just copy the admin/modules.php and did not change anything, then it just show every other modules in the new front page infobox....) because lack of PHP ability, I don't know how to change foreach ($cfgModules->getAll() as $m) { to just select modular front page modules, so I think if I make a second modules and name them with extra _fp, it then should pick up only front page modules, but it doesn't work because I have the error message related to Fatal error: Call to a member function getAll() on a non-object can you please give me some suggestions about my errors? Thanks. Lyn Quote 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.