We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42141
    • 73 Posts
    Hi all smiley

    On my site (latest version of Modx Revo, lay-out uses bootstrap code/framework) I have two small but irritating problems with the following extra's: simplesearch and pthumb.

    simplesearch: when you conduct a search and when taken to the search results page, in the pagination there is this extra seperator I can't get rid off.

    pthumb: it works great, but I can't make images responsive. If I add bootstraps CSS-class for responsive images, the images díssappear. This is my call in the chunk featuredarticles: <img class="media-object" src="[[+tv.tvImage:phpthumbof=`w=210&h=140`]]" alt=".." width="210" height="140"> (eg. after the media-object class, I want to add the img-responive class).

    Anyone an idea how I can fix these?
      • 47401
      • 295 Posts
      add class img-responsive and remove class media-object
        • 42141
        • 73 Posts
        Unfortunately that doesn't work, I already tried that. The img-responsive class only gives problems with the generated thumbnails. On other images on the site the img-responsive class works as it should.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          You can't specify a width and a height inline if you want it to be fluid.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 18373 ☆ A M B ☆
            • 3,141 Posts
            For the SimpleSearch problem, try specifying the &pagingSeparator property with an empty value, or space or something.

              Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

              Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.