how to access a param in $view?

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
rowild

how to access a param in $view?

Post by rowild » 10 Mar 2023, 08:17

The screenshot shows a dump of $this->view in a qi-admin-jqadm. I need to retrieve the fs-media path.
1. How can I do that?
2. How do I know which methods are available in $this->view?

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: how to access a param in $view?

Post by aimeos » 10 Mar 2023, 09:51

Use "$this->content( 'path/to/file' )" to get the absolute URL or "$this->content( '' )" to get only the base URL.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

rowild

Re: how to access a param in $view?

Post by rowild » 10 Mar 2023, 10:20

This returns another array, not a path...

Post Reply