Thread Locked This thread is locked - replies are not allowed.


This question is answered.


Permlink Replies: 2 - Pages: 1 - Last Post: 13 Jan 22, 16:55 Last Post By: jret Threads: [ Previous | Next ]
jret

Posts: 112
Registered: 5-Mar-2009
Neptune: Copyright & Credits top level only
Posted: 13 Jan 22, 16:06
 
I want to include the Copyright & Credits only on the top level of each album. I would prefer to utilize the built-in tools but only the Copyright offers "top level only" option. My solution is to include both in "Bottom Info" and using CSS as necessary for font size, etc.

Is there a better, less klutzy, solution that I'm missing?

Here's the LINK with my solution. Note the gradient in the Title of the top page (+i.e. code provided for my previous question+). With the page setup I'm using the gradient improved the appearance - at least to my eye.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: Neptune: Copyright & Credits top level only
Posted: 13 Jan 22, 16:33   in response to: jret in response to: jret
Correct
What you're doing works, but yeah, it's really clumsy, since it takes you away from all the control over things like font size, and you end up having to do it yourself. In the next release, I'll include a simple checkbox for that (on the Misc tab - I can't put a checkbox on jAlbum's Pages tab, alas).

The next release might be a while, depending upon whether David goes ahead with plans to let the jAlbum core generate the oversized folder thumbnail images. In the meantime, a little quick skin editing will take care of this. Launch jAlbum, select Neptune, then Tools, Skin developer, Edit skin files. Go to the tab for index.htt (it should start with that tab open by default), and scroll down to line 52. Replace:
<ja:if test="<%=!excludeBacklinks && ctTxtCredits != null%>"><div class="ne-credits">${ctTxtCredits}</div></ja:if>
With:
<ja:if test="<%=level == 0 && !excludeBacklinks && ctTxtCredits != null%>"><div class="ne-credits">${ctTxtCredits}</div></ja:if>
Save the file, and close the editor.

This change forces the skin to put the credit line on there only at "level 0," which is the top level.
jret

Posts: 112
Registered: 5-Mar-2009
Re: Neptune: Copyright & Credits top level only
Posted: 13 Jan 22, 16:55   in response to: JeffTucker in response to: JeffTucker
 
Thanks - much better solution.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums