cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
hidden Variables in php (not url)
declare hidden Variables in my-functions.php?
Tags: ***
April 26, 2013
2:27 pm
adrinmartin
Guest

Hi there Oliver, I`m using this great plugin for a bunch of sites, and now I`m facing an issue that I cant resolve.

Can you give me some clues?

site: MUYAPP.COM - Wordpress 3.4.1

cforms plugin 14.6

Real consultation form, please click in ·CONSULTAR" button

http://muyapp.com/index.php/productos/malla-creta-ancho/

Since the form is called via ajax and execute a confitional php,  I cant pass URL variables.

Neither use extended variables to insert (title), since it always retrieve the same title.

Also have the same form here : http://muyapp.com/index.php/test-form/ where I`ve tested passing variables and title and everything`s right.

So I`ve tryed to declare a variable in the my-functions.php but still dont have it clear where must I put the code.

for example I need to generate a variable with this : 

producto="<?php echo __(the_title())." [".get_field("articulo")."]"; ?>"

can you point for some help?

Or someone who can help me go thru this?

thanks.

Adrian

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
21 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: 3740

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5340

Posts: 18707

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)