Jump to content

Can't find PHP/Smarty variable declarations


koy

Recommended Posts

Hi,

 

I wan't to make some minor changes to the HTML of some of the invoice templates, like adding ids for CSS.

But the code I need to alter isn't plain HTML; instead the template references variables e.g

{$paymentmethod} 

{$gatewaydropdown} 

I can't find the source that declares and initialises these variables. I've already tried full-text searching the through whole project... Neither my IDE nor grep/find/ack was able to find something.

 

Where do they come from?

 

Thanks!

Link to comment
Share on other sites

they'll be created in one of the encrypted files, so they can't be modified by you as they're being created - you'll either have to recreate them from scratch, or modify them after they've been created.. the usual method for which would be using the Smarty 'replace' tag.

 

if you're lucky, someone may have already done what you want to do... otherwise, it's a case of seeing their default output and working out a way to change it to your desired output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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