1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Extending Pages with META fields

Extending Pages with META fields

5 posts, 0 answered
  1. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    12 Nov 2007
    Link to this post
    I read, with great interest, the help file on extending "Generic Content" based modules with META fields.  I'm personally interested in extending Sitefinity pages with META info however.

    Is this possible?  Or is this just crazy talk?

    Thanks,

    Gabe
    ==================

  2. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    13 Nov 2007
    Link to this post
    Hi Gabe,

    Did you mean you want to add meta tags to a page in Sitefinity? If that is the case, there is already such an option for you. If you go to the Properties tab of a page in the Admin part pf Sitefinity, there is a More Options link at the bottom right before the Save Changes button. When you expand it, you will find an Add Head Tags section where you can add meta tags or links to that page.

    If this is not what you meant, please describe in detail the desired behavior.

    All the best,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    27 Nov 2007
    Link to this post
    This is another post I've neglected because I haven't had time to flush out my ideas a bit more.

    It was actually Seth who re-focused my attention on this issue.  See his comments on this page:

    http://www.goondocks.com/blog/07-11-19/sitefinity_page_title_control.aspx

    Forgive me Seth if you didn't want me to use your words, but I thought you put this issue nicely.  Quoted:

    It appears that it is a limitation of Sitefinity that you can't add custom metadata fields (which is an issue for government sites in Australia) to the page - such as department. So I had to make this work around.

    This is a good example of what I was trying to say about extending pages with META fields (or metadata). 

    I personally have a scenario where I would like to be able to associate thumbnail images with some pages.  I would like to have a custom field called "Thumbnail URL" (or something like that) available for each page.  When I render site navigation to these pages, if a thumbnail is available I can display it next to the link.    (Maybe a bit dumb I know, I have a reason for it though.)

    I would further like to associate a WebEditor with my custom "Thumbnail URL" meta field.  This would provide a user friendly interface for uploading the thumbnail.

    In Seth's example, the WebEditor could be a drop-down of approved "Departments".

    Those are 2 good examples, but the uses for this are unlimited.  If I can associate custom meta data with my pages and query, display, and edit these fields in robust ways, there is a lot of really neat stuff I can do.

    Does this explain the request any better?  Sorry I took so long to reply.  If you have questions, please ask me.  I'm also open to alternative methods!

    Gabe
    ==============
  4. UI Crew
    UI Crew avatar
    99 posts
    Registered:
    24 Sep 2012
    27 Nov 2007
    Link to this post
    Hi,

    I would like to add to Gabe's question perhaps you can answer us both.

    My concern was around adding customer metadata... an Australia government site has to add these additional metadata fields below on key entry pages (called the AGLS standard) and on other pages just the standard set.

    It appears though that you cannot add custom fields like this. Not that you would want to have users fill in these manually all the time but some you might:

    <meta name="DC.Identifier" scheme="URI" content="http://www.australia.gov.au/" />
    <meta name="DC.Title" content="australia.gov.au : your connection with government" />
    <meta name="DC.Creator" scheme="X500" content="ou=Australian Government Information Management Office (AGIMO) ; o= Commonwealth of Australia ; c=AU" />
    <meta name="DC.Publisher" scheme="X500" content="ou=Australian Government Information Management Office (AGIMO) ; o= Commonwealth of Australia ; c=AU" />
    <meta name="DC.Description" content="The australia.gov.au website is your connection with government in Australia. It links to information and services on over 700 Australian Government websites as well as selected state and territory resources. Australia.gov.au also searches over five million government web pages." />
    <meta name="DC.Subject" scheme="TAGS" content="Government information; Federal government; Government services; Government publications; Web sites" />
    <meta name="DC.Date.valid" scheme="ISO8601" content="2004-06-30" />
    <meta name="DC.Type.aggregationLevel" content="collection" />
    <meta name="DC.Type.documentType" scheme="agls-document" content="homepage" />
    <meta name="DC.Format" scheme="IMT" content="text/html" />
    <meta name="DC.Language" scheme="RFC3066" content="en" />
    <meta name="DC.Coverage.jurisdiction" scheme="AglsJuri" content="Commonwealth of Australia" />
    <meta name="DC.Rights" content="Copyright Commonwealth of Australia 2004" />
    <meta name="AGLS.Function" scheme="AGIFT" content="Information dissemination; Collection access; Website development; Electronic publishing" />
    <meta name="AGLS.Audience" scheme="agls-audience" content="all" />
    <meta name="Content-Language" content="en" />
    Seth
  5. Vlad
    Vlad avatar
    498 posts
    Registered:
    19 Jun 2017
    28 Nov 2007
    Link to this post
    Hi Gabe and Seth,

    Thank you for the suggestion.
    This is a nice idea and we will definitely take it into consideration when planning the features for the next release.

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
5 posts, 0 answered