Jump to content

refreshedmedia

Members
  • Content count

    28
  • Joined

  • Last visited

1 Follower

Profile Information

  1. refreshedmedia

    Embed Links with SID in Description

    Hi, This looks like it could be perfect for what I need. I have a real problem at the moment where the person that wrote http://ftpupload.bpweb.net/catalog/index.php?cPath=41 used that left menu without calling tep_href_link and I am trying to fix it and spending hours with a headache on it. Is there any way of integrating this contribution to work with this file that is called from the root directory rather than the product listings? Any help would really be appreciated, code is shown for the menu below: if ($ifsearch == "search" && $from == "0" && $categories_id != "57" && $categories_id != "21" && $categories_id != "65" && $categories_id != "59" ) { ?> <tr><td style="padding-left: 12px;" <? if ($categorylist == $cPath) {?> bgcolor="#dcdcdc"<? } ?>> <? echo "<a href=\"/catalog/advanced_search_result.php?keywords=&categories_id=21&inc_subcat=1&manufacturers_id=&pfrom=$from&pto=$to&dfrom=&dto=&x=0&y=0&cPath=$categories_id\">Cars up to ?$to</a></td></tr>"; } if ($ifsearch == "search" && $from != "0" && $categories_id != "57" && $categories_id != "21" && $categories_id != "65" && $categories_id != "59" ) { ?> <tr><td style="padding-left: 12px;" <? if ($categorylist == $cPath) {?> bgcolor="#dcdcdc"<? } ?>> <? echo "<a href=\"/catalog/advanced_search_result.php?keywords=&categories_id=21&inc_subcat=1&manufacturers_id=&pfrom=$from&pto=$to&dfrom=&dto=&x=0&y=0&cPath=$categories_id\">Cars between ?$from and ?$to</td></tr>"; } if ($ifsearch != "search" && $categories_id != "57" && $categories_id != "21" && $categories_id != "65" && $categories_id != "59" ) { ?> <tr><td style="padding-left: 12px;" <? if ($categorylist == $cPath) {?> bgcolor="#dcdcdc"<? } ?>> <? echo "<a href=\"/catalog/index.php?cPath=$categories_id\">$categories_name</td></tr>";
  2. refreshedmedia

    [Contribution] Ultimate SEO URLs - by Chemo

    Hmm... I have amended the links to tep_href_link but I have got a problem where all items in the left box are coming up as "view complete price list" only - see http://ftpupload.bpweb.net/catalog/index.php?cPath=41 The only lines of code I have changed are the 3 that were using A HREF and are now using tep_href_link as below. Any ideas anyone please? if ($ifsearch == "search" && $from == "0" && $categories_id != "57" && $categories_id != "21" && $categories_id != "65" && $categories_id != "59" ) { ?> <tr><td style="padding-left: 12px;" <? if ($categorylist == $cPath) {?> bgcolor="#dcdcdc"<? } ?>> <?php echo '<a href="' . tep_href_link('/catalog/advanced_search_result.php?keywords=&categories_id=21&inc_subcat=1&manufacturers_id=&pfrom=$from&pto=$to&dfrom=&dto=&x=0&y=0&cPath=$categories_id') . '">Cars up to ?$to</a> </td></tr>' ?> <? } if ($ifsearch == "search" && $from != "0" && $categories_id != "57" && $categories_id != "21" && $categories_id != "65" && $categories_id != "59" ) { ?> <tr><td style="padding-left: 12px;" <? if ($categorylist == $cPath) {?> bgcolor="#dcdcdc"<? } ?>> <?php echo '<a href="' . tep_href_link('/catalog/advanced_search_result.php?keywords=&categories_id=21&inc_subcat=1&manufacturers_id=&pfrom=$from&pto=$to&dfrom=&dto=&x=0&y=0&cPath=$categories_id') . '">Cars between ?$from and ?$to</a> </td></tr>' ?> <? } if ($ifsearch != "search" && $categories_id != "57" && $categories_id != "21" && $categories_id != "65" && $categories_id != "59" ) { ?> <tr><td style="padding-left: 12px;" <? if ($categorylist == $cPath) {?> bgcolor="#dcdcdc"<? } ?>> <?php echo '<a href="' . tep_href_link('products_all.php') . '">View Complete Price List</a>' ?> <? } ++$ilist; } ?>
  3. refreshedmedia

    [Contribution] Ultimate SEO URLs - by Chemo

    Since installing the contrib to allow group discount pricing I suddenly found the person who coded it DID NOT understand tep_href_link! I have just looked and you're right - those links do not use it, I will change and see what happens...
  4. refreshedmedia

    [Contribution] Ultimate SEO URLs - by Chemo

    I am indeed loving this contribution, but have just installed and it's only working on the products, not the categories (see http://ftpupload.bpweb.net/catalog/index.php?cPath=54) I've been searching through this thread, and reset the cache and that's had no effect. Anyone got any hints please?
  5. refreshedmedia

    Seperate Pricing Per Customer v3.5

    Jan, you are an absolute star - thank you so much
  6. refreshedmedia

    Seperate Pricing Per Customer v3.5

    ahhh...we're getting there. That file didn't have application_top included in it, so now it keeps the login status, but $sppc_customer_group_id returns the group ID (eg "1") - just need the variable that holds the name of the group and we're sorted.
  7. refreshedmedia

    Seperate Pricing Per Customer v3.5

    Thanks again Jewbacca. Weird problem here is when I go from being signed in on the product listing http://ftpupload.bpweb.net/catalog/index.php?cPath=64 then click through to the booking form http://ftpupload.bpweb.net/bookingform.php?products_id=163 it seems to log me out, as when I return to the product page the login link is back again. This might explain why it isn't passing the group through. Any thoughts as to why this might be happening?
  8. refreshedmedia

    Seperate Pricing Per Customer v3.5

    In a custom booking form I want to be able to send the group name the customer is assigned to. Does anyone know the command to get that? I thought it was $check_customer['customers_group_id']; but doesnt seem to work. Thanks in advance of any help.
  9. refreshedmedia

    Seperate Pricing Per Customer v3.5

    Thanks for the tip - that sorted some of it, but weirdly the headings and left menu are still doing it. http://ftpupload.bpweb.net/catalog/index.php?cPath=63 Very bizarre!
  10. refreshedmedia

    Seperate Pricing Per Customer v3.5

    Thanks Jewbacca, you were right - much appreciated. I created a separate account and I didn't get asked for that. I have one other issue that perhaps someone could help with, since installing this mod, all my "?" show up as "?". Some language setting somewhere perhaps?
  11. refreshedmedia

    Seperate Pricing Per Customer v3.5

    Has anyone customised this module to remove the "choose a customer group" option when you login? A customer will only ever be a member of 1 group and I would like them to go straight in. Just trying to customise login.php but having trouble, any help appreciated!
  12. refreshedmedia

    Seperate Pricing Per Customer v3.5

    Thanks for the comments Jan. Luckily there is no search facility on this site, so that's nothing to worry about. Your pointer to the product_listing.php helped me locate it - thanks very much.
  13. refreshedmedia

    Seperate Pricing Per Customer v3.5

    Hi, This looks like a fantastic contribution and am looking forward to getting it to work. I've installed it, and the basics are there, but my catalog/index.php has gone screwy (ie the product name isn't showing, it seems a column of the table has disappeared) and I just can't find what's wrong. Has anyone any ideas which bit of code isn't happy...
×