Resource icon

Nerbert Template Cookies 1.0.0

No permission to download


Active member
Nerbert submitted a new resource:

Nerbert Template Cookies - Reads cookies into template params, handles JSON cookies, template param {$pageName}

This product reads XenForo cookies into template params (session, session_admin and user excluded). This avoids the need to create new tables or modify existing ones to store user options in add-on products and makes it possible to use them when templates are rendered without having to extend classes. Cookie values are filtered using the same method as XenForo uses for filtering get and post inputs.

Cookie values are available as $visitor.cookie.(cookie name). Example:...

Read more about this resource...