CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#10782] Add 'alias' and 'id' to the properties that can be retrieved by plugin page_attr

avatar
Created By: Ludger Merkens (lume)
Date Submitted: 2015-12-09 13:11

Assigned To:
Resolution: Fixed
State: Closed
Summary:
Add 'alias' and 'id' to the properties that can be retrieved by plugin page_attr
Detailed Description:
with the introduction of the 'page' parameter to page_attr, the page_attr plugin
has become a nice tool to fetch data from other pages. Especially in combinaton
with the 'Navigator'. As page_attr allows to fetch the contentobj by id as well
as by alias, it might be interesting to fetch the 'alias' from a contentobj
retrieved by id (as well as the id from an alias)

As with the advent of cmsms 2.0 the contentobj is directly visible from smarty,
it might also be safe to return the retrieved contentobj itself.

thank you for your work
Ludger Merkens

History

Comments
avatar
Date: 2016-05-10 14:31
Posted By: Robert Campbell (calguy1000)

done for 2.2
      
avatar
Date: 2016-05-11 04:06
Posted By: Ludger Merkens (lume)

great news!
      
Updates

Updated: 2016-09-28 09:16
state: Open => Closed

Updated: 2016-05-10 14:31
resolution_id: => 7