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
{Page} Variable not working
July 26, 2007
9:27 pm
Chris
Guest

Hi,

This is a great plug-in! I installed it recently and haven't been able to get the {Page} variable to work. I have multiple pages on my WP which contain the same form. I would like to track the page where the query was submitted from. But I always receive "/" as the page. Can you please help?

Thanks and keep up the good work.

Chris

July 26, 2007
10:28 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

…and your URL is?

It would help to see how you've setup the blog and where the forms are.

On a generally note, the {Page} information is taken from:

$_SERVER['REQUEST_URI']

So whatever is recorded there ends up in the form.

July 26, 2007
10:59 pm
Chris
Guest

 

Hi Oliver,

Thanks for your quick response. Here is the URL where the form has been placed:

 http://www.bayareanewhomesales.com/?page_id=9

Chris 

July 27, 2007
12:10 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

I see. Due to the limitations of the default (/?=xyz) permalink structure an actual page can only be shown if the permalink format supports 'complete' URI's, e.g. http://www.mydomain.com/postxyz

A workaround for the non-ajax method can be found here. This fix was suggested for an older cforms version, but the logic still applies.

Or alternatively, adjust the permalink structure. 

 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
36 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: 3731

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5331

Posts: 18693

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

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

Administrators: Oliver (6400), Nicky (3)