Hello Dan,
Yes, I wouldn't be able to do in other platforms what I can do in boltwire
(unless I did a lot of learning about how to write addons or something).
So I'm glad boltwire is still around! :-)

Each fossil page on my website contains info variables that contain the
names of up to two image files and two credit lines for images that have to
do with that fossil page.  The side zone loads those images that are
associated with each fossil page that is loaded into the main zone.  So it
would be a lot of work to go back and make all the image variables lower
case in each fossil page.  But maybe the javascript solution could work.  I
don't know how to write java script at all though.

Here is the code that I currently have in my side zone that loads the
images and credit lines:

[if inpage {p} 'image1'][image src="{::image1}" style="width: 100%;"]
{::credit1}[if]

[if inpage {p} 'image1'][image src="{::image2}" style="width: 100%;"]
{::credit2}[if]

Do you have any idea how I could accomplish that same thing with an
embedded java script and utilize the strtolower() function?

Thanks!
Shawn

On Thu, Sep 5, 2024 at 1:10 PM Dan Vis <[email protected]> wrote:

> Yes, if you have an embedded script, it just outputs the content of that
> script as is. Is there a way to edit your script? If it's javascript, it
> should be a simple matter to add strtolower() function in it. Also, where
> is the index for your image titles? The other option is to simple make that
> index all lowercase?
>
> BoltWire keeps everything lower case on the back end so the links you
> create are always case insensitive (so you don't have to remember the exact
> caps). I think there's an option to turn that off, but if you already
> renamed all your files, then that's not going to help with anything!
>
> Nice to know someone is still using BoltWire. It's running faster and
> better than ever, and I use it every day. But alas, our community is
> shrunk. Seems WordPress is eating the whole WWW. But I can't imagine not
> having the power of BoltWire in my community. I'm able to make rapid pivots
> and changes on a dime. Anyway, that's a rant for another day.
>
> I'd love to check out your site Shawn when you get it running again! :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "BoltWire" 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/boltwire/CABnVu_7uGUEwb3U3QcG-ktrNAie4Qi%2BocxYJ3%3DtK%3D%2Bfee8vOxw%40mail.gmail.com
> <https://groups.google.com/d/msgid/boltwire/CABnVu_7uGUEwb3U3QcG-ktrNAie4Qi%2BocxYJ3%3DtK%3D%2Bfee8vOxw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" 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/boltwire/CAAtA9tdY2BgSBDkc7dkyycQZTRAvmyNUnnSyMTUFBVd%3DVXQBGg%40mail.gmail.com.

Reply via email to