Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.30.1, shortcode, template, upcoming_list
- This topic has 7 replies, 2 voices, and was last updated 4 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
11/16/2018 at 11:57 am #477195
nick1450
ParticipantWe use Connections to list birthdays and wedding anniversaries. using Tile Plus.
https://richmondcarotary.org/anniversary/(This is the main directory page:
https://richmondcarotary.org/members/ )We want to display the Membership date option on the Anniversary page.
To do this I added the last div statement to the HTML for that page:<div style=”float:left; width:410px;margin-bottom:60px;”>[upcoming_list list_type='birthday' show_lastname='true' upcoming_list list_title='Birthdays in the next 30 days']</div>
<div style=”float:right; width:410px;margin-bottom:60px;”>[upcoming_list list_type='anniversary' show_lastname='true' upcoming_list list_title='Wedding anniversaries in the next 30 days']
</div>
**
<div style=”float:right; width:410px;margin-bottom:60px;”>[upcoming_list list_type=‘membership’ show_lastname='true' upcoming_list list_title=‘Rotary membership anniversaries in the next 30 days']
</div>
**
This produces an error message, “Template not found.”
What do I need to do to display the Membership dates?
I looked at the Documentation but was not able to find the answer to my question. If you want to just point me to the right page or video, that’s sufficient.Thank you
Nick Despota
11/16/2018 at 12:29 pm #477202Steven Zahm
Keymaster@ Nick
The
list_type
option for the[upcoming_list]
plugin sets the template type to load. There are only templates available for anniversaries and birthdays. There is not one available for memberships so this will result in the template not found error you are receiving.What you can try is setting the
template
option to anniversary or birthday to override the type set by thelist_type
option. That said, maybe this code will work:<div style="float:right; width:410px;margin-bottom:60px;">[upcoming_list list_type='membership' show_lastname='true' list_title='Rotary membership anniversaries in the next 30 days' template='anniversary']</div>
I do not know if that will work as I have never tested this scario before.
Hope this helps, let me know.
-
This reply was modified 4 years, 10 months ago by
Steven Zahm. Reason: Tweak example shortcode
11/25/2018 at 6:48 pm #477784nick1450
ParticipantThis reply has been marked as private.11/26/2018 at 11:25 am #477851Steven Zahm
Keymaster@ Nick
Try this instead:
[upcoming_list list_type='membership' show_lastname='true' list_title='Rotary membership anniversaries in the next 30 days' template='anniversary-light']
I forgot the template slugs are actually
anniversary-light
,anniversary-dark
,birthday-light
andbirthday-dark
which explains the template not found notice. Apologies!11/27/2018 at 7:56 pm #478025nick1450
ParticipantYep, that worked, Steve! HOWEVER, it doesn’t show the date, as do the other Anniversary displays on this page:
https://richmondcarotary.org/anniversary/
See initial email to view HTML of complete page.Thanks
Nick
11/28/2018 at 10:29 am #478108Steven Zahm
Keymaster@ Nick
Ok, digging deeper into the code… It seems the date is still being pulled from the legacy anniversary or birthday fields. And that is set be the list_type. The upcoming templates will need to be updated to pull the date from the modern date data.
It just so happen that I am working on the block equivalent for the upcoming list for the new WP 5.0 editor. The plan is to support lists for any of the registered date types. So, I will have to update the template code.
I do apologize for the inconvenience, but, the next update should automagically resolve this for you. Hopefully I can get this out later this week.
12/03/2018 at 7:58 pm #478436nick1450
ParticipantYES!! Thank you so much, Steven. I just checked and the name and date appear in the Anniversaries for Membership dates.
I really appreciate your commitment to constant improvement.
Happy holidays.
Nick Despota
12/04/2018 at 10:07 am #478500Steven Zahm
Keymaster@ Nick
Great to hear it is working for you now! The next update will include options to display the original anniversary/birthday date year instead of the date in the current/next year or display it as years since (ex. 5 Years or 29 Years).
If you have a moment, I would truly appreciate a review as they really do make a difference.
https://wordpress.org/support/plugin/connections/reviews/
Thanks in advance for your time!
-
This reply was modified 4 years, 10 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.