Your comments

For everyone's information:

Since I plan on improving/changing this theme as Ubooquity evolves, I just wanted to make everyone aware that the most current version of the theme can always be found at the beginning of the thread (so you don't have to search the entire thread for the latest version).

When there is a new release, I will announce it here and list the revisions I made to it...

Speaking of which, I did update the theme early this morning.  Below are the revisions:

Renegade Reader v1.05 
Changed:  IMPORTANT! MAKE SURE "BYPASS SINGLE ROOT FOLDER IS OFF IN UBOOQUITY (not checked).  Previously, it needed to be on (checked) and you needed to pre-define your root category IDs in themeScript.js.  Now, the theme scrapes your root folder information from the page-library-category-root-dirs.html file (which is only available when you are NOT bypassing single root folder in Ubooquity).  If you do NOT have multiple shared folders under a single category then page-library-category-root-dirs.html automatically re-directs the user to the correct root folder for comics, books, and magazines.

Added: Some support for multiple shared folders under a single category.  The theme now uses the page-library-category-root-dir.html file to display your shared folder options.  Additionally, as you can see in the navigation above, I'm currently working on adding a way to switch libraries when you have multiple shared folders under a single category - but I've been balked for the time being because the {{#rootFolders}} non-empty mustache list is not working in the inc-library-popups.html.

Changed: The themeeditor to reflect the changes above.  comicBaseId, bookBaseId, and magBaseId in themeScript.js are now defined as empty numeric arrays that are filled as the user passes through the page-library-category-root-dirs.html.  So, they are no longer a part of the pre-defined settings portion of this theme.  

That's all for now folks!
G

Another example:

This is my root book section:

Image 843


Note: The header is just a header.jpg located in my root book folder library and the pictures of the authors are folder.jpg files located in each of the author's sub-folders.

This is one of the authors in my books section:

Image 841


Again, the "Book by 'Anne Rice'" is a centered text header generated by the theme. The background picture of the books on both sides is a PNG with no background in the center and the book images are from 1 the books in the collection (Ubooquity's default when no folder.jpg exists).

All,

Just some screen shots to show you what's possible with this theme using header pngs in your library folders when "useHeaders" and "useTextHeaders" = true on your themeScript.js.

This is my root comics folder:

Image 837

Note: "The Comic & Graphic Novel" is a centered text header generated by the theme.  The outer image part is a header.png located in my comics library root folder with no background in the center (the beauty of png vs jpg).  The images showing the comics groups or publishers are folder.jpg files located in the sub-folders off the root.



ListerD,

That's the beauty of writing themes in Java script.  People can tweak things to make them aesthetically pleasing.

When I aligned the thumb images at the top of the cells, they looked very disorganized and jumbled to me.  So, I tried your method (making them all the same size).  But that distorts non-standard images and makes it difficult to know what the folder/file contains at a glance.  So, I opted for aligning them to the bottom of the cells so that the folder/file names lined up. 

I think it looks more organized without distorting the images. <shrugs>


But, again, the beauty of using Java script is that people can make these kinds of small tweaks without too much effort. You also might want to tweak the space between the cells and the labels so that they don't overlap the cells below them when your comic descriptions are longer. ;)

And thank you for your compliment.

Ugh! Seems {{#rootFolders}} non-empty list does not work on inc-library-popups.html.

Dennis,

Thanks for the ideas.  However, I opted for a quicker (less messy) fix that actually turned out to be beneficial to the overall theme.  

First, "bypass single root folder" in Ubooquity MUST BE OFF now.  I used page-library-category-root-dirs.html to scrape the root URLS and if there is more than 1 it asks you to choose one.  If there is only 1, you're automatically re-directed to it and page-library-category-root-dirs.html is hidden (so you don't even know you were re-directed). That also means there is no longer a reason to pre-define the comic/book/magazine ID numbers in themescript anymore. :)

Second, eventually I will add a way to switch between libraries and shared folders while you're in the libraries.  I know exactly what I want it to do and how to achieve it.  The thing that will take a while is coming up with a new navigation bar and figuring out exactly where to implement it.  But, for now, at least this makes the theme usable.

I updated the "Renegade Reader" link at the beginning of this thread so that the latest version is available.

Peace,
G

Awesome!  I posted a request to Tom in the appropriate thread, explained the problem, and will wait for a response before proceeding.  

Rest assured, one way or another, I'll come up with something that will work for your setup once I've heard back.

Thanks,

G

Hey Tom,

Know you're busy and that you've got a list piling up, but I have a suggestion with regard to how Ubooquity handles multiple shared folders under a single category.  

Rather than separating them, can you combine them like the "latest" and "random" categories?  Like a RAID array would handle separate drives rather than using "drive letters"?

The reason I'm asking for this is because, currently, Ubooquity forces an extra page between the home page and the library page when using multiple shared folders under a single category - which mimics "bypass single root folder" being turned off.
So, technically, there is no way to "bypass single root folder" if you are using multiple shared folders under a single category.

However, if Ubooquity treated multiple shared folders under a single category as 1 shared folder then, theoretically, "bypass single root folder" could still be used to display multiple shared folders under a single category or be turn on to completely skip showing root folders altogether.

This would help tremendously with dynamic navigation on the home page and throughout the libraries.  Otherwise, we have to trap for a shared folder page that (IHMO) shouldn't exist if "bypass single root folder" is on.

Is this something you would consider?  I'd like to know before I go through the trouble of changing my entire theme to trap for the extra page Ubooquity is creating when using multiple shared folders under a single category. 

Thanks
G

LOL!  You just posted the exact behavior I described above.

The strips and strips2 page you showed me mimic the exact behavior of "bypass single root folder" being off using 1 shared folder per library under a single category. I cannot fix that.  That is an Ubooquity thing.  It's because, as I stated above, Ubooquity does not treat shared library folders in the same way it treats them when displaying the random or latest categories.  It separates them.  Thus, you get the page between the home page and the libraries.  And that creates even more problems for the home page navigation because it will HAVE to show strips and strips2 under the "Browse" tab rather than "Comics" as the category.

So, with the current theme, I would have to rework the entire navigation system on the home page, trap for the strips and strips2 page between the home page and libraries, then rework the breadcrumb navigation throughout the libraries.

And while I "can" and "will" do this, if necessary, the better solution (IMHO) is to have Tom address the way Ubooquity handles multiple shared folders under a single category.  

Why?  Because if you want the extra page that is generated when "bypass single root folder" is off, you can already do that.  What you currently can't do is skip that page if you have multiple shared folders under 1 category.  However, again, if Ubooquity treated multiple shared library folders under 1 category as 1 drive rather than insisting on separating them, it would not create the extra page unless you told it to by leaving "bypass single root folder" off.

I know that Tom already has a list of stuff to do and that he is extremely busy for the next few weeks or so.  But I will ask about this and see if he has any plans on addressing this or even views it as a viable solution BEFORE I decide how to proceed with fixing the theme.

Thank you for your help in this matter Dennis.  And if I do need to completely overhaul the theme, I will probably be asking you more questions about how you think we should address the 'offending' extra page issue in the theme.

Peace!

G




Hey Dennis,

I'm still running some tests and trying to brainstorm this, but I keep running into a few problems.

1.  It seems as if Ubooquity treats multiple shared folders under a single category the same way it treats a single shared folder under single category with "bypass single root folder" turned off... which inserts a page between the home and library pages... which, in turn, screws up the dynamic navigation on the home page and the dynamic breadcrumbs in the libraries.

2. When you launch a scan, Ubooquity assigns a unique numeric id to every file and folder it scans.  Then, it uses those numeric ids in its URLs to access the associated files/folders.  Problem being, there is no way to predict what number Ubooquity will assign to your main comic/book/mag/doc/etc page(s) - making dynamic navigation and breadcrumbs MUCH harder to achieve.

3. I'm pretty sure Ubooquity only displays the latest category.  So, Latest Comics would be the latest comics across both shared folders - making sliders for both on the home page pretty much impossible. 

Personally, I never even thought about adding multiple shared folders under a single category, but a can see the need.  I have over 50,000 comics alone.  So, I understand. :)

What would help tremendously is if Ubooquity treated multiple shared folders under a single category like an expansion of a single library of comics/books/mags/docs rather than treating them as separate folders.  Like when you expand your RAID array with a new drive rather than adding a new drive letter.  I mean, it makes sense since the latest and random comics/books/etc already do that. <shugs>

Thoughts?  I'm open.  You got a vision?  Spill it. LOL!