![]() |
Call a specific custom field? Hi! I'm trying to output a specific custom field in another place of the template but the solution(s) I've found for 3.0.x don't work in 3.5.x. How can I do it now? Thanks in advance for any info! Ricardo |
Ricardo, what method were you using for 3.0.x? |
One posted by Brian where you search showimage.php for the text in bold and add what's bellow: $thisfield = 'field' . $field['fieldid']; if ($field['fieldid'] == 'X') { $myvarname = $field['value']; } With X being the field id number. I've also tried every variation of the vars like $fieldid[3], $field[field3], $customfield[3], and so on because before 3.5 I was using one of them. I remember Brian helping me out on this but I can't locate the thread now that the forums were moved here. |
Kevin, any idea? |
RBL, In showimage.php around line 489 is where the section is that builds the customfields. At around line 503 you'll see... Code: Content visible to verified customers only. |
Kevin, your code didn't work but Brian's (post #3) worked on your location! Thanks! =) Ricardo |
RBL, I should've specified a bit more clearly.... when I said try adding the command I should've said the entire "If..." statement. :) Glad to see you got it working. |
| All times are GMT -5. The time now is 12:55 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0