assemblee-virtuelle / wp-ldp

LDP Plugin for wordpress
Other
19 stars 2 forks source link

Missing form fields for pre-defined resources, no integration when adding posts/pages #80

Open ideas-into-software opened 6 years ago

ideas-into-software commented 6 years ago

Hi,

I'd greatly appreciate your guidance with resolving this.

I've set up test WordPress environment based on Turnkey Linux WordPress ISO (https://www.turnkeylinux.org/wordpress), then upgraded to latest WordPress version, 4.9.6.

WordPress itself runs well, however the LDP plugin, even though I installed it exactly as per instructions (https://github.com/assemblee-virtuelle/wp-ldp/wiki/Installation), does not seem to work properly.

1. There are missing form fields for pre-defined resources Containers were initialized and I can see the "Resources" section in menu. I defined several resources, of type "Document", "Person", "Event". However, nothing outside title for a given resource can be specified - the additional form fields (as shown on https://github.com/assemblee-virtuelle/wp-ldp/wiki/The-first-usage), specific to each resource as per its schema, are missing.

2. No integration when adding posts/pages - how can graph be properly generated then Once resources are defined, when adding new posts/pages, I do not see those resources in UI as available to be associated with specific post/page. So how can proper graph of info available on a given site/blog be constructed if relation between "Resource" and "Page" or "Post" cannot be defined?

Regards, Michal

Vidyut commented 6 years ago

Something wrong with how the meta boxes are coded. I have this problem too and have discovered that they appear after publishing the post. So it seems we end up publishing a blank post and then filling in information as updates...

Rushed for time in the next few weeks. Will try to take a look at the code and suggest fixes when I can.

bimcoordinatoruk commented 6 years ago

Michal looking forward to understanding how post and containers are connected. (and how to use them) have created interactive graph to understand the connections http://graph.bimcoordinator.co.uk/?graph=6a38848da212a77b2193c89494a50dd1 Phil

balessan commented 6 years ago

@Vidyut has it. The resource needs to be published once to be able to access its schema definition from the associated container. I did not find an easy way to deal with that.

@7thraylabs your second point is an in interesting idea. The first version of this plugin was providing a standalone resource exposition mechanism, without proper integration with existing post/page/users objects. I think it's missing.