qubeshub / hubzero-cms

HubZero CMS code base for QUBESHub.
https://qubeshub.org
GNU General Public License v2.0
0 stars 1 forks source link

Publication macro is not working with project id #116

Closed mdlama closed 6 years ago

mdlama commented 6 years ago

@hayleyorndorf Hayley, this is the code that is not working?

[[Publications(project=1847, sponsor=1244;1233)]]
[[Publications(project=1696, sponsor=1244)]]

Where are you getting the project id's from? The largest project id we have on QUBES is 584, so not sure where 1847 and 1696 are coming from.

Now, I really need to refactor the code so that you can put in project short name - let me look into that really quickly to see if I can't just do that.

mdlama commented 6 years ago

Okay, the ability to use project alias instead of id is working for projects. Note that this is in the site-wide macro, not the individual supergroup macros. My plan is to make this work for group and sponsor as well for the March 4 code push.