[Addon} Modular Front Page
#701
Posted 06 July 2012 - 05:06 PM
Sorry but I was out and so I couldn't tell you, that I already done that.
But back to the Banner problem, I see nothing on my homepage. What I am doing wrong? I have to put a new Banner in the admin side?
Thank you and best regards
Marc
#702 ONLINE
Posted 06 July 2012 - 05:18 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#703
Posted 12 July 2012 - 03:11 PM
Warning: buildblocks(includes/languages/bulgarian/modules/front_page/banner_rotator.php) [function.buildblocks]: failed to open stream: No such file or directory in/var/www/html/vhosts/flamingo-toys.com/public_html/toys-commerce/shop/includes/classes/osc_template.php on line 86
How can i fix this ? Tnx in advance
#704 ONLINE
Posted 12 July 2012 - 07:13 PM
When you finish the translation, please provide the files so others may benefit.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#705
Posted 13 July 2012 - 10:11 AM
Just installed your contribution and it all seems to work in one go ( this means something as i am all new to this) , thank you very much for a great contribution and saving me many headaches!!
Gr. Rob
#706
Posted 16 July 2012 - 07:54 AM
what i did, is copying all the new files to the exact directories, and i modified the index.php, then i installed all the front page modules. but none of them appeared on the main page.
also i tried to upload the entire index.php provided with the contribution but no modules appeared.
i appreciate any help or hints.
thX Jim
#707 ONLINE
Posted 16 July 2012 - 03:54 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#709
Posted 17 July 2012 - 11:44 AM
kymation, on 30 October 2011 - 08:34 PM, said:
var $group = 'front_page';to
var $group = 'header_footer_contents';I have used the Categories Images module (with the images turned off) in the Footer as an alternate site navigations system. Works just fine. So if you want a banner rotator in your page header, now that's easy to do.
Regards
Jim
Hi Jim
First thank you for your contribution , works like a charm ( even with a noob like me ;-).
My question is ; can you explain a bit more about putting the category images module into the header of the HFC module as that is exactly what i want to do.
Many thanks in advance,
Gr. Rob
#710
Posted 17 July 2012 - 02:53 PM
I have the "category images module" showing up in the HFC module but i must be missing something as i can not tell it to go anywere , did i miss something here?
Gr, Rob
#711 ONLINE
Posted 17 July 2012 - 05:09 PM
Most modules will not show up if there is nothing for them to show (i.e. the Banner Rotator needs banners to show.) So if you are seeing a blank front page, you need to give whatever modules you have installed something to show. If you just want to verify the installation, install the Text Main module and put some text in it.
@CrazyCarzCustoms
You need to make a few more changes. In the module file, find this code:
if (defined('MODULE_FRONT_PAGE_CATEGORIES_IMAGES_STATUS')) {
$this->sort_order = MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SORT_ORDER;
$this->enabled = (MODULE_FRONT_PAGE_CATEGORIES_IMAGES_STATUS == 'True');
}
and replace it with this:
if ( defined('MODULE_FRONT_PAGE_CATEGORIES_IMAGES_STATUS') ) {
$this->sort_order = MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SORT_ORDER;
$this->enabled = (MODULE_FRONT_PAGE_CATEGORIES_IMAGES_STATUS == 'True');
switch (MODULE_FRONT_PAGE_CATEGORIES_IMAGES_CONTENT_PLACEMENT) {
case 'Left Header' : $this->group = 'header_contents_left';
break;
case 'Center Header' : $this->group = 'header_contents_center';
break;
case 'Right Header' : $this->group = 'header_contents_right';
break;
case 'Header Line' : $this->group = 'header_line';
break;
case 'Left Footer' : $this->group = 'footer_contents_left';
break;
case 'Center Footer' : $this->group = 'footer_contents_center';
break;
case 'Right Footer' : $this->group = 'footer_contents_right';
break;
case 'Footer Line' : $this->group = 'footer_line';
break;
}
}
Then find this code
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Image', 'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_IMAGE', 'True', 'Show the category image in the Categories Images box', '6', '6', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Name', 'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_NAME', 'True', 'Show the category name in the Categories Images box', '6', '7', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Subcategories', 'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_SUBCATEGORIES', 'True', 'Show the subcategories list under each category (Float mode only)', '6', '8', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
and add just after that:
tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Placement', 'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_CONTENT_PLACEMENT', 'Right Header', 'Should the module be loaded in the header or the footer position?', '6', '1', 'tep_cfg_select_option(array(\'Left Header\', \'Center Header\', \'Right Header\', \'Header Line\', \'Left Footer\', \'Center Footer\', \'Right Footer\', \'Footer Line\'), ', now())");
Last, find this code:
$keys[] = 'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_IMAGE'; $keys[] = 'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_NAME'; $keys[] = 'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_SUBCATEGORIES';
and add just after that:
$keys[] = 'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_CONTENT_PLACEMENT;
You will need to remove and reinstall the module for these changes to show up.
Regards
Jim
Edit: Copy-paste errors.
Edited by kymation, 17 July 2012 - 05:11 PM.
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#712
Posted 18 July 2012 - 07:20 AM
kymation, on 17 July 2012 - 05:09 PM, said:
done that with no success, well i have installed many complicated contributions on my website, this 1 is really easy to install but i can' work it out.
do you think there is something to check on the database ?
Thx mate!
#713
Posted 18 July 2012 - 11:00 AM
Thanks for your response.
I have the module working on the frontpage in the header now , so the code worked like a charm.
But it is not showing up on the other pages yet so i think i am still missing something.
I was looking for the $keys line that you showed as the last part in your response but i could only find :
function keys() {
return array (
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SORT_ORDER',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_STATUS',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_FRONT_TITLE',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_BOX_STYLE',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_BOX_MOUSEOVER',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_BOX_COLUMNS',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_IMAGE',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_NAME',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_SUBCATEGORIES',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_CONTENT_PLACEMENT',
);
}
As you can see here the code that you gave me is a bit different from this one at the end , the ; is now a '
Maybe i did this wrong?
Maybe i am looking in the totaly wrong place.........
Can you help me please?
Gr, Rob
#714 ONLINE
Posted 18 July 2012 - 04:42 PM
function keys() {
return array (
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SORT_ORDER',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_STATUS',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_FRONT_TITLE',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_BOX_STYLE',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_BOX_MOUSEOVER',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_BOX_COLUMNS',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_IMAGE',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_NAME',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_SHOW_SUBCATEGORIES',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_CONTENT_PLACEMENT',
'MODULE_FRONT_PAGE_CATEGORIES_IMAGES_CONTENT_PLACEMENT'
);
}
Regards
Jim
Edit: Forum editor munged the code again.
Edited by kymation, 18 July 2012 - 04:43 PM.
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#715
Posted 18 July 2012 - 04:53 PM
I just copied and pasted your code into place but the result remained the same , it shows up on the index page but not on the other pages................here is the website if you want to have a look at what goes wrong : www.crazycarz.pt and for now it´s eating and sleeping time ..i will have to investigate some more tomorow . ;-)
Thanks very much so far for your help.
Gr, Rob
#716 ONLINE
Posted 18 July 2012 - 05:04 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#717
Posted 19 July 2012 - 10:51 AM
I did remove and reinstalled the module , it still doesn´t show up on the other pages tho.
First i will go and check everything over again to see if everything is like you have told , just to make sure i am not wasting your time , than i will get back.
Thanks so far!.
Gr, Rob
#718
Posted 19 July 2012 - 11:30 AM
It starts to look like something in the header footer contents thing as i also do not have a complete shopping cart or buttons for it....
Need ti investigate some more........
Gr, Rob
#719 ONLINE
Posted 19 July 2012 - 05:11 PM
if ($PHP_SELF == 'index.php' && $cPath == '') {
and change it to:
if (true) {
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#720
Posted 21 July 2012 - 09:04 AM
kymation, on 19 July 2012 - 05:11 PM, said:
if ($PHP_SELF == 'index.php' && $cPath == '') {
and change it to:
if (true) {
Regards
Jim
YES , that did the trick!!! , THANKS very very much for your time and help.
Gr. Rob









