Skip navigation
Currently Being Moderated

How best to implement diffent meta tag

Jul 27, 2012 12:01 PM

I need to implement a number of different meta tags for a CQ site I am building. Some meta tags are site wide maintainable i.e. to appear with the same values on all templates and page, and some are maintainable per page.

 

How best should I implement these?

 

  1. Should I add some page dialog properties for these tags
  2. Should I add a textarea or multifield so any number of tags can be added
  3. Should I add them to the template
 
Replies
  • Currently Being Moderated
    Jul 29, 2012 6:25 PM   in reply to Dan Chapman

    IMO, I prefer defining multifield with textfield in page properties dialog.  Generally, metatags are same on all pages in websites. Implementing inherited setting (Ex:- cq:inherit)  would be more ideal for the above mentioned usecase.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2012 7:00 PM   in reply to Dan Chapman

    That's true. Create a design dialog component and apply inheritance there.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 5, 2012 4:10 AM   in reply to Sham HC

    Hi,

     

    Could you explain how cq:inherit works?  I read the documentation and it says: "defines if missing values are inherited from the component that it inherits from."  But that's a bit vague for me...

     

    Regards,

    Jan

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points