Topic RSS
Related Topics
4:54 am
Hello! Thanks for this great plugin.. My issue is that I use duplicated forms on different Pages that use the same page template.. Everything displays fine except the uploaded image. My code is below:
$array = get_cforms_entries(get('form_name'),false,false,'id',false,'asc'); /* get('form_name') is used to grab the cformII name from the specific page — it works! */
My issue is I would like to dynamically have the form ID added to the request for the uploaded image. For example (looking at the line of code below), how can I have the '4' in [*4] be automatically replaced the with the current form's ID?
'<img class="aligncenter" src="http://MYDOMAIN.com/wp-content/uploads/cform/' . $e['id'] . '-' . $e['data']['Photo[*4]'] . '" alt="" />'
I'm sure this is simple I just cannot figure it out. Any help would be greatly appreciated. Thanks!
Most Users Ever Online: 959
Currently Online:
101 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3548
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5157
Posts: 18386
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote
Offline










