sdebacker / TypiCMS

Multilingual CMS built with Laravel 4.2
MIT License
474 stars 119 forks source link

TypiCMS::getPageLinkedToModule ??? #123

Closed cxc222 closed 8 years ago

cxc222 commented 8 years ago

if ($page = TypiCMS::getPageLinkedToModule('news')) { }

"TypiCMS::getPageLinkedToModule" how ???

There are examples ?

sdebacker commented 8 years ago

Hello cxc222, A page that is linked to a module has the column 'module' set. This column can be set in the administration interface of TypiCMS.

sdebacker commented 8 years ago

In fact this method doesn’t exist in this version of TypiCMS.

Only v2 has it: https://github.com/TypiCMS/Base