Class name missing

matthew.wren's Avatar

matthew.wren

30 Oct, 2014 02:10 PM

Hello,

In our Royal News site we have a data definition and format set up to pull a page's content from our main news releases site. An example would be this: the original news article and the same article within our Royal News site. I have attached an image showing how it pulls in the news article page into Royal news. The format in Royal News then pulls the content from the news article itself but this where my problem start. I've added an additional class to the images called medSize so I can specifically style the image within our royal news site..but this class does not appear in Royal News, only in the news site.

Is there something I'm missing to ensure that this class carries over into Royal News? It's a bit confusing to me as to why it isn't working.

This is how the html looks in the news site:
<div class="multimedia medSize" style="float:Right; margin-Right:0px;">

and this is how it appears in Royal News:
<div class="multimedia" style="float:Right; margin-Right:0px;">

  1. 1 Posted by matthew.wren on 30 Oct, 2014 02:51 PM

    matthew.wren's Avatar

    realized I provided the inccorect link for the news site...Here it is!

  2. 2 Posted by Ryan Griffith on 31 Oct, 2014 06:51 PM

    Ryan Griffith's Avatar

    Hi Matthew,

    When you have a moment, please attach your Format so we can take a closer look at what might be going on.

    Thanks!

  3. Ryan Griffith closed this discussion on 10 Nov, 2014 08:58 PM.

  4. matthew.wren re-opened this discussion on 14 Nov, 2014 03:01 PM

  5. 3 Posted by matthew.wren on 14 Nov, 2014 03:01 PM

    matthew.wren's Avatar

    Sorry Ryan, I must not have seen the email in my inbox for this one!

    This is the royal news borrowed page format

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
        <xsl:include href="site://www.scranton.edu/news/assets/formats/press-release-nocontactdefault"/>
      <xsl:output indent="yes" method="xml"/>
      <xsl:template match="/system-data-structure">
            <xsl:for-each select="original-page/content/system-data-structure">
                <xsl:call-template name="pr-original"/>
            </xsl:for-each>
           <!-- <p>
            <xsl:text>Original Press Release: </xsl:text><a href="original-page/path"><xsl:value-of select="original-page/display-name"/></a>
            </p>--> 
        <div class="SM-buttons">
            <xsl:copy-of select="sm-buttons/content"/>
        </div>
       
      </xsl:template>
    </xsl:stylesheet>
    

    and this is the format of the page that pulls it from (specifically lines 13):

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output indent="yes" method="xml"/>
    <!-- Find the first configuration, and copy the template content -->
    <xsl:template match="/system-data-structure" name="pr-original">
    <!-- Give the output a root tag -->
        <div id="pr">
        <h1 id="title"><xsl:value-of select="newstitle"/></h1>
        <div class="date"><xsl:value-of select="date"/></div>
        <br/>
    <div class="bodytext">
        <xsl:if test="graphic//path != '/' or videos != ''">
            <div class="multimedia medSize" id="medSize" style="float:{alignment}; margin-{alignment}:0px;">
                <xsl:for-each select="graphic">
                  <xsl:if test="//path != '/'">
                  <img alt="{name}" src="{path}"/>
                  </xsl:if>
                </xsl:for-each>
                <xsl:if test="caption != ''">
                    <div class="caption"><xsl:value-of select="caption"/></div>
                </xsl:if>
                <xsl:for-each select="moregraphics">
                  <xsl:if test="path != '/'">
                  <img alt="{name}" src="{path}"/>
                  </xsl:if>
                </xsl:for-each>
                <xsl:if test="morecaption != ''">
                    <div class="caption"><xsl:value-of select="morecaption"/></div>
                </xsl:if>
                        <xsl:if test="videos != ''">
                      <div class="video"><a href="{videos}" target="_blank">Watch Video</a></div>
                        </xsl:if>
            </div>
        </xsl:if>
        <div class="prtext">
                         <xsl:copy-of select="text"/>
        </div>
    </div>
    
       <hr/>
        <div class="contactBox">
            <div class="cHeader">Press Release Contact:</div>
            <div class="cperson">Stan Zygmunt</div>
            <div style="font-style: italic;">Director of News &#38; Media Relations</div>
            <div class="ccompany">The University of Scranton</div>
            <div class="cemail"><a href="***@***">[email blocked]</a></div>
            <div class="cphone">(570)-941-7662</div>
        </div>
        <xsl:if test="//person != 'Stan Zygmunt' and //email != '' and //phone != ''">
        <br/>
        <div class="contactBox">
            <div class="cHeader">Press Release Contact:</div>
            <div class="cperson"><xsl:value-of select="//person"/><br/></div>
            <div class="ccompany"><xsl:value-of select="//company"/><br/></div>
            <div class="cemail"><xsl:value-of select="//email"/><br/></div>
            <div class="cphone"><xsl:value-of select="//phone"/><br/></div>
        </div>
        </xsl:if>
                <xsl:if test="whats-related/related-page/path and whats-related/related-page[path != '/']">
                <div id="RelatedArticles">
                    <h3>Related Articles:</h3>
                    <ul class="related-articles">
                    <xsl:for-each select="whats-related/related-page">
                        <xsl:if test="path and path != '/'">
                            <li>
                            <a href="{path}"><xsl:value-of select="display-name"/></a>
                            </li>
                        </xsl:if>
                    </xsl:for-each>
                    </ul>
                </div>
            </xsl:if>
    </div>
    </xsl:template>      
           
    <!--
        |
        | Rewrite any pseudo HTML in the content
        |
        -->
        <!--
       <xsl:template match="text()">
          <xsl:call-template name="doPseudoHTMLReplace">
             <xsl:with-param name="current-text">
                <xsl:value-of select="."/>
             </xsl:with-param>
          </xsl:call-template>
       </xsl:template>
       
       <xsl:template name="doPseudoHTMLReplace">
          <xsl:param name="current-text"/>
          <xsl:if test="string($current-text)">
             <xsl:choose>
                <xsl:when test="contains($current-text, '[bold]')">
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:value-of select="substring-before($current-text,'[bold]')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                   <xsl:variable name="formatted-text">
                      <xsl:value-of select="substring-before(substring-after($current-text,'[bold]'),'[/bold]')"/>
                   </xsl:variable>
                   <strong>
                      <xsl:call-template name="doPseudoHTMLReplace">
                         <xsl:with-param name="current-text">
                            <xsl:value-of select="$formatted-text"/>
                         </xsl:with-param>
                      </xsl:call-template>
                   </strong>
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:value-of select="substring-after($current-text,'[/bold]')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                </xsl:when>
                <xsl:when test="contains($current-text, '[italics]')">
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:value-of select="substring-before($current-text,'[italics]')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                   <xsl:variable name="formatted-text">
                      <xsl:value-of select="substring-before(substring-after($current-text,'[italics]'),'[/italics]')"/>
                   </xsl:variable>
                   <em>
                      <xsl:call-template name="doPseudoHTMLReplace">
                         <xsl:with-param name="current-text">
                            <xsl:value-of select="$formatted-text"/>
                         </xsl:with-param>
                      </xsl:call-template>
                   </em>
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:value-of select="substring-after($current-text,'[/italics]')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                </xsl:when>
                <xsl:when test="contains($current-text,'[link]')">
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:copy-of select="substring-before($current-text,'[link]')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                   <xsl:variable name="link-text">
                      <xsl:copy-of select="substring-before(substring-after($current-text,'[link]'),'[/link]')"/>
                   </xsl:variable>
                   <xsl:variable name="display-text">
                      <xsl:if test="contains($link-text,'[text]')">
                         <xsl:copy-of select="substring-before(substring-after($link-text,'[text]'),'[/text]')"/>
                      </xsl:if>
                   </xsl:variable>
                   <xsl:variable name="href"><xsl:copy-of select="substring-before(substring-after($link-text,'[href]'),'[/href]')"/></xsl:variable>
                   <a href="{$href}">
                      <xsl:if test="starts-with($href,'http')">
                         <xsl:attribute name="target">_blank</xsl:attribute>
                      </xsl:if>
                      <xsl:choose>
                         <xsl:when test="string($display-text)">
                            <xsl:call-template name="doPseudoHTMLReplace">
                               <xsl:with-param name="current-text">
                                  <xsl:copy-of select="$display-text"/>
                               </xsl:with-param>
                            </xsl:call-template>
                         </xsl:when>
                         <xsl:otherwise>
                            <xsl:copy-of select="$href"/>
                         </xsl:otherwise>
                      </xsl:choose>
                   </a>
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:copy-of select="substring-after($current-text,'[/link]')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                </xsl:when>
                <xsl:when test="contains($current-text, '[break/]')">
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:value-of select="substring-before($current-text,'[break/]')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                   <br/>
                   <br/>
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:value-of select="substring-after($current-text,'[break/]')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                </xsl:when>
                <xsl:when test="contains($current-text,'http://')">
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:copy-of select="substring-before($current-text,'http://')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                   <xsl:call-template name="doPrefixPseudoHTMLReplace">
                      <xsl:with-param name="prefix">http://</xsl:with-param>
                      <xsl:with-param name="current-text">
                         <xsl:copy-of select="$current-text"/>
                      </xsl:with-param>
                   </xsl:call-template>
                </xsl:when>
                <xsl:when test="contains($current-text,'https://')">
                   <xsl:call-template name="doPseudoHTMLReplace">
                      <xsl:with-param name="current-text">
                         <xsl:copy-of select="substring-before($current-text,'https://')"/>
                      </xsl:with-param>
                   </xsl:call-template>
                   <xsl:call-template name="doPrefixPseudoHTMLReplace">
                      <xsl:with-param name="prefix">https://</xsl:with-param>
                      <xsl:with-param name="current-text">
                         <xsl:copy-of select="$current-text"/>
                      </xsl:with-param>
                   </xsl:call-template>
                </xsl:when>
                <xsl:otherwise>
                   <xsl:copy-of select="$current-text"/>
                </xsl:otherwise>
             </xsl:choose>
          </xsl:if>
       </xsl:template>
       <xsl:template name="doPrefixPseudoHTMLReplace">
          <xsl:param name="prefix"/>
          <xsl:param name="current-text"/>
          <xsl:if test="string($prefix) and string($current-text)">
             <xsl:variable name="text-after">
                <xsl:value-of select="substring-after($current-text,$prefix)"/>
             </xsl:variable>
             <xsl:variable name="link">
                <xsl:choose>
                   <xsl:when test="string(substring-before($text-after,' ')) or string(substring-before($text-after,')'))">
                      <xsl:call-template name="getShorterString">
                         <xsl:with-param name="string1">
                            <xsl:value-of select="substring-before($text-after,' ')"/>
                         </xsl:with-param>
                         <xsl:with-param name="string2">
                            <xsl:value-of select="substring-before($text-after,')')"/>
                         </xsl:with-param>
                      </xsl:call-template>
                   </xsl:when>
                   <xsl:otherwise>
                      <xsl:value-of select="$text-after"/>
                   </xsl:otherwise>
                </xsl:choose>
             </xsl:variable>
             <a href="{$prefix}{$link}" target="_blank">
                <xsl:copy-of select="$prefix"/>
                <xsl:copy-of select="$link"/>
             </a>
             <xsl:call-template name="doPseudoHTMLReplace">
                <xsl:with-param name="current-text">
                   <xsl:copy-of select="substring-after($text-after,$link)"/>
                </xsl:with-param>
             </xsl:call-template>
          </xsl:if>
       </xsl:template>
       <xsl:template name="getShorterString">
          <xsl:param name="string1"/>
          <xsl:param name="string2"/>
          <xsl:choose>
             <xsl:when test="not(string($string1))">
                <xsl:value-of select="$string2"/>
             </xsl:when>
             <xsl:when test="not(string($string2))">
                <xsl:value-of select="$string1"/>
             </xsl:when>
             <xsl:when test="string($string1) and string($string2)">
                <xsl:choose>
                   <xsl:when test="string-length($string1) > string-length($string2)">
                      <xsl:value-of select="$string2"/>
                   </xsl:when>
                   <xsl:otherwise>
                      <xsl:value-of select="$string1"/>
                   </xsl:otherwise>
                </xsl:choose>
             </xsl:when>
          </xsl:choose>
       </xsl:template>
       -->
    </xsl:stylesheet>
    
  6. 4 Posted by Ryan Griffith on 14 Nov, 2014 03:24 PM

    Ryan Griffith's Avatar

    Not a problem at all, Matthew.

    The second Format you provided, is that site://www.scranton.edu/news/assets/formats/press-release-nocontactdefault by chance? If not, please also attach this Format as well.

    Thanks!

  7. 5 Posted by matthew.wren on 14 Nov, 2014 03:27 PM

    matthew.wren's Avatar

    No it's site://www.scranton.edu/news/assets/formats/press-release but here is the other one:

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
        <xsl:output indent="yes" method="xml"/>
        <xsl:template match="/system-data-structure" name="pr-original">
            <xsl:variable name="vid" select="videos"/>
            <h1 id="title">
                <xsl:value-of select="newstitle"/>
            </h1>
            <div class="date">
                <xsl:value-of select="date"/>
            </div>
            <br/>
            <div class="bodytext">
                <xsl:if test="graphic//path != '/' or videos != ''">
                    <div class="multimedia" style="float:{alignment}; margin-{alignment}:0px;">
                        <xsl:for-each select="graphic">
                            <xsl:if test="//path != '/'">
                                <img alt="{name}" src="{path}"/>
                            </xsl:if>
                        </xsl:for-each>
                        <xsl:if test="caption != ''">
                            <div class="caption">
                                <xsl:value-of select="caption"/>
                            </div>
                        </xsl:if>
                        <xsl:for-each select="moregraphics">
                            <xsl:if test="path != '/'">
                                <img alt="{name}" src="{path}"/>
                            </xsl:if>
                        </xsl:for-each>
                        <xsl:if test="morecaption != ''">
                            <div class="caption">
                                <xsl:value-of select="morecaption"/>
                            </div>
                        </xsl:if>
                    </div>
                </xsl:if>
                <div class="prtext">
                    <xsl:copy-of select="text"/>
                </div>
                <xsl:if test="videos != ''">
                    <div id="PRVideo" style="display: none;">
                        <div>
                            <object height="300" width="500">
                                <param name="movie" value="{$vid}"/>
                                <param name="allowFullScreen" value="true"/>
                                <param name="allowscriptaccess" value="always"/>
                                <embed allowfullscreen="true" allowscriptaccess="always" height="300" src="{$vid}" type="application/x-shockwave-flash" width="500"/>
                            </object>
                        </div>
                    </div>
                    <br clear="all"/>
                </xsl:if>
            </div>
            <xsl:if test="//person != 'Stan Zygmunt' and //email != '' and //phone != ''">
                <hr/>
                <br/>
                <div class="contactBox">
                    <div class="cHeader">Press Release Contact:</div>
                    <div class="cperson">
                        <xsl:value-of select="//person"/>
                        <br/>
                    </div>
                    <div class="ccompany">
                        <xsl:value-of select="//company"/>
                        <br/>
                    </div>
                    <div class="cemail">
                        <xsl:value-of select="//email"/>
                        <br/>
                    </div>
                    <div class="cphone">
                        <xsl:value-of select="//phone"/>
                        <br/>
                    </div>
                </div>
            </xsl:if>
            <xsl:if test="whats-related/related-page/path and whats-related/related-page[path != '/']">
                <div id="RelatedArticles">
                    <h3>Related Articles:</h3>
                    <ul class="related-articles">
                        <xsl:for-each select="whats-related/related-page">
                            <xsl:if test="path and path != '/'">
                                <li>
                                    <a href="{path}">
                                        <xsl:value-of select="display-name"/>
                                    </a>
                                </li>
                            </xsl:if>
                        </xsl:for-each>
                    </ul>
                </div>
            </xsl:if>
        </xsl:template>
        <!--
        |
        | Rewrite any pseudo HTML in the content
        |
        -->
        <!--
       <xsl:template match="text()"><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="."/></xsl:with-param></xsl:call-template></xsl:template><xsl:template name="doPseudoHTMLReplace"><xsl:param name="current-text"/><xsl:if test="string($current-text)"><xsl:choose><xsl:when test="contains($current-text, '[bold]')"><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="substring-before($current-text,'[bold]')"/></xsl:with-param></xsl:call-template><xsl:variable name="formatted-text"><xsl:value-of select="substring-before(substring-after($current-text,'[bold]'),'[/bold]')"/></xsl:variable><strong><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="$formatted-text"/></xsl:with-param></xsl:call-template></strong><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="substring-after($current-text,'[/bold]')"/></xsl:with-param></xsl:call-template></xsl:when><xsl:when test="contains($current-text, '[italics]')"><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="substring-before($current-text,'[italics]')"/></xsl:with-param></xsl:call-template><xsl:variable name="formatted-text"><xsl:value-of select="substring-before(substring-after($current-text,'[italics]'),'[/italics]')"/></xsl:variable><em><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="$formatted-text"/></xsl:with-param></xsl:call-template></em><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="substring-after($current-text,'[/italics]')"/></xsl:with-param></xsl:call-template></xsl:when><xsl:when test="contains($current-text,'[link]')"><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:copy-of select="substring-before($current-text,'[link]')"/></xsl:with-param></xsl:call-template><xsl:variable name="link-text"><xsl:copy-of select="substring-before(substring-after($current-text,'[link]'),'[/link]')"/></xsl:variable><xsl:variable name="display-text"><xsl:if test="contains($link-text,'[text]')"><xsl:copy-of select="substring-before(substring-after($link-text,'[text]'),'[/text]')"/></xsl:if></xsl:variable><xsl:variable name="href"><xsl:copy-of select="substring-before(substring-after($link-text,'[href]'),'[/href]')"/></xsl:variable><a href="{$href}"><xsl:if test="starts-with($href,'http')"><xsl:attribute name="target">_blank</xsl:attribute></xsl:if><xsl:choose><xsl:when test="string($display-text)"><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:copy-of select="$display-text"/></xsl:with-param></xsl:call-template></xsl:when><xsl:otherwise><xsl:copy-of select="$href"/></xsl:otherwise></xsl:choose></a><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:copy-of select="substring-after($current-text,'[/link]')"/></xsl:with-param></xsl:call-template></xsl:when><xsl:when test="contains($current-text, '[break/]')"><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="substring-before($current-text,'[break/]')"/></xsl:with-param></xsl:call-template><br/><br/><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:value-of select="substring-after($current-text,'[break/]')"/></xsl:with-param></xsl:call-template></xsl:when><xsl:when test="contains($current-text,'http://')"><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:copy-of select="substring-before($current-text,'http://')"/></xsl:with-param></xsl:call-template><xsl:call-template name="doPrefixPseudoHTMLReplace"><xsl:with-param name="prefix">http://</xsl:with-param><xsl:with-param name="current-text"><xsl:copy-of select="$current-text"/></xsl:with-param></xsl:call-template></xsl:when><xsl:when test="contains($current-text,'https://')"><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:copy-of select="substring-before($current-text,'https://')"/></xsl:with-param></xsl:call-template><xsl:call-template name="doPrefixPseudoHTMLReplace"><xsl:with-param name="prefix">https://</xsl:with-param><xsl:with-param name="current-text"><xsl:copy-of select="$current-text"/></xsl:with-param></xsl:call-template></xsl:when><xsl:otherwise><xsl:copy-of select="$current-text"/></xsl:otherwise></xsl:choose></xsl:if></xsl:template><xsl:template name="doPrefixPseudoHTMLReplace"><xsl:param name="prefix"/><xsl:param name="current-text"/><xsl:if test="string($prefix) and string($current-text)"><xsl:variable name="text-after"><xsl:value-of select="substring-after($current-text,$prefix)"/></xsl:variable><xsl:variable name="link"><xsl:choose><xsl:when test="string(substring-before($text-after,' ')) or string(substring-before($text-after,')'))"><xsl:call-template name="getShorterString"><xsl:with-param name="string1"><xsl:value-of select="substring-before($text-after,' ')"/></xsl:with-param><xsl:with-param name="string2"><xsl:value-of select="substring-before($text-after,')')"/></xsl:with-param></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$text-after"/></xsl:otherwise></xsl:choose></xsl:variable><a href="{$prefix}{$link}" target="_blank"><xsl:copy-of select="$prefix"/><xsl:copy-of select="$link"/></a><xsl:call-template name="doPseudoHTMLReplace"><xsl:with-param name="current-text"><xsl:copy-of select="substring-after($text-after,$link)"/></xsl:with-param></xsl:call-template></xsl:if></xsl:template><xsl:template name="getShorterString"><xsl:param name="string1"/><xsl:param name="string2"/><xsl:choose><xsl:when test="not(string($string1))"><xsl:value-of select="$string2"/></xsl:when><xsl:when test="not(string($string2))"><xsl:value-of select="$string1"/></xsl:when><xsl:when test="string($string1) and string($string2)"><xsl:choose><xsl:when test="string-length($string1) > string-length($string2)"><xsl:value-of select="$string2"/></xsl:when><xsl:otherwise><xsl:value-of select="$string1"/></xsl:otherwise></xsl:choose></xsl:when></xsl:choose></xsl:template>
       -->
    </xsl:stylesheet>
    
  8. 6 Posted by Ryan Griffith on 14 Nov, 2014 03:34 PM

    Ryan Griffith's Avatar

    Perfect, thank you Matthew.

    So the Royal News Format you provided is importing the latest Format you provided, site://www.scranton.edu/news/assets/formats/press-release-nocontactdefault.

    Notice the following line is missing the medSize class name that you mentioned in your original comment:

    <div class="multimedia" style="float:{alignment}; margin-{alignment}:0px;">
    

    Try adding the class here and you should be good to go.

    Please let me know if you have any questions.

    Thanks!

  9. 7 Posted by matthew.wren on 14 Nov, 2014 03:49 PM

    matthew.wren's Avatar

    Oh wow I glanced right over that include at the top. Thanks so much!

  10. 8 Posted by Ryan Griffith on 14 Nov, 2014 04:02 PM

    Ryan Griffith's Avatar

    Not a problem at all, Matthew. I am glad to hear that did the trick.

    I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.

    Have a great day!

  11. Ryan Griffith closed this discussion on 14 Nov, 2014 04:02 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM