![]() |
How Do I Prefill the Subject for a New Post?
What I want to do is add a parameter to the query string like this:
http://www.xyz.com/newthread.phtml?d...wThreadSubject and then echo it out in the "Title" input box on the "New Thread" page, but I can't get it to appear. Any ideas? Thanks for your time. |
in the template, find the input box and put
HTML Code:
value="$_GET['subject']" |
Quote:
I'd like to keep the same thread's subject by default unless one decides to change it. I think your reply does it, but where do I make these changes? :nervous: |
What would the globalize() edit look like. I'm really not sure what to do and I don't want to royally mess this thing up.
Thanks for the help. |
I get an eval error when trying to add value="$_GET['subject']"
|
Remove the single quotes.
|
All times are GMT. The time now is 10:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|