Is PHP processing my-element.html? If it's not, than <?php echo ... ?>
won't get interpreted and you'll be left with the literal string "<link
rel="import" href=<?php echo BaseUrl.'external/polymer/0.4.
2/polymer/polymer.html';?>>".

On Tue, Oct 21, 2014 at 12:03 PM, Romer Ventura <[email protected]> wrote:

> Hello,
>
> I am having some issues creating some custom elements. I am trying to do:
> my-element.html:
> <link rel="import" href=<?php echo
> BaseUrl.'external/polymer/0.4.2/polymer/polymer.html';?>>
>
> The above will not work I have to do:
> <link rel="import"
> href="../../../../external/polymer/0.4.2/polymer/polymer.html">
>
> On my index.php the php echo for the html import works, i am thinking it
> is because JS cant resolve the  "php echo" part...
>
> Is what i am trying to do not possible, or are there any work around..?
>
> Thanks.
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/1d3d9332-2b58-4a85-a8c5-b901cf0e29a4%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/1d3d9332-2b58-4a85-a8c5-b901cf0e29a4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CACGqRCAjWgbsuaaYWDKi2oYDiK61oOAV%3D3yACS8U88s4e4Eq2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to