MySQLTalk.org Forum Index MySQLTalk.org
MYSQL discussions groups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pre-populating custom fields when submitting a new, anonymou

 
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> Eventum General Discussion
View previous topic :: View next topic  
Author Message
Jeff Tompkins
Guest





PostPosted: Thu Dec 04, 2008 3:47 am    Post subject: Pre-populating custom fields when submitting a new, anonymou Reply with quote



I'm doing some heavy customization to Eventum and seem to have hit a
snag. I'm trying to add this functionality:

When a new, anonymous issue is submitted using the post.php form, the
confirmation page will display an additional link below the text " You
may submit another issue if you so wish." with the text "You may also
create a new ticket based on this submitted ticket". The new link will
open the same anonymous posting form (post.php), but the entry fields
will be pre-populated with all the information that was just submitted.

I've modified the post.tpl.html to fetch and populate the "Summary" and
"Description" fields with no problem using Issue::getTitle() and
Issue::getDescription() (I added the getDescription() function, but it
does work properly). The problem I'm coming across is how to fetch and
pre-populate the Custom Fields in edit_custom_fields.tpl.html.

I've tried using Issue::getCustomFieldValue(), but I just can't seem to
get that function to work from within either
edit_custom_fields.tpl.html, or even in post.php.

I'm guessing this may be a PHP (or Smarty) problem I'm having, and may
not be specific to Eventum, but I thought I might post this here anyways.

Thank you for any insight you may offer.
-Jeff Tompkins
Back to top
Display posts from previous:   
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> Eventum General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.