In your func.php file, go all the way to the bottom where you see ?> and stuck this chunk of code before it.
Once you have that in, save and head over to your pairings.php file. You'll also want to pop open easytcg, because you'll need to refer to numbers on your collecting page.
The code you'll be using to display same-deck pairings is this:
You should be familiar with everything in there if you've used the other code except for the '120' and '119', these numbers are the way to identify which deck in your collecting section to use. To get these numbers, go into your >>View Collecting in easytcg and scroll to the decks you want to add. If you hover over the red x next to the deck name, somewhere on your screen (I think it differs depending on your browser), you'll see a preview for where this x takes you/does in the form of a URL. It'll look something like:
You can also just right click the x and hit Copy Link then paste the link somewhere else. Anyway, that last number at the end of the url, in this case the 121, is the unique identifying number for this deck. It'll always be different from the number of any other deck (as far as I've seen, anyway), even though they have the same name. All you have to do is pull these two numbers and stick them into your code and you should have the results you want!
If any of this is unclear, or something goes horribly wrong, feel free to comment back!
no subject
In your func.php file, go all the way to the bottom where you see ?> and stuck this chunk of code before it.
Once you have that in, save and head over to your pairings.php file. You'll also want to pop open easytcg, because you'll need to refer to numbers on your collecting page.
The code you'll be using to display same-deck pairings is this:
You should be familiar with everything in there if you've used the other code except for the '120' and '119', these numbers are the way to identify which deck in your collecting section to use. To get these numbers, go into your >>View Collecting in easytcg and scroll to the decks you want to add. If you hover over the red x next to the deck name, somewhere on your screen (I think it differs depending on your browser), you'll see a preview for where this x takes you/does in the form of a URL. It'll look something like:
http://adurotum.needtakehave.com/etcg/collecting.php?id=3&action=delete&cat=121
You can also just right click the x and hit Copy Link then paste the link somewhere else. Anyway, that last number at the end of the url, in this case the 121, is the unique identifying number for this deck. It'll always be different from the number of any other deck (as far as I've seen, anyway), even though they have the same name. All you have to do is pull these two numbers and stick them into your code and you should have the results you want!
If any of this is unclear, or something goes horribly wrong, feel free to comment back!