-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Each meetup has provisions for links:
mergephp-website/src/AbstractMeetup.php
Lines 36 to 39 in 7643ff1
| public function getMeetupLinks(): array | |
| { | |
| return []; | |
| } |
We use this to link back to the respective cities meetup pages; example:
mergephp-website/src/Meetup/Meetup20230309WebhooksTheGoodTheBadAndTheUgly.php
Lines 56 to 68 in 6b25e66
| public function getMeetupLinks(): array | |
| { | |
| return [ | |
| Meetups::Atlanta->value => 'https://www.meetup.com/atlantaphp/events/291892502/', | |
| Meetups::Austin->value => 'https://www.meetup.com/austinphp/events/xsbbctyfcfbmb/', | |
| Meetups::KansasCity->value => 'https://www.meetup.com/kcphpug/events/zlfpzsyfcfbmb/', | |
| Meetups::LasVegas->value => 'https://www.meetup.com/vegas-programmers/events/291655784/', | |
| Meetups::Phoenix->value => 'https://www.meetup.com/azphpug/events/292088678/', | |
| Meetups::SanDiego->value => 'https://www.meetup.com/sandiegophp/events/292081010/', | |
| Meetups::Seattle->value => 'https://www.meetup.com/seaphp/events/291540671/', | |
| Meetups::Utah->value => 'https://www.meetup.com/utah-php-user-group/events/292010849/', | |
| ]; | |
| } |
Currently, these links are only shown on the homepage:
mergephp-website/templates/index.twig.html
Lines 24 to 30 in 46f569c
| {% if nextMeetup.getMeetupLinks()|length > 0 %} | |
| RSVP: | |
| {% for name, link in nextMeetup.getMeetupLinks() %} | |
| <a href="{{ link }}">{{name}}</a>{% if not loop.last %}, {% endif %} | |
| {% endfor %} | |
| {% endif %} |
Should they also be listed on the individual meetup (archive) pages?
Metadata
Metadata
Assignees
Labels
No labels