Book Module {footnotes}

Pastor Langley

Active Member
Messages
504
Footnotes practice? Not too many used within the SwordSearcher book modules but I sure like them when included.
Wondered if there are BETTER or BEST practices on using footnotes within SwordSearcher? Here is what I last used. Will stick with this unless someone shows other ways and or reasons to change. Thank anyone in advance.
[1] <A id=fn-1 href="#1">[1]</A>
[1↩] <A id=1 href="#fn-1">[1↩]️</A>
So anyone knows that most of my knowlege and help has been wsbones and Brandon.
Maybe they'll send a "care kit" now that I mentioned them, Ha!
 
Footnotes practice? Not too many used within the SwordSearcher book modules but I sure like them when included.
Wondered if there are BETTER or BEST practices on using footnotes within SwordSearcher? Here is what I last used. Will stick with this unless someone shows other ways and or reasons to change. Thank anyone in advance.
[1] <A id=fn-1 href="#1">[1]</A>
[1↩] <A id=1 href="#fn-1">[1↩]️</A>
So anyone knows that most of my knowlege and help has been wsbones and Brandon.
Maybe they'll send a "care kit" now that I mentioned them, Ha!
@wsbones @Brandon Staggs
 
What you have is fine. It's basically the same as how footnotes in module entries are implemented for the official library modules.
 
Why does Style and Format Cleaner remove my {footnote} links?
[1] <A id=fn-1 href="#1">[1]</A>
[1↩] <A id=1 href="#fn-1">[1↩]️</A>
All boxes are checked but the "Keep Non-Breaking Spaces"
Is it because I chose that return arrow?
↩ I did notice that when I click on that arrow in "code view" it turns to a small square. ▫
Maybe I need to loose the arrow but I like it.
And finally what can keep the links when running the Style and Format Cleaner?
Trying to conform... Ha!

Results after running Style and Format Cleaner
<A href="#1">[1]</A>
<A href="#fn-1">[1]️</A> ←
 
Last edited:
Tried several things. (I have left out the arrow "Alt+27" keyboard shorcut.)
<A id=fn-1 href="#1">[1]</A>
<A id=1 href="#fn-1">[1]️</A>
Each time use Style and Format Cleaner it is all lost. 😭😭
Results after running Style and Format Cleaner
<A href="#1">[1]</A>
<A href="#fn-1">[1]️</A>
Non working links after running cleaner...???
 
The element "id" is not preserved with the style and format cleaner.

Instead of using ID you can use NAME which is preserved by the style and format cleaner.

<P><A href="#fn1" name=t1>skjf adskjfasf</A>
text text
<P><A href="#t1" name=fn1>sadfsadf</A>
 
The element "id" is not preserved with the style and format cleaner.

Instead of using ID you can use NAME which is preserved by the style and format cleaner.

<P><A href="#fn1" name=t1>skjf adskjfasf</A>
text text
<P><A href="#t1" name=fn1>sadfsadf</A>
THANK YOU! code is locked and working!
Wished I would have known this before doing so many entries. Oh well practice makes perfect.
Send:
<A href="#fn1" name=t1>[1]</A>
Return:
<A href="#t1" name=fn1>[1]</A><span>&#8617;</span>
My arrows are working as well.
 
Wished I would have known this before doing so many entries. Oh well practice makes perfect.
I'm sorry it didn't occur to me after your original post.

The id tag is part of CSS. CSS is entirely removed by the Style and Format Cleaner.
 
I love SwordSearcher! Thank you, Brandon, for all the hours you've thoughtfully put into making it such an easy program to work with. SwordSearcher has changed my life for the better! 🥰
 
Ya got th
I'm sorry it didn't occur to me after your original post.

The id tag is part of CSS. CSS is entirely removed by the Style and Format Cleaner.
When searhing for HTML helps to use in editor, I stay away from CSS and only use HTML just for this reason. But honestly I did not know what was happening. One more learning experience. Just happy to get the problem figured out. Thank you for taking time for us.
 
