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

How to link page type to ss file


Go to End


3 Posts   1266 Views

Avatar
cakesy

Community Member, 4 Posts

27 February 2014 at 2:07pm

So I have a page type called Product Page in the CMS. How do I find what page this corresponds to? I have looked in the mytheme/templates/layout directory, and there is no ProductPage.ss, or any ss that corresponds to that page?

Avatar
Hattori

Community Member, 20 Posts

27 February 2014 at 5:54pm

Did you create the file ProductPage.php or it comes with a specific module?

Avatar
cakesy

Community Member, 4 Posts

28 February 2014 at 10:47am

No, idea I am taking over a site from someone else. I finally found it.

For some reason, no code or templates are stored under mysite/code (wonderful name), some templates are stored under the theme /templates, and then for some unknown reason some are stored under commonextensions/templates. Of course, it doesn't tell me this anywhere in the CMS that I can find, which would be valuable info.