SMF Shop
SMFShop => Shop Button Requests => Topic started by: GhostWriter on April 03, 2007, 02:33:16 am
-
I need two buttons for two different themes, I hope posting them both in a single thread is alright. Thought it might save time and posts that way. If it is not I am sorry.....
Board Address: http://www.ghosttec.com
Theme Name: Vampire the Masquerade
Link to Theme: http://dragontalk.net/index.php?action=tpmod;dl=item52
--------------------------------------------------------------
Board Address: http://www.ghosttec.com
Theme Name: Arcane Magic
Link to Theme:http://dragontalk.net/index.php?action=tpmod;dl=item57
-
OK, I've done the button code for both:
http://www.dansoftaustralia.net/smfshop_wiki/Themes/Vampire:_the_Masquerade
http://www.dansoftaustralia.net/smfshop_wiki/Themes/Arcane_Magic
For the "Arcane Magic" one, you'll need to use the shop image attached to the post at http://www.daniel15.com/forum/index.php/topic,194.0.html (save it to Themes/[theme name]/images/english/shop.gif).
-
Thanks for the buttons..
Though I am having a problem with them, I keep getting Parse errors in the template when I refresh after using the code and such....
-
Though I am having a problem with them, I keep getting Parse errors in the template when I refresh after using the code and such....
From both codes, or only one of them?
Make sure you copy them exactly (including all punctuation, etc.)
-
Both of them are giving me the parse error, the vampire theme button for the shop doesn't show anywhere.
I have placed all the code in with everything that is suppose to be with it....
-
OK, there was a minor error with the code for "Vampire: the Masquerade".
// SMFShop
echo $tab1, $ca== 'shop' ? '1' : '2' , '"><a href="', $scripturl, '?action=shop">Shop</a></td>'
Should have been:
// SMFShop
echo $tab1, $ca== 'shop' ? '1' : '2' , '"><a href="', $scripturl, '?action=shop">Shop</a></td>';
I've edited this on the Wiki. Please try it again, it should work this time. Also, note that the first edit for that theme has a comma at the start of it.