CSI assets
Last: thread:153
:sitename:
Edited: 12 Nov 2009 18:02 by: Steven Heynderickx
Comments: 11
Tags:
nav_last.png
Next: thread:160
CSI inside code block
Edited: 16 Nov 2009 09:46 by: Steven Heynderickx
Comments: 0
Tags:
nav_next.png

gerdamigerdami wrote on 17 Jan 2010 14:45

Background

The principle of CSIs is to reuse an existing code that would later be rendered on the target page.

On the CSS competition site I used includes that hold their own assets, i.e. images.

In http://css-competition.wikidot.com/include:facebook I had to use a hard reference to the images otherwise the images would not appear on the target site.

[[image http://css-competition.wikidot.com/local--files/include:facebook/facebook-256.png 
class="my-facebook" height="{$iconsize}" width="{$iconsize}" 
link="http://www.facebook.com/group.php?gid={$gid}" 
alt="My presence on Facebook"]]

If I move this include from CSS-comp to the main CSI I have to rename the references.

Question

Would it be possible to have another way of referencing assets that belong to the CSIs ?
Or have I missed an obvious thing ?


Start a new sub-thread

Comments: 2

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License