Jump to content

gimmedonuts

Members
  • Content count

    6
  • Joined

  • Last visited

  1. gimmedonuts

    A CSS based Menu Support Thread

    have a look at this contrib: http://addons.oscommerce.com/info/885 but you will have to tweak it out yourself...
  2. gimmedonuts

    "Dynamenu" for osCommerce

    Hey, still no reply to my question, so maybe let me ask it like this: has anybody seen dynamenu working like I want it to behave (see quote below)? If not I guess I will try to use another menu...and if you have suggestions as to what other menu to use to achieve my goal, i'm listening ;)
  3. gimmedonuts

    [contribution] Simple Template System (sts)

    not to sound stupid, but did you install osCommerce? If yes, I would reinstall and try again intalling sts
  4. gimmedonuts

    "Dynamenu" for osCommerce

    I finally managed to install dynamenu successfully thanks to the post http://forums.oscommerce.com/topic/209045-dynamenu-for-oscommerce/page__st__560__p__1250197entry1250197 so thanks :) Now I have 1 question and 1 remark: 1) I want that when I click on a sucategory and it moves to that subcategory page, the menu actually expands to show all the subcategories of this category and stays expanded (like in the basic osC menu, not in the fly-out style), while the other categories are still fly out menus. I thought this might be in the configuration at the beginning of dm_categories.php but actually nothing gave this result....also couldn't find anything on the forum. Any help is appreciated! 2) When I installed successfully the menu, it worked fine with firefox and IE, but with chrome it would give me this error: Fatal error: Call to a member function add_current_page() on a non-object in /home/presence/public_html/eshop/includes/application_top.php on line 312 how I resolved this was to add "if($navigation) {" just before the place where the error occured. How come only Chrome has this error? Now however it works fine. So just wanted to let everybody know ;) // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } if($navigation) { $navigation->add_current_page(); }
  5. gimmedonuts

    [contribution] Simple Template System (sts)

    what do mean you cannot get to the admin panel and didn't enable anything? Go to the osCommerce admin panel, go to module>STS and then install, you can then choose which template you want to start working on. To change stuff later on you need to modify the templates files manually (using File Manager of your Cpanel) and maybe also some other files depending of what changes you want to do. BTW, my question from below is still unanswered if anybody can help :)
  6. gimmedonuts

    [contribution] Simple Template System (sts)

    Hi all, first post here, I don't have too much knowledge about php but trying to get around :) So my question is about the quick horizontal search ( http://www.oscommerce.com/community/contributions,4456 ) It works fine, but I want it to make the search box automatically resizable to its max length depending on window size. I tried to add a width=100% but the problem is that it kicks the dropdown category menu and the GO button to the next line, and the text I put in front goes on the line before the search box. is there any way around this? Thanks! here's the code $sts->start_capture(); echo "\n<!-- Search -->\n"; $hide = tep_hide_session_id(); echo tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => 'All Categories')))); echo '<form name="quick_find" method="get" action="' . tep_href_link (FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false) . '">'; echo $hide . '<input type="text" name="keywords" onFocus=this.value="" size="20" style="width:100%;" maxlength="30" value="' . BOX_SEARCH_TEXT . '"> '; echo '<input type="submit" value="Go"> <a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . tep_draw_hidden_field('search_in_description', '1') . tep_draw_hidden_field('inc_subcat', '1') . '</a>'; echo '</form>'; echo "<!-- End Search -->\n"; $sts->stop_capture('hsearch');
×