![]() |
|
Forum RSS smilesmile Notifications4InboxBookmarksAccount Options New Discussion Quick Links My Dis - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Forum RSS smilesmile Notifications4InboxBookmarksAccount Options New Discussion Quick Links My Dis (/thread-13166.html) |
Forum RSS smilesmile Notifications4InboxBookmarksAccount Options New Discussion Quick Links My Dis - smilesmile - 2018-11-04 Hi! I want to include the Zenpage posts in the Albums-View as follows: and so on. I have already managed to collect the timestamps and names of the zenpage posts and the albums and I have sorted them by the timestamps. The resulting array looks like this: array(3) { [0]=> array(3) { Now I am looking for a function like makeAlbumCurrent(); that I can use to output the albums. Any suggestions? Cheers! lamy Forum RSS smilesmile Notifications4InboxBookmarksAccount Options New Discussion Quick Links My Dis - fretzl - 2018-11-04 Can you please change the title of your topic to something that actually makes sense? Forum RSS smilesmile Notifications4InboxBookmarksAccount Options New Discussion Quick Links My Dis - acrylian - 2018-11-04 I second fretzl's request for a proper topic title ;-) As far as I understand you want a combine listing of albums and articles on the same page, the There was once a feature called "CombiNews" that allowed albums being listed within articles (so the other way round). This was technically a "beast" (especially to maintain) since both item types work a bit different being different tables and it was outside the core object model. Therefor it was dropped a while ago. But it would be possible to mix articles within albums if you don't care that the items per page number may vary and that pagination may be a bit weird. There is no Info on the Zenpage classes here: Fetch the articles and on those that match the album date of the page create an news article object. You then could pass that object to the global |