Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Header Footer Content Modules for V2.3


92 replies to this topic

#1 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 28 September 2011, 13:53

Hi,


this is support and development forum of Header Footer Content Modules contribution for osCommerce V2.3.1.

Admin can install and configure modules into header or footer as like Boxes. Menus, articles, RSS, categories, banners or other contents can listed in sort orders.


XHTML stucture:

SHOP HEADER
Header Left Header Center Header Right
Header line

CONTENTS
.
.
.
.
.




FOOTER
Footer line
Footer Left Footer Center Footer Right

BANNERS

3 basic content modules packed: currencies, languages and search.

Modularity gives free styles.


Cheers,
Gergely

Edited by Gergely, 28 September 2011, 13:55.

Header Footer Content Modules
SCM
V3

and some rewrites :-)

#2 francois21

  • Community Member
  • 68 posts
  • Real Name:francois
  • Gender:Male
  • Location:France

Posted 28 September 2011, 16:16

Hi
where is this addon?? please
Francois

#3 kymation

  • Community Sponsor
  • 5,662 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 28 September 2011, 18:09

Probably this one.

This looks good. I'm all in favor of making osCommerce modular. Now all we have to do is the rest of the pages. I have some of them already done, if I ever get the time to release them.

Regards
Jim
My Addons

Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#4 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 28 September 2011, 18:36

View Postfrancois21, on 28 September 2011, 16:16, said:

Hi
where is this addon?? please
Francois

Sorry my post was late.

http://addons.oscommerce.com/info/8165
Header Footer Content Modules
SCM
V3

and some rewrites :-)

#5 29gk

  • Community Member
  • 38 posts
  • Real Name:GEORGE
  • Gender:Male
  • Location:Greece

Posted 29 September 2011, 07:38

Hi Gergely,

Its a very good idea and i think a great addon you ve made, but i have a problem. It is not working !!!

I am working on a very heavy modified store using 2.3 version and i ve tried both your versions already but with the same results
When i activate one module, lets say Languages, my catalog side goes blank ! In addition, i cannot understand what you mean by the following instructions, since i have the same results in admin side, with both versions ( 1.0 and 1.1 ) :

Quote

Fixes:
1. Wrong text in setting modules. Should the module be loaded in the header or the footer position?

Edited by 29gk, 29 September 2011, 07:38.


#6 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 29 September 2011, 09:49

View Post29gk, on 29 September 2011, 07:38, said:

Hi Gergely,

Its a very good idea and i think a great addon you ve made, but i have a problem. It is not working !!!

I am working on a very heavy modified store using 2.3 version and i ve tried both your versions already but with the same results
When i activate one module, lets say Languages, my catalog side goes blank ! In addition, i cannot understand what you mean by the following instructions, since i have the same results in admin side, with both versions ( 1.0 and 1.1 ) :

Hi,

maybe something wrong with installation. This will be difficult to say the problem without error messages. The admin side blank page is very intresting.
Which language do you use? Do you use UTF8 files in your shop?


The fixes not edit critical problem. If you copy new modules files again not need to change something only reinstall modules again.


Regards,
Gergely

Edited by Gergely, 29 September 2011, 09:52.

Header Footer Content Modules
SCM
V3

and some rewrites :-)

#7 29gk

  • Community Member
  • 38 posts
  • Real Name:GEORGE
  • Gender:Male
  • Location:Greece

Posted 29 September 2011, 19:06

OK, false alarm. It was mine problem, since the languages and currencies boxes conflicted with an other addon so you ve helped me to correct that issue.

I would like to ask you 2 things. Is it possible to add more than these 4 boxes and if we can add one or 2 infoboxes into the header navigation bar also ?

Edited by 29gk, 29 September 2011, 19:07.


#8 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 30 September 2011, 07:12

Yes, these 4 modules (at now 6) and others can use. I hope as soon as possible other developers will do extra modules. It is very easy to add a new thing and Breadcrumb line can implemented by this way too.
At this moment I need more information to build templates for Header Footer Content Modules. I think it would be great to select more templates for header or footer.

Which modules would you like to use in breadcrumb line and how separate them?
Header Footer Content Modules
SCM
V3

and some rewrites :-)

#9 coco200435

  • Community Member
  • 3 posts
  • Real Name:Cornel Marinescu

Posted 30 September 2011, 07:18

Hi!

nice contribution !

do you have any ideas how to add some flags for currencies instead of simple text ?

Thx!

#10 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 30 September 2011, 07:49

View Postcoco200435, on 30 September 2011, 07:18, said:

Hi!

nice contribution !

do you have any ideas how to add some flags for currencies instead of simple text ?

Thx!


Hi,


do you use http://addons.oscommerce.com/info/5800 this contribution or which one?
Header Footer Content Modules
SCM
V3

and some rewrites :-)

#11 29gk

  • Community Member
  • 38 posts
  • Real Name:GEORGE
  • Gender:Male
  • Location:Greece

Posted 30 September 2011, 09:07

View PostGergely, on 30 September 2011, 07:12, said:

Yes, these 4 modules (at now 6) and others can use. I hope as soon as possible other developers will do extra modules. It is very easy to add a new thing and Breadcrumb line can implemented by this way too.
At this moment I need more information to build templates for Header Footer Content Modules. I think it would be great to select more templates for header or footer.

Which modules would you like to use in breadcrumb line and how separate them?

I saw your new file with the 6 addons and i ve updated my installation. Thanks.

On the other matter this is what i am trying to do:

1) Totally remove the breadcrumb text - --> done

2) Place a search box with a small search button on the far right side of the bar ---> done

