Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Page Metadata referencing and creating...

$
0
0
I'm in a situation where I need to add some metadata to a specific page type but I seem to be running into a wall.

I tried to create the the type by code using IPageMetaData (my preferred way of doing it) but once I did that I did not see the type show up anywhere in the admin nor did I find any documentation on how to create and reference the Form XML files for that type.

So I decided to go down the path of creating the "Page Metatype" within the interface, but since i've done that I can't seem to figure out how to reference the newly created type within my Razor Templates and Functions.

What am I missing? Like I mentioned earlier, I would prefer to do this all in code (c#/xml/razor) if possible but I definitely want to know how to see this through from both approaches.

thanks!

Viewing all articles
Browse latest Browse all 2540

Trending Articles