Template Cache Level?

Discussion in 'Installation' started by ForeverUAE, Jun 15, 2003.

  1. ForeverUAE

    ForeverUAE Guest

    i see the option: Template Cache Level
    in the Admin Control Panel in the test amember pro in this site, but it seems that i cant find it in the copy i bought.

    can you tell me where to find it?

    and one more thing:
    the option Price Group ID
    can you explain what it does and how to use it?

    thanx in advance :)

    btw: feel free to move this topic, coz i have a feeling its not in the right section.
  2. abbeyvet

    abbeyvet New Member

    Joined:
    Feb 2, 2003
    Messages:
    135
    I will leave the template cache to Alex when he comes along :huh:

    On the price group thing though - this is how it works

    When you allocate negative number here, you remove the product from the normal sign up page and can instead link to it separately

    eg: http://www.yoursite.com/amember/signup.php...?price_group=-1 will show only those products in price group -1

    This allows you to group products with the same id number for display together, distinct from other products.

    You can play with this a LOT.

    You can link to more than one price group:

    eg: http://www.yoursite.com/amember/signup.php..._group=-1,-3,-5 will show products in price group -1,-3, and -5

    You can add custom text to the sign up page based on what price group you are displaying by using some pretty simple php code - for example:

    {if $smarty.request.price_group == -1}
    Write stuff here about products in price group -1
    {elseif $smarty.request.price_group == -2}
    write stuff here about products in price group -2
    {elseif $smarty.request.price_group == -3}
    write stuff here about products in price group -3
    {else}
    Write stuff here if the products is from anywhere else other than groups -1, -2 or -3
    {/if}


    Hope this makes it clear.
  3. alex-adm

    alex-adm Guest

    Thank you abbeywet for 100% correct and descriptive answer.

    About Templates Cache Level - this parameter has been removed as not-necessary, too many questings
    from nothing ;).
  4. ForeverUAE

    ForeverUAE Guest

    abbeyvet

    i dont know if anyone could explain it better than you :D

    thanx alot mate.

    Alex

    thank you


    everyday i fall in love more and more with amember pro, honostly

Share This Page