Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Accessing Items through the Front End using GridField


Go to End


1009 Views

Avatar
Parker1090

Community Member, 46 Posts

25 July 2013 at 3:01am

Edited: 25/07/2013 3:02am

Hello!

I have a page type called 'Category', which uses the GridField interface in the admin side of things. Using this, all items can be added (and details such as price etc).

However, how can I access these items through the front end of the site? I've got the items to list on the category page, but simply using "$Link" does nothing. I'm still exploring this avenue, so I may have got the wrong end of the stick in how to use it correctly, but if someone could point me in the right direction, I'd appreciate it.

Many Thanks,
Matt