Both lines of code below do same thing. There is a {ModuleAssets} folder for the module.
Curious about when doing a Module ZIP.
When zipped will the first line of code be right for the user?

Results when use insert from the menu of EDITOR:
<IMG src="C:\Users\owass\OneDrive\Documents\SwordSearcher User Modules\AllThemes-Assets\brush.jpg">

Results when manually done: This has been my practice.
<IMG src="{ModuleAssets}/brush.jpg">
 
Last edited:
That is not the correct behavior. When I use Insert > Image, I get an image link like this:

<IMG src="file:///{ModuleAssets}/2829D374_088A0580.jpg">

If your link has a hardcoded path to a location on your hard drive, such as C:\Users\owass.... it will not work on any other computer and it will not be included when zipping the module.
 
Got it! But I am using the editor and here is what it inputs when I go to insert an image.
Just built an new entry to test this. Confused...

</HEAD>
<BODY>
<P><IMG
src="C:\Users\owass\OneDrive\Documents\SwordSearcher User Modules\AllThemes-Assets\7_pieces.jpg"></P>
<P><IMG
src="C:\Users\owass\OneDrive\Documents\SwordSearcher User Modules\AllThemes-Assets\brush.jpg"></P>
<P><IMG
src="C:\Users\owass\OneDrive\Documents\SwordSearcher User Modules\AllThemes-Assets\tabcolor2.jpg"></P></BODY></HTML>
 
I understand and get the code part and Zip issues. What I am asking is, if this is the standard for the editor. Does it not do this for you?
So far I am doing all this manually because the editor is not doing it. If that makes sense...

Hopefully after this long using SwordSearcher, my user folders are in correct location.
Example: both work but why the editor does not do this if installing from that folder is I guess what I mean?

Manually written code - <IMG src="{ModuleAssets}\brush.jpg">
Inserted by editor - <IMG src="C:\Users\owass\OneDrive\Documents\SwordSearcher User Modules\AllThemes-Assets\brush.jpg">
Not getting what you are showing.
<IMG src="file:///{ModuleAssets}/2829D374_088A0580.jpg">
 
Last edited:
What happens if you add an image that isn't already in your assets folder? It should copy the image there automatically and create a proper relative {ModuleAssets} link.

It may not do that if the image is already in the assets folder.
 
Thank you!
Ok will try this.
Your question:
What happens if you add an image that isn't alreay in there....?
🫣Ummmm dont want to say really... I don't like the long names SwordSearcher (EFABEBBF_iphone_bible) gives. {all those numbers}
<IMG src="file:///{ModuleAssets}/EFABEBBF_iphone_bible.jpg">
Well that helps me test what to do. Will find out in my test...
So even if I used a offsite folder and let SwordSearcher do the naming when its time to insert, it would still add the long names.....hmmmm?
 
What happens if you add an image that isn't already in your assets folder? It should copy the image there automatically and create a proper relative {ModuleAssets} link.

It may not do that if the image is already in the assets folder.
Could not wait to test. Will finish up testing tomorrow.
It does what it suppose to do...!
Ha! I love it. 🫣😭:mad::confused::):cool::cool::cool: Ok so I may have to ask forgiveness.
<IMG src="file:///{ModuleAssets}/2829D374_088A0580.jpg">
 
I have been using Forge, editing out all or any mistakes, then renaming Globally what I want to change.
Then send it back to SwordSearcher.
 
What happens if you add an image that isn't already in your assets folder? It should copy the image there automatically and create a proper relative {ModuleAssets} link.

It may not do that if the image is already in the assets folder.
Yep, it does!!! New practice will be to put all images inside a "dummy folder" insert from there so SwordSearcher can do its thing.
Now the long file names Forge is the only answer I know of. Thanks again for helping. I know your a busy man.
 
Back
Top