eZ Community » Forums » Developer » How to get another page by url
expandshrink

How to get another page by url

How to get another page by url

Tuesday 31 October 2017 3:47:35 pm - 1 reply

Hi All!

I need get html in template. For example:

<div>{some_extention.getHTML('http://google.com?q=xyz')}</div>

Yes. I can write extention, but may be standart tool is enabled?

Thursday 02 November 2017 4:19:14 am

Hello Alexander!

Welcome to the eZ Community!

Your looking for what is called a template operator.

You could create this with some minimal php yourself custom or you could use one of the helper tools already available such as the popular https://github.com/Open-Wide/OWSimpleOperator

I have used it myself to do just about exactly what your trying to do with success.

I hope this helps!

Cheers,
Heath

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from