Skip to main content
Improved formatting
Source Link
Vipin Kothari
  • 2.7k
  • 1
  • 11
  • 15

You can use categories and keywords for classifying certaindifferent types of content like pages of different products in your example.

So, in your example the department/electronics will be the category and TV, PC etc will be keywords. On the keywords classify the banner componentsbanner components like PC keyword will have PC banner componentPC banner component classified on the keyword.

  On save of a page in a certain structure group like "PC", automatically classifyclassify the appropriate keyword using the event system to the newly created page. Create

Create the banner components as a dynamic componentsdynamic components so that you don't have to publish the pages everytime, when you change banner images for examplein the banner components. Now

Now, from DD4T you will be able to get the classified keyword on each page which will have the TCM uri of the banner component. You can query for the same using TCM uri and render the same in any page by calling render dynamic component method from DD4T. This logic of getting and including the dynamic component will be on your page template (which can be c# razor view or its equivalent in Java)

You can use categories and keywords for classifying certain types of content like pages of different products in your example.

So, in your example the department/electronics will be the category and TV, PC etc will be keywords. On keywords classify the banner components like PC keyword will have PC banner component classified on the keyword.

On save of a page in a certain structure group like "PC", automatically classify the appropriate keyword using event system to the newly created page. Create the banner components as a dynamic components so that you don't have to publish pages everytime you change banner images for example. Now, from DD4T you will be able to get the classified keyword on each page which will have the TCM uri of the banner component. You can query for the same using TCM uri and render the same in any page by calling render dynamic component method from DD4T. This logic of getting and including the dynamic component will be on your page template (which can be c# razor view or its equivalent in Java)

You can use categories and keywords for classifying different types of content like pages of different products in your example.

So, in your example the department/electronics will be the category and TV, PC etc will be keywords. On the keywords classify the banner components like PC keyword will have PC banner component classified on the keyword.

  On save of a page in a certain structure group like "PC", automatically classify the appropriate keyword using the event system to the newly created page.

Create the banner components as a dynamic components so that you don't have to publish the pages everytime, when you change banner images in the banner components.

Now, from DD4T you will be able to get the classified keyword on each page which will have the TCM uri of the banner component. You can query for the same using TCM uri and render the same in any page by calling render dynamic component method from DD4T. This logic of getting and including the dynamic component will be on your page template (which can be c# razor view or its equivalent in Java)

added 479 characters in body
Source Link
Vipin Kothari
  • 2.7k
  • 1
  • 11
  • 15

youYou can use categories and keywordscategories and keywords for classifying certain types of content like pages of different departmentproducts in your example.

So, in your example the department is/electronics will be the category and then TV, AudioPC etc aswill be keywords. On keywords classify the banner components like PC keyword will have PC banner component classified on the keyword. On

On save of a page in a certain structure group like "PC", automatically classify the appropriate keyword using event system to the newly created page. Create that componentthe banner components as a dynamic componentcomponents so that you don't have to publish pages everytime you change banner images for example. Now, from DD4T you will be able to get the classified keyword on theeach page which will have the TCM uri of the banner component and you. You can query for the same using TCM uri and render the same in any page by calling render dynamic component method from DD4T. This logic of getting and including the dynamic component will be on your page. template (which can be c# razor view or its equivalent in Java)

you can use categories and keywords for classifying certain types of content like pages of different department in your example.

So, department is the category and then TV, Audio etc as keywords. On keywords classify the banner components. On save of a page in certain structure group, automatically classify the appropriate keyword using event system. Create that component as dynamic component. Now, from DD4T you will be able to get the classified keyword on the page which will have the TCM uri of the banner component and you can render the same on your page.

You can use categories and keywords for classifying certain types of content like pages of different products in your example.

So, in your example the department/electronics will be the category and TV, PC etc will be keywords. On keywords classify the banner components like PC keyword will have PC banner component classified on the keyword.

On save of a page in a certain structure group like "PC", automatically classify the appropriate keyword using event system to the newly created page. Create the banner components as a dynamic components so that you don't have to publish pages everytime you change banner images for example. Now, from DD4T you will be able to get the classified keyword on each page which will have the TCM uri of the banner component. You can query for the same using TCM uri and render the same in any page by calling render dynamic component method from DD4T. This logic of getting and including the dynamic component will be on your page template (which can be c# razor view or its equivalent in Java)

added 41 characters in body
Source Link
Vipin Kothari
  • 2.7k
  • 1
  • 11
  • 15

Based on what I understood from the question, you can do the below:

Create DCPsuse categories and keywords for common componentsclassifying certain types of content like pages of different department in your example. (like Header

So, Footerdepartment is the category and then TV, Audio etc as keywords.) which are present on all pages or most of On keywords classify the pages and include them directlybanner components. On save of a page in your page templates with RenderDynamicComponent presentation methodcertain structure group, automatically classify the appropriate keyword using event system. Create that component as dynamic component. Now, from DD4T. This you will ensure thatbe able to get the pages do not need republish when you changes anyclassified keyword on the page which will have the TCM uri of the DCPsbanner component and they are still present onyou can render the same on your page. We use this approach for Header and Footers components and we use DD4T as well. This works absolutely fine.

Based on what I understood from the question, you can do the below:

Create DCPs for common components (like Header, Footer etc.) which are present on all pages or most of the pages and include them directly in your page templates with RenderDynamicComponent presentation method from DD4T. This will ensure that the pages do not need republish when you changes any of the DCPs and they are still present on the page. We use this approach for Header and Footers components and we use DD4T as well. This works absolutely fine.

you can use categories and keywords for classifying certain types of content like pages of different department in your example.

So, department is the category and then TV, Audio etc as keywords. On keywords classify the banner components. On save of a page in certain structure group, automatically classify the appropriate keyword using event system. Create that component as dynamic component. Now, from DD4T you will be able to get the classified keyword on the page which will have the TCM uri of the banner component and you can render the same on your page.

added 22 characters in body
Source Link
Vipin Kothari
  • 2.7k
  • 1
  • 11
  • 15
Loading
Source Link
Vipin Kothari
  • 2.7k
  • 1
  • 11
  • 15
Loading