Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a new webskin template ./webskin/superpower/librarySelected.cfm
  2. Copy the following code into the webskin:
    Code Block
    <cfsetting enablecfoutputonly="true" />
    <!--- @@displayname: Power (Library) --->
    
    <cfoutput>
    <div>
    <img src="#application.url.webroot#/#stobjwebroot##stobj.imgPower#"  alt="#stobj.title#" title="#stobj.title#" /> #stobj.title#<br />
    #stobj.description#
    </div>
    </cfoutput>
    
    <cfsetting enablecfoutputonly="false" />
    
  3. Reload the COAPI Metadata to register the newly added webskin.
  4. Go back to the Super Hero admin and try adding super powers. Make sure your librarySelected webskin is working as expected.

...