3) Place only the language flags on the far left side ---> not done

I am not using your code for the search box, but this one :

Quote

<script type="text/javascript">
$("#headerShortcuts").buttonset();
</script>
</div>

<?php include_once(DIR_WS_INCLUDES . 'sub_header.php'); ?>

<div class="grid_24 ui-widget infoBoxContainer">
<div class="ui-widget-header infoBoxHeading "><ul id="breadcrumb"><?php //echo $breadcrumb->trail(' » '); ?></ul>

<?php // Search
echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get') ,
' <div style="text-align: right;">' .
' ' . tep_draw_input_field('keywords', '', 'value="Search...." onFocus="javascript:this.value=\'\'" size="20" id="search" maxlength="30" style="width: ' . (BOX_WIDTH-90) . 'px; background: #c0c0c0; color: #000000;font: tahoma; font-size:9;" ') . ' ' . tep_draw_hidden_field('search_in_description', '1') . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH, 'align="top"') . '</form>';
// Search ?>
</div>

</div>

Now, my problem is that i cannot keep into the same line the flags and the small search box without doubling the head navigation bar height.

Thats why i hoped your addon would had one more placement.

#12 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 30 September 2011, 09:53

Try this, but need place holders for positioning. For example grid classes.

<div class="grid_24 ui-widget infoBoxContainer">
<div class="ui-widget-header infoBoxHeading">
<?php // Search
echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get') ,
' <div style="text-align: right;">' .
' ' . tep_draw_input_field('keywords', '', 'value="Search...." onFocus="javascript:this.value=\'\'" size="20" id="search" maxlength="30" style="width: ' . (BOX_WIDTH-90) . 'px; background: #c0c0c0; color: #000000;font: tahoma; font-size:5;" ') . ' ' . tep_draw_hidden_field('search_in_description', '1') . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH, 'align="top"') . '</form></div>';
// Search ?>
</div>
</div>

Header Footer Content Modules
SCM
V3

and some rewrites :-)

#13 coco200435

  • Community Member
  • 3 posts
  • Real Name:Cornel Marinescu

Posted 30 September 2011, 10:06

View PostGergely, on 30 September 2011, 07:49, said:



Hi,


do you use http://addons.oscommerce.com/info/5800 this contribution or which one?

no, i use Header Footer Content Modules contribution for osCommerce V2.3.1. and I like to have flags not text

THX!

#14 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 30 September 2011, 10:42

Cornel,

I asked this because Burt contribution good for it but not confom with osCommerce v2.3.1. First you need to port this contribution to v2.3.1. Header Footer Content Modules is only a chance to use other contributions as extras.

Or other possibility if makes some changes in includes/modules/header_footer_contents/hfc_currencies.php by your way. I notes your request. If Burt or somebody will port similar contribution we can do it.

Now I give you the future code:
includes/modules/header_footer_contents/hfc_currencies.php
Change:
$currencies_array[] = array('id' => $key, 'text' => $value['title']);
		    $data .=  ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('currency')) . 'currency=' . $key, $request_type) . '">' . $key . '</a>';

To:
$currencies_array[] = array('id' => $key, 'text' => $value['title']);
		    $data .=  ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('currency')) . 'currency=' . $key, $request_type) . '">' . tep_image(DIR_WS_IMAGES . 'icons/' . $value['currencies_image'], $value['title']) .  '</a>';

Header Footer Content Modules
SCM
V3

and some rewrites :-)

#15 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 02 October 2011, 09:37

Hi,

Latest Base and extend Modules in actions. http://oscom.hu/images/header_footer_modules/header_footer_modules_extends_in_action.jpg

Edited by Gergely, 02 October 2011, 09:40.

Header Footer Content Modules
SCM
V3

and some rewrites :-)

#16 nahi_sonu

  • Community Member
  • 104 posts
  • Real Name:Awais Tahir
  • Gender:Male

Posted 09 October 2011, 03:26

Hi,
ive been trying to install this addon.. i followed the instructions on the file given.. but i dont see any option to install the module in the admin area?
after making the php changes.. how do i install it?
thanks
outside links are not allowed in signatures

#17 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 09 October 2011, 11:00

View Postnahi_sonu, on 09 October 2011, 03:26, said:

Hi,
ive been trying to install this addon.. i followed the instructions on the file given.. but i dont see any option to install the module in the admin area?
after making the php changes.. how do i install it?
thanks


Hi,

Look at admin site Modules>Header-Footer Content Module->Install Module button.


Regards,
Gergely
Header Footer Content Modules
SCM
V3

and some rewrites :-)

#18 nahi_sonu

  • Community Member
  • 104 posts
  • Real Name:Awais Tahir
  • Gender:Male

Posted 10 October 2011, 13:45

I dont see any option there about this module.
what to do now?
outside links are not allowed in signatures

#19 Gergely

  • Community Member
  • 345 posts
  • Real Name:Tóth Gergely
  • Gender:Male

Posted 10 October 2011, 20:15

View Postnahi_sonu, on 10 October 2011, 13:45, said:

I dont see any option there about this module.
what to do now?

Did you copy new files to calalog folder? If you renamed the admin mappa you need to copy admin mappa contents to your new named place.
Header Footer Content Modules
SCM
V3

and some rewrites :-)

#20 nahi_sonu

  • Community Member
  • 104 posts
  • Real Name:Awais Tahir
  • Gender:Male

Posted 10 October 2011, 22:42

yeah ive uploaded the files correctly where they should be.
/user/public_html/shop/admin/

still there is no option to install it :(
outside links are not allowed in signatures