What did I miss?

c4actbe
c4actbe's picture

Joined: 2004-09-01
Posts: 83
Posted: Wed, 2005-03-23 03:23

I had one of alpha releases, maybe 3-4 weekes old with my customized serioux theme. I decided to upgrade to beta and it went good.. except few things: I used custom micro icons my version of serioux and the typical image path used to be something like this:
<img src="{$layout.layoutUrl}/images/next.png">
so if i would look into html soource i'd see
<img src="http://MYDOMAIN.COM/gallery/layouts/siriux/images/next.png"> and everything worked alright...

after my upgrade, as i said, all images were gone. If i look into html source i see only
<img src="http://MYDOMAIN.COM/images/next.png">

Does it mean that something was changed in G2, or it is me who messed up something?
thanks!

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-23 05:19

replace your code with:
<img src="{g->url href="layouts/siriux/images/next.png"}" ...
or define $layout.layoutUrl in your layout.inc

 
volksport
volksport's picture

Joined: 2002-10-06
Posts: 239
Posted: Wed, 2005-03-23 06:09

c4actbe, mind posting a link to the site?