Jump to content

How to access current viewing $page within ready.php


Federico
 Share

Recommended Posts

Hi all,

what is the best way to get a custom field value, currently viewing in a single user page (admin side) and within the ready.php? I tried the following, without success

$fieldValue = $page->customFieldName;  // tentative 01 - fails
$fieldValue = $this->customFieldName;  // tentative 02 - fails
$fieldValue = $this->page->customFieldName;  // tentative 03 - fails

note that the custom field is a simple text field

I need it to auto populate another custom field that follows the one above 

 

thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...