Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Plugin template Render as String
gnem40
New
I have a question,
how can и Render Plugin Template in the Plugin without Мasterview as String and then pass both "echo "
example:
$templateString = $Sender->Render($this->GetView(test.php));
echo templateString ;
thank you in advance
###### German
Ich habe eine Frage,
wie kann ein Plugin Template rendern ohne Мasterview und als String an Echo übergeben
Beispiel:
$ templateString = $ Sender- > Render ( $ this-> GetView ( test.php ));
echo templateString ;
danke im Voraus
0
Comments
Maybe simply with an include...
Thanks
And with SetData() ? Possible ?
Set the delivery type to view and use PHPs output buffering. E.g.:
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Thanks OneMore,
Bat the Base_Render_Before run 2 once
TiA
Sender->DeliveryType(DELIVERY_TYPE_ALL);
works like this, but the menu is created double, the menu items are all double.
can someone faced such problem.
thanks in advance
p.s i spеак German better.