insperedia / yiidea-support

Other
2 stars 0 forks source link

"The view does not use parameters" with Smarty templates #15

Open Sandritsch91 opened 3 months ago

Sandritsch91 commented 3 months ago

With smarty views, the plugin can't detect wether the variables are declared in the view file:

image

In the view file i tried:

{* $event *}
{* \models\Event $event *}
{* @var $event*}
{* @var \models\Event $event *}

But nothing seems to be recoginzed, how can I declare the variable so that it gets recognized?

Thanks

verifiera commented 3 months ago

Did you tried change setting to view type - Smarty?

Sandritsch91 commented 3 months ago

Yes, Default view File Extension is "tpl" image

verifiera commented 3 months ago

I will check this problem. Unfortunatly it will take some time, like a month.

Sandritsch91 commented 3 months ago

thanks! No problem, thanks for your work!