Jump to content

ToddJHarrison

Retired Forum Member
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

ToddJHarrison last won the day on April 5 2023

ToddJHarrison had the most liked content!

About ToddJHarrison

ToddJHarrison's Achievements

Junior Member

Junior Member (1/3)

2

Reputation

  1. I just happened to think (and I should have known this from working with the SMARTY developers in another life), to grab a list of variables on any given page, just slap {debug} anywhere on the page and it'll open a popup with all the variables available.
  2. Greetings everyone! Todd Harrison here, from sunny Wales in formerly Great Britain. 😄 Been doing webby stuff since '96 and was tinkering around on BBS systems before that. Have spent a bit of time doing businessy stuff in between, making fortunes, losing fortunes, now am mostly debt-free, but am sitting on an empty nestegg and failing health. All part of the fun! Have a cloud services company slowly taking shape, dragging itself up by its bootstraps, or I'm dragging it up by bootsrap 3.4, as WHMCS hasn't embraced 5.whatever yet afaik. Great to make your acquaintances, even if only asymetrically and virtually. Looking forward to seeing 'ya around. Todd
  3. Ha! Every. Time! I've searched off-and-on for a couple days on how to do this, and 20 minutes after asking for help, come across the answer. 🤪 Here's what I put in place, and it seems to work OK: {if $groupname eq "Fully Managed Hosting"} {include file="$template/assets/layout/sections/faqHosting.tpl"} {else} {/if} I'd still be interested in comments, whether this is the best way to managed what I'm trying to do, etc. Thank you again, all! Todd
  4. Hi All, I would like to include certain information on the products.tpl based on which product group is currently being displayed. For instance, if a customer is viewing our web hosting packages, I'd like to show a hosting FAQ below the products display. I'm thinking this could be done with a simple {if/else} to include the appropriate faq.tpl, but not sure how to call the variable to differentiate between displayed product groups. I know similar {if/else} statements are littered throughout the various templates, but I can't seem to find reference to the variable I'd need to call in this instance. As always, thank you in advance for any assistance. Todd
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated