Tell us what you are trying to do?
I want to create a php template file, the same as we use for post types, and render the tool view result there. This will give us flexibility, as we can use PHP to preprocess the response, instead of using the front end editor found in the views page.
Is there any documentation that you are following?
Toolset Forums
Is there a similar example that we can see?
On Drupal only.
What is the link to your site? hidden link
I see.
I've tried the functions in the page you linked, I am able to print the query results, but it seems without the custom fields. Is there a way to load custom fields for the posts in the query result?
Can you please share problem URL where you added your view and where exactly you added the view PHP function as well as admin access details.
Also, please clarify what fields you want to display with the viewe?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] Alter the Views Template’ is closed to new replies.