Adding content to the datafeeds pages

Mod_datamenu allows to add extra text, meta tags and page titles to single datafeeds pages.

For example, this gardening page has a customized meta-description and (the same) text in the lower left part of the page.

Step one

adding a mod_datamenu module

Create a new mod_datamenu module using the 'extensions -> module mangager' in the joomla administrator. On the right select 'Article' ( artikel in older versions) as your layout. On the left assign it a title and module position.

 

Step two

adding and mapping content

To map articles to datafeeds pages the datafeeds page slug is used. This slug is used as  article alias when creating an article.

The page slug is the part of the url starting with the menu-alias.The menu alias is defined in the joomla-menu settings of the datafeeds page.

From the slug only the string parts are used. Replace slashes '/', spaces ' ' and pluses '+' with dashes '-' and remove any query parameters from the url including the numbers and t- and q- tokens used in the datafeeds sef url.

You can find the alias in the source code of your html page, between comment markt. ( some templates/plugins strip the comments from you html)

Examples :

http://demos.affiliatefeeds.nl/shop/garden.html article alias will be 'garden'

http://demos.affiliatefeeds.nl/shop/garden/Gifts/3-All+gifts.html article alias will be garden-gifts-all-gifts 

If you are using non-sef url simply use the query values add up the q? values and prepend the menu alias. http://demos.affiliatefeeds.nl/shop/index.php?option=com_datafeeds&Itemid=153&q1=Gifts&q3=All+gifts gives the same alias as the previous example.

If your datafeeds are used as default page in joomla 1.7 the menu alias is not used. This the article alias for http://demos.affiliatefeeds.nl/shop/Tuin.html is tuin.

 

If you want to add content to sub-pages add the page 'number' to the alias.

Example:

The extra content is at the bottom.

First page: http://demos.affiliatefeeds.nl/shop/fashion.html

Second Page : http://demos.affiliatefeeds.nl/shop/fashion/start20.html

Third and other pages : http://demos.affiliatefeeds.nl/shop/fashion/start80.html

The last 'third and other pages' is achieved by settings the levels parameter in the module to 3.

If you want to have the same (first page) content on all pages set levels to 0

 

 

 The component does not allow to manually modify single items, although changes can be performed using import filters.