Skip to content

Should each meetup page link back to the individual meetup pages? #9

@cookieguru

Description

@cookieguru

Each meetup has provisions for links:

public function getMeetupLinks(): array
{
return [];
}

We use this to link back to the respective cities meetup pages; example:

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:

{% 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions