Jump to content

oarie

Members
  • Content count

    36
  • Joined

  • Last visited

1 Follower

Profile Information

  1. I too would be very interested in a solution to this old unanswered request. Can anyone tell me how to get this result as seen on this site? Thanks.
  2. I did hack my way into tricking it not to produce a tab for tabs without content and since it is a hack only I'll post it here so others who desire the same behavior will have a way of achieving it until the next release which I for one can not wait for. here's what I did: backup your catalog/includes/TMS/TabMenuSection.php file before proceeding so you can revert in case it doesn't work or works incorrectly. catalog/includes/TMS/TabMenuSection.php on or around line 176 find if(!empty($tabName) || $x < $noOfTabsCalculated) Insert Before $mickeymouse = $this->getContentForTab($x); if(!empty($mickeymouse)) { on or around line 200 find $menu .= '<div class="pronuxTabEmpty" style="height: '.($this->CONF['tabHeight'] + 1).'px; width: '.($this->getTabWidth($x)+1).'px;"></div>'; } continue; } Insert After } That's it. One file to edit, three lines to add. That should work for anyone who has an unmodified TMS 1.0 and will cause there to be no tab generated for tabs with no content.
  3. I have two questions about this addon. First, is it easy to change it from horizontal tabs to vertical tabs down the left hand side of the box instead of having the tabs across the top? Second, I would like to have tabs without content skipped and not shown. I have a need for nine total tabs but I never need more than seven of the total nine for any one single product. Most of my products will only use one or two of the tabs and some may use none at all. Do you have any suggestions on how to get this result? I really think this would make a nice default behavior/feature. hint hint wink wink ;) This is a really nice mod, thanks for sharing it. Thank you.
  4. I still have this contrib installed but over the last 2 months since I installed it the only two users returned when I run this myswl query: select customers_firstname, customers_lastname from customers where customers_advertiser is not null; are the two test users I set up when testing to see if it was working. It seems to work only if a customer signs up for an account immediately after clicking the link to the site. The "sign up for an account" link must be the first link they click, otherwise the ad= value is lost. I left it installed but for me it's only wasting CPU cycles. :(
  5. oarie

    Country-State Selector

    Just wanted to say again that this is an awesome contribution. I wish I had waited a few days because I had already incorporated this into the checkout pages as well. :lol: One thing I noticed when going through your code was that the checkout pages do not reload because there's no onChange= in the form. I simply changed line 117? in /catalog/includes/modules/checkout_new_address.php from this: <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> to this: <td class="main"><?php echo tep_get_country_list('country', $entry['entry_country_id'], 'onChange="return refresh_form(checkout_address);"') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> The change made is simply adding , $entry['entry_country_id'], 'onChange="return refresh_form(checkout_address);"' to the tep_get_country_list() function.
  6. oarie

    Country-State Selector

    It's the <pre></pre> tags. ;)
  7. oarie

    Country-State Selector

    I found the problem that others are complaining about, it has to do with the HTML cut&paste issue once again I'm nearly certain. When you copy&paste the code for the line 55 replacement in address_book_process.php from the html file, the code is pasted like this: // +Country-State Selector if ($process) { // -Country-State Selector if (ACCOUNT_GENDER == 'true') { When it should be entered like this: // +Country-State Selector if ($process) { // -Country-State Selector if (ACCOUNT_GENDER == 'true') { Check your address_book_process.php around line 63 and make sure that "// -Country-State Selector" line has a return after it. ;) Awesome contribution, thanks. B)
  8. These are the problems I am encountering. Any help would be most appreciated. Thanks. O
  9. Wish I could say the same. :unsure:
  10. I also just queried my db to find that the advertising and referers_url variables are not being passed to the session table, which confirms my initial belief that tep_session_register is not doing its job. I even tried setting both variables directly in application_top.php, for example: $advertiser = 'test.advertiser'; tep_session_register('test.advertiser'); Even this did not work. This function seems to be used throughout osC so I find it hard to believe that it would be broken. It seems to me that maybe I just have something turned off in my configuration that may be required to be turned on?
  11. Judging by the fact that about 99% of the posts in this thread are complaints from those who could not get this working I had figured I would not be able to either. Still the capabilities of this contribution were so great I at least had to try. As per my prediction, I was unable to get it to work. I've followed the directions to a T and reverted back to a pre-mod state then tried again using all the "fixes" listed in this thread. Still no luck and it seems to be that the tep_session_register('variable') statements are not working. I can access these variables from within application.php on the entry page but not from any others. Is there some way that I must call these two variables back from the session data before they can be accessed from the create_account.php page? It seems like the data is being properly set with the tep_session_register function but is not being recalled correctly in create_account.php.
×