Not a developer? Go to MovableType.com

Ask an Expert

EntryAuthorUserpicURL does and doesnt work

Asked by Adrian
Posted November 15, 2013.

Recently update to MT 5.2.7. Done by a third party who was a bit crap to be fair and isnt interested in finishing the job off. Couple of things that still need to be ironed out…

With this snippet

<mt:Entries lastn="10" offset="$pagination_offset" >
    <mt:EntryAuthorDisplayName encode_html="1">            
        <img src="<mt:EntryAuthorUserpicURL>">

On page 1 e.g. http://blogs.techworld.com/war-on-error/ it works.

But on page 2 it doesnt. http://blogs.techworld.com/war-on-error/?page=2

And instead always shows http://blogs.idg.co.uk/mt-static/

Its like it no longer knows the context for the image but does for things like mt:EntryAuthorDisplayame

There is a rewrite rule in the /war-on-error/ dir

RewriteEngine on
RewriteCond %{QUERY_STRING} ^page=[0-9]+$ [NC]
RewriteRule ^(.*)$ /cgi-bin/mt/plugins/Pagination/pages.cgi?blog_id=24&lastn=10&idx=index.html&path=/war-on-error/$1 [L,QSA]    
RewriteRule ^([0-9]{4})/([0-9]{2})/([^/]+)$ %{REQUEST_URI}/index.htm [R=301,QSA,NC,L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([^/]+)/$ %{REQUEST_URI}index.htm [R=301,QSA,NC,L]

Any help welcome.

Back

Ask An Expert