UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

How to call index.php?option=com_payplans&view in PHP(or Java)?

Kirill Pilipenko · ·
2:11 AM Wednesday, 14 March 2018
High
How do I call plans in PHP (or Java)?

Yeah I know, users can create their own div wrapper around playplans (https://stackideas.com/docs/payplans/administrators/customizations/pricingpage).

But I'm looking for a way to call already generated Payplans.
You have them in Menu by link :

index.php?option=com_payplans&view=plan&task=subscribe&plan_id=0&group_id=0


So I tried

<?php
$FileContents = file_get_contents("*your domain*/index.php?option=com_payplans&view=plan&task=subscribe&plan_id=0&group_id=0");
echo $FileContents();
?>


It does work but also gives me footer and menu, because I call for a whole page. =)
There should be an easier way to call them same way menu does...?
The replies under this section are restricted to logged in users or users with an active subscription with us