We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 49502
    • 6 Posts
    I've just upgraded a modx website as the Login plugin stopped working (From 2.2.1 to 2.2.15).

    I have a few pages that are setup using "Articles" plugin. I have attached to it a TV for the article thumbnail image.
    Since upgrading Modx to 2.2.15 the TV image for the article thumbnail no longer displays in the frontend.

    - I've checked that the images are on the server, which they are and also they show in the backend when editing an article.

    Here is the code I'm using below for the chunk "sample.ArticleRowTpl.

     <span class="news_image"><img src="[[+tv.article-image:phpthumbof=`w=163&h=106&zc=1`]]" width="163" height="106" alt="[[+pagetitle]]" /></span> 


    I've tried just calling the bear minimum for TV to show. See below, but this doesn't do anything. When I view the html source it's blank e.g. src=""

    <span class="news_image"><img src="[[+tv.article-image]]" width="163" height="106" alt="[[+pagetitle]]" /></span>


    I've updated the PHPThumb plugin and the Articles. Not sure what else to do.

    Any help would be greatly appreciated.

    Modx Revolution 2.2.15-pl (traditional)

    Thank you

    This question has been answered by smashingred. See the first response.

    • discuss.answer
      Did you reinstall Articles or just update it? What happens if you just put the [[*article-image]] into the content of the post? If you look at Articles configuration what does it show for the settings in these fields: http://note.io/1yywHHV You need to have Include TVs set to yes. I don't know if process TVs needs to be.
        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub
      • I have process tv's set to no, and images work on my Articles installation. Does the frontend just output src="" ?
          Mat Dave Jones
          • 9674
          • 170 Posts
          Can you give us an url to view it ?
          Like look at the html page to figure out what's happening ?

            • 49502
            • 6 Posts
            Quote from: smashingred at Dec 10, 2014, 01:47 PM
            Did you reinstall Articles or just update it? What happens if you just put the [[*article-image]] into the content of the post? If you look at Articles configuration what does it show for the settings in these fields: http://note.io/1yywHHV You need to have Include TVs set to yes. I don't know if process TVs needs to be.

            Thanks for the reply guys smiley

            I tried both Jay, but when i tried uninstalling it and re-installing Articles it's broken the Articles page.
            E.g. When you click on a resource that is Articles based it loads the following screen (see attached).

            Now I can't access the pages within the articles.

            I might try and restore a back up of Articles from the old site and read other posts above test.

            [ed. note: jordanstiens last edited this post 9 years, 4 months ago.]
              • 49502
              • 6 Posts
              Quote from: Fildefer57 at Dec 10, 2014, 02:51 PM
              Can you give us an url to view it ?
              Like look at the html page to figure out what's happening ?


              Thanks for the comment.
              Here is the URL but note since re installing articles it's broken the articles pages.

              E.g. http://newzeroc.dns-systems.net/our-news/
                • 49502
                • 6 Posts
                Quote from: matdave at Dec 10, 2014, 02:43 PM
                I have process tv's set to no, and images work on my Articles installation. Does the frontend just output src="" ?

                Yes just outputs src="" so nothing is loads in the source.
                  • 9674
                  • 170 Posts
                  This url does display your news .... http://www.zerocholdings.co.uk/our-news/
                  May be your problem sits in your .htaccess files
                    • 49502
                    • 6 Posts
                    Quote from: Fildefer57 at Dec 10, 2014, 03:19 PM
                    This url does display your news .... http://www.zerocholdings.co.uk/our-news/
                    May be your problem sits in your .htaccess file

                    That's the LIVE site which has the older version of Modx 2.2.10 - An issue with the Login plugin hence the reason why I'm upgrading to 2.2.15.

                    I've setup a test site which is http://newzeroc.dns-systems.net/index.php?=1

                    I'm in the process of installing the older version of Articles to see if I can get that working properly first, as when I tried updating Articles to latest version it breaks Articles in the backend.
                      • 9674
                      • 170 Posts
                      Quote from: Fildefer57 at Dec 10, 2014, 03:19 PM
                      This url does display your news .... http://www.zerocholdings.co.uk/our-news/
                      May be your problem sits in your .htaccess files
                      discard this, answer in previous post
                      And when I inspect your http://newzeroc.dns-systems.net/our-news/ page, i can see this :

                      <!--
                      <ul>
                      	<li><a href="http://newzeroc.dns-systems.net/" title="Home">Home</a></li>
                      	<li><a href="about-us" title="About Us">About Us</a></li>
                      	<li><a href="sustainability-principles" title="Sustainability Principles">Sustainability Principles</a></li>
                      	<li><a href="the-team/" title="The Team">The Team</a></li>
                      	<li><a href="our-news/" title="Our News">Our News</a></li>
                      	<li><a href="developments/" title="Developments">Developments</a></li>
                      	<li><a href="contact-us" title="Contact Us">Contact Us</a></li>
                        </ul>
                      -->
                      

                      Did you do it on purpose ? [ed. note: Fildefer57 last edited this post 9 years, 4 months ago.]