Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Issue with embedded types

$
0
0

I've hit this recently, but it worked in earlier versions of Types. When I try to embed it in my theme, the plugin is not generating proper URLs for its assets (css, scripts etc).

I've tracked it down to the output of getFileUrl in embedded_types/classes/path.php

The resultant URLs are as follows:
http://www.mydomain.com/D:/vhosts/mydomain.com/httpdocs/wp-content/themes/themename/embedded_types/resources/css/usermeta.css?ver=1.5.2

(it has a file system path stuck at the end of the domain name for some reason).

I'm using the version 1.5.2 of Types. It all works fine when using it in "plugin mode" (if that's the right word), but falls apart when you try to embed.

Any clue what might be happening? The environment is WP3.7.1 on Windows 7.


Viewing all articles
Browse latest Browse all 20145

Trending Articles