U4-4153 - Macro snippets refer to 'MediaCurrent' and 'Show'

Created by Douglas Robar 28 Jan 2014, 13:29:09 Updated by Sebastiaan Janssen 24 Feb 2014, 11:00:15

Relates to: U4-4121

The following comment (or similar) appears at the top of many macro snippets:

Macro Parameters To Create, for this macro to work: Show:True Alias:mediaId Name:Media Folder ID Type:MediaCurrent

However, MediaCurrent is no longer available as a datatype and the v7 UI has removed the 'Show' checkbox.

"Type:MediaCurrent" should be changed to "Type:Single Media Picker" in these snippets:

  • \umbraco\Partial View Macros\Templates
    -- Gallery.cshtml -- ListImagesFromMediaFolder.cshtml
  • \umbraco\Scripting\Templates
    -- Gallery.cshtml -- ListImagesFromMediaFolder.cshtml

"Show:True" should be removed from these snippets:

  • \umbraco\Partial View Macros\Templates
    -- Gallery.cshtml -- ListchildPagesFromChangeableSource.cshtml -- ListChildPagesOrderedByProperty.cshtml -- ListImagesFromMediaFolder.cshtml
  • \umbraco\Scripting\Templates
    -- Gallery.cshtml -- ListChildPagesFromChangeableSource.cshtml -- ListImagesFromMediaFolder.cshtml

Comments

Douglas Robar 28 Jan 2014, 16:32:52

Has the wrong linked issue... should be U4-4121.


Sebastiaan Janssen 28 Jan 2014, 17:49:12

whoops sorry!


Sebastiaan Janssen 24 Feb 2014, 11:00:11

Fixed in rev fc3020ffa4a12cb0a489bc5eb35c7219fab30599


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.2

Due in version: 7.1.0

Sprint:

Story Points:

Cycle: