Heater |
|
---|---|
I have some problems with this plugin, Where do i add "enctype"multipart/form-data" to forms"?
What forms? Can you help me to compile my sskin TPL file ? Thank you very much. [url=http://www.fightercombatsims.net]FighterCombatSims[/url]
|
|
Bu gönderi Heater tarafından düzenlendi (2010-11-22 08:36, 14 yıllar önce) |
Kingsley |
|
---|---|
open up forums.post.tpl
search for: <form action="{FORUMS_POSTS_NEWPOST_SEND}" method="post" name="newpost"> <div style="width:100%;">{FORUMS_POSTS_NEWPOST_TEXTBOXER}</div> <div class="valid"><input type="submit" value="{PHP.L.Reply}" /></div> </form> replace with: <form action="{FORUMS_POSTS_NEWPOST_SEND}" method="post" name="newpost" enctype="multipart/form-data"> <div style="width:100%;">{FORUMS_POSTS_NEWPOST_TEXTBOXER}</div> <div style="width:100%;">{FORUMS_POSTS_NEWPOST_ATTACH}</div> <div class="valid"><input type="submit" value="{PHP.L.Reply}" /></div> </form> |
Heater |
|
---|---|
Tnx Kingsley,
I replace this code for "forums.post.tpl", but for edit.post.tpl and new.topic.tpl ? I must replace the same code ? Sorry for my bad English [url=http://www.fightercombatsims.net]FighterCombatSims[/url]
|
Kingsley |
|
---|---|
almost the same code yes.
search for similar parts and just add enctype="multipart/form-data" to form tag and this: <div style="width:100%;">{FORUMS_POSTS_NEWPOST_ATTACH}</div> (change NEWPOST to EDITPOST in the tag) at around the same place, and you'll be fine.. |
Heater |
|
---|---|
thank you very much Kingsley...
[url=http://www.fightercombatsims.net]FighterCombatSims[/url]
|