CMS MADE SIMPLE FORGE

SEO Tools

 

[#6009] How to make this compatible with dynamic modules content

avatar
Created By: Kenneth Griffith (kendo451)
Date Submitted: 2011-01-17 12:13

Assigned To:
Resolution: None
State: Open
Summary:
How to make this compatible with dynamic modules content
Detailed Description:
1. instead of asking for the name of the Meta Description Block, make this a
Smarty field so I can either do this:
{content block='Meta Description}

or this:
{$meta_description}

Then for a smarty module, like News, CGBlog, or Products, just add this to the
smarty template:

{assign var='metadescription' value=$entry.field.metadescription}

Obviously the value= will depend on the module, but by allowing us to use
{$metadescription} instead of a content block, we can make sure our modules
generate the correct description for the page.

2. For the sitemap, add a template that allows you to call CGFeedMaker to
generate a list of all the dynamic content urls.

History