I think what you want to do is change this in either config.php or
index.php. Not in code.snippets.  Code snippets are for little bits of
code you want to make available in your site on multiple pages. It
does not control how the underlying php handles paths. Which is what
you are changing.

Try adding this line to index.php before calling the engine:

$imgPath = "../boltwire/farm/img";

Of course change the path from the above which is the default to the
correct path (relative to index.php), depending on where you put the
img folder.  All the variables you can configure this way are in the
first 35 lines or so of engine.php

It doesn't seem like we have a good tutorial on these variables
anywhere. The closest is a few hints about this kind of stuff here:

http://www.boltwire.com/index.php?p=docs.admin.farms

This is pretty important stuff to understand if you are experimenting
with any kind of alternate setups. Feel free to ask more questions.
Better yet, if someone could start a bit of a tutorial on this it
would be great. Even something simple, to get things growing on a
page.

Cheers,
Dan


On Sun, Jul 26, 2009 at 8:31 PM, Tim<[email protected]> wrote:
>
> I've tried putting the following line in code.snippets...
>
> img: '../boltwire/farm/img'
>
> ...and then the following in code.skin...
>
> <img src='$$img/boltwire.gif' align='right' border='0'
> alt='www.boltwire.com' />
>
> ...but the images still won't show.  It's late and I'm sure there's
> something obvious that I'm doing wrong - but I can't quite see it!
>
>
> On Jul 26, 3:19 pm, Martin <[email protected]> wrote:
>> Did you try
>>
>> img: path here
>>
>> in 
>> code.snippets?http://www.boltwire.com/index.php?p=docs.handbook.variables#skin_vari...
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to