Loop/link building not acting as expected
-
Here is the code I’m having trouble with, in bold…. The first field display with the “glue” is to make sure I’m grabbing the field, etc.
Page URL = https://rdollar.one/balances/[apr_populate field=”CID” relatedTo=”CIDS”]
[apr_populate field=”CID|CO-CREATIONS” relatedTo=”STORIES”]
[apr_loop]
<div style=”padding:40px;margin:40px;border:1px solid #cccccc”>CID:record_id Name: {{NAME}}
CID: {{CID|CITIZEN}}
Memo: {{CID|MEMO}}
Balance: R${{R$ RECEIVED}}
Merit: {{MERIT}}CO-CREATIONS
[apr field=”CID|CO-CREATIONS|NAME” glue=” — “]
[apr field=”CID|CO-CREATIONS|MEMO” glue=” — “]<!– should make links, but creates one big one –>
{{CID|CO-CREATIONS|NAME}}<!– Trying to make the loop work, this loads blank page
[apr_loop1 field=”CID|CO-CREATIONS”]
{{NAME}}!
[/apr_loop1]
–>As you can see from the comments I’ve put in, if I loop on a field, the page doesn’t render, if there’s no field I get “everything”. Any help resolving this would be great, as it’s the last piece to the puzzle.
The page I need help with: [log in to see the link]
- The topic ‘Loop/link building not acting as expected’ is closed to new replies.