Header Footer Content Modules for V2.3
#41 ONLINE
Posted 29 December 2011 - 11:22 PM
Yes, the include() in application_top.php should be enough, but it doesn't seem to work, even if you global() the variable. Another puzzle.
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
#42
Posted 30 December 2011 - 04:35 PM
apolyshow, on 29 December 2011 - 11:32 AM, said:
When i am installing the Search module and tells it to find something in my site like a manufacturer it returns an error . This the message
1054 - Unknown column 'p2pef.products_extra_fields_value' in 'where clause'
select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id) , products_description pd, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '2' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%sanyo%' or p.products_model like '%sanyo%' or m.manufacturers_name like '%sanyo%' or p2pef.products_extra_fields_value like '%sanyo%' or pd.products_description like '%sanyo%') )
[TEP STOP]
Can you help me?
Any help?
#44
Posted 01 January 2012 - 07:59 PM
#45
Posted 02 January 2012 - 11:53 AM
If you create a menu elements with dopdown in the end of the menu, just before the "manufactures +".
Then the "Manufactures +" will be doubled and be posted both in the main menu and in the "drop-down" menu.
If you post a menu elemnts wihout dropdown, between the one with the dropdown and the manufaturex +, it works.
#46
Posted 02 January 2012 - 01:38 PM
It works, and i can put up installation instructions if any body wants, I just have a problem with multilanguage:
This Query is working fine, as you can see I have put cd.language_id='1'
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='1' order by sort_order, cd.categories_name");
But I want a multilangugage function in a query like this.
(with cd.language_id="'.$languages_id.'"
This query isnt working, do anybody know how to get the right language in the query?
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . $languages_id ."' order by sort_order, cd.categories_name");
#47
Posted 02 January 2012 - 08:30 PM
mumme, on 02 January 2012 - 11:53 AM, said:
If you create a menu elements with dopdown in the end of the menu, just before the "manufactures +".
Then the "Manufactures +" will be doubled and be posted both in the main menu and in the "drop-down" menu.
If you post a menu elemnts wihout dropdown, between the one with the dropdown and the manufaturex +, it works.
Hi mumme,
thanks for bug report. I will be improve.
regards,
Gergely
SCM
v3
and some rewrites :-)
#48
Posted 02 January 2012 - 08:31 PM
mumme, on 02 January 2012 - 01:38 PM, said:
It works, and i can put up installation instructions if any body wants, I just have a problem with multilanguage:
This Query is working fine, as you can see I have put cd.language_id='1'
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='1' order by sort_order, cd.categories_name");
But I want a multilangugage function in a query like this.
(with cd.language_id="'.$languages_id.'"
This query isnt working, do anybody know how to get the right language in the query?
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . $languages_id ."' order by sort_order, cd.categories_name");
Look at bm_categories.php
Regards,
Gergely
SCM
v3
and some rewrites :-)
#49
Posted 02 January 2012 - 10:20 PM
This contribution looks great! Thanks, Gergely!
However, I can't find it anywhere to install on my admin screens. I saw someone else posted the same, and I looked again at the same spot, and no module was available for installation.
I wonder if I'm missing any of the pre-reqs to run this? I do have the one that is called "contributions". I need that, right?
Any other tips?
I am working with the latest version from 12/31.
Thanks!
#50
Posted 03 January 2012 - 06:26 PM
vmjarala, on 02 January 2012 - 10:20 PM, said:
This contribution looks great! Thanks, Gergely!
However, I can't find it anywhere to install on my admin screens. I saw someone else posted the same, and I looked again at the same spot, and no module was available for installation.
I wonder if I'm missing any of the pre-reqs to run this? I do have the one that is called "contributions". I need that, right?
Any other tips?
I am working with the latest version from 12/31.
Thanks!
Hi,
did you install http://addons.oscommerce.com/info/8186 SCM?
Regards,
Gergely
SCM
v3
and some rewrites :-)
#51
Posted 03 January 2012 - 07:26 PM
Yes, I do have that one. I believe it's the one that has added the following to my admin section (+ "extends" and "example" boxes):
[img]C:\Users\Vero\Desktop\contrib.jpg[/img]
What else am I missing?
I don't seem to be able to do anything with this particular addon.
Thanks again for your help!
#52
Posted 03 January 2012 - 07:27 PM
#53
Posted 03 January 2012 - 10:08 PM
Gergely, on 02 January 2012 - 08:31 PM, said:
Look at bm_categories.php
Regards,
Gergely
I copied the query from bm_categories.php
But in bm_Categories.php i find this:
function getData() {
global $categories_string, $tree, $languages_id, $cPath, $cPath_array;
$categories_string = '';
So i guess I need to implement the getData -> $languages_id into hfc_menu.php.
I will try..
#54
Posted 03 January 2012 - 11:08 PM
Please let me know if that works. And, if so, how you implement that...
#55
Posted 04 January 2012 - 12:57 AM
#56
Posted 04 January 2012 - 01:30 PM
Tje code that i have put to stylesheet is
#
header {
height: 240px;
background-image: url('images/header_bg.jpg');
background-repeat:no-repeat;
}
What can i do so the module understands the size of this image? Do i have to configure the grids?
Is the code for the image ok? Do i have to put something else also in another page?
Edited by apolyshow, 04 January 2012 - 01:33 PM.
#57
Posted 04 January 2012 - 06:51 PM
apolyshow, on 01 January 2012 - 07:59 PM, said:
Use sort order options for modules first. The second problem if it dosen't work. Then http://forums.oscommerce.com/tracker/issue-370-box-header-tags-modules-sort-order-bugfix-need/.
Finaly you have to edit module codes.
SCM
v3
and some rewrites :-)
#58
Posted 04 January 2012 - 06:57 PM
vmjarala, on 03 January 2012 - 07:26 PM, said:
Yes, I do have that one. I believe it's the one that has added the following to my admin section (+ "extends" and "example" boxes):
[img]C:UsersVeroDesktopcontrib.jpg[/img]
What else am I missing?
I don't seem to be able to do anything with this particular addon.
Thanks again for your help!
The normal steps:
1. Install main HFC module handler (Header Footer Contents Modules v1.11)
2. Test HFC modules
3. Install Admin Extends
4. Add extend boxes from contributions admin menu
5. Add menu module v1.2 (copy only)
6. Install menu from install.txt and upgrage.txt
7. Install menu module from header footer contents
SCM
v3
and some rewrites :-)
#59
Posted 04 January 2012 - 07:07 PM
vmjarala, on 04 January 2012 - 12:57 AM, said:
If developers use this module availabilty.
SCM
v3
and some rewrites :-)
#60
Posted 04 January 2012 - 09:36 PM
The normal steps:
1. Install main HFC module handler (Header Footer Contents Modules v1.11)
2. Test HFC modules
I INSTALLED: http://addons.oscommerce.com/info/8165
I HAVE THE 12/31 VERSION. I WAS NOT ABLE TO TEST BECAUSE I COULD NOT SEE A WAY TO ACTUALLY ACTIVATE MODULES! ALL CHMOD PERMISSIONS ARE SET TO 755. BECAUSE I COULDN'T DO IT, I WENT BACK AND STARTED TRYING TO FIND THE PRE-REQS
(btw, I'm not shouting... just a quick way of responding to you without the quoting feature)
What else could be wrong? I did go back and compare what I had with the newest I could find marked as "full package" (v1.2). Are you telling me I should use the v1.11, instead?
THANKS!
3. Install Admin Extends
4. Add extend boxes from contributions admin menu
DONE
5. Add menu module v1.2 (copy only)
6. Install menu from install.txt and upgrage.txt
7. Install menu module from header footer contents
I THINK I GOT THIS TOO.









