Newbie question - 2 lists

Hello all,

I am very new to CM and also just learning web programming. I am developing a newsletter template for our company. Using the repeater tag I was able to allow the newsletter editor to as many articles as she likes.

Now on the left side bar, we normally publish a list of upcoming events. These events vary in number every month. The title of each event is hyperlinked to the event details.

My question is how can I provide the newsletter editor a flexible way of adding as many events as she likes?

Thanks a lot for your help!

Best regards,
Hitesh

Blake, 8 years ago

Hi Hitesh,

For this sort of thing you’d also use a repeater, however you’d probably just use a simple repeater with only a <$title$> tag. For example:

<ul>
    <repeater>
        <li>
            <$title link='true' default='Enter Event Name Here'$>
        </li>
    </repeater>
</ul>

You’ll notice the link='true' attribute – this allows you to link the title to the details for each event. Hope that helps.

eknowtion, 8 years ago

Thanks Blake. That worked :-)

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free