Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
4.4.0
-
None
Description
Hi,
I've migrated my ez 4.3 to 4.4, I have a design I can check in admin.domain.com/Design. The latter has in the field RSS export: /rss/feed/my_feed
And the template /extension/ezwebin/design/ezwebin/templates/link.tpl shows this rss whatever it exists or not ! with the following code:
{if and( is_set($pagedesign), $pagedesign.data_map.rss_feed.has_content )} <link rel="Alternate" type="application/rss+xml" title="RSS" href="{$pagedesign.data_map.rss_feed.data_text|ezurl(no)}" /> {/if}
=> Definitely, at least, this piece of code should check the RSS export REALLY exists before showing it !
But I really thing the best solution would be to drop the RSS attribute in the design. And link.tpl should show all rss that exist by fetching the rss export...