This question is answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: 04-Oct-2017 22:59 Last Post By: MarkusD
MarkusD

Posts: 493
Registered: 13-Apr-2006
Alter Tiger skin
Posted: 03-Oct-2017 15:57
 
  Click to reply to this thread Reply
Hi,

until now I still use the Turtle skin, but experimented with Tiger since early release. Today I gave Tiger again a try, just switched the skin, <F9> and the result looked pretty perfect. There is still one thing I'm missing.

Because I do write a lot of text in folder comments I changed the Turtle skin files index.htt:

<ja:include page="${item0}.inc" />
<div class="jive-quote"><div>${description}</div></div><br/> <%-- !!MD added --%>
<ja:if exists="item1"><ja:include page="${item1}.inc" /></ja:if>


And page-header.inc:

	<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<%--	<title>${_title}</title> !!MD removed --%>
	<title>${albumTitle}</title> <%-- !!MD added --%>
	<ja:if exists="captionClean"><meta name="description" content="${captionClean}"></ja:if>


and:
					<ja:if test="<%= showBreadcrumbPath && !util.isEmpty(breadcrumbPath) %>"><div class="breadcrumb"><div class="cont"><%= breadcrumbPath.replaceAll("a><a", "a>&raquo;<a"); %></div></div></ja:if>
<%-- !!MD	removed				<ja:if test="${pageType}" value="index"><ja:if exists="caption"><div class="description">${caption}</div></ja:if></ja:if>  --%>
</div>


I tried to transfer that to the Tiger skin, but there is still something missing.

Original tiger skin result:
http://www.markus-drueck.de/JA/norge_tiger_original/2017%2004%2017%20Oslo/2017%2004%2017%20Hahnst%C3%A4tten%20-%20Malm%C3%B6/index_de.html

With my transferred alterations from the Turtle skin to Tiger skin:
http://www.markus-drueck.de/JA/norge_tiger_changed/2017%2004%2017%20Oslo/2017%2004%2017%20Hahnst%C3%A4tten%20-%20Malm%C3%B6/index_de.html

What do I have to do to get rid of any comment text for folders in the area of the upper part, see screen shot?
http://www.markus-drueck.de/JA/2017-10-03_153229.png

What I changed:
http://www.markus-drueck.de/JA/index.htt
http://www.markus-drueck.de/JA/page-header.inc

Thanks in advance, Markus
Laza

Posts: 9,471
Registered: 6-Sep-2005
Re: Alter Tiger skin
Posted: 04-Oct-2017 10:28   in response to: MarkusD in response to: MarkusD
Helpful
  Click to reply to this thread Reply
If you change the templates it will be a hassle every time you want to upgrade the skin. Can't you simply put the code in the predefined hooks? You can add custom content at the top of the page ("Header"), at the bottom of the page ("Footer"), to the <body> tag, and you can even create a custom section and move anywhere within the sections, see "Settings / Tiger / Sections / Custom content". Move the section on the right, "Ordering" box.

The page header template can be modified through the "Settings / Tiger / Header / Hero / Caption template" box. Just remove:
<div class="description">${description}</div>

... or the whole thing if you prefer.
MarkusD

Posts: 493
Registered: 13-Apr-2006
Re: Alter Tiger skin
Posted: 04-Oct-2017 22:33   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Perfect! That's much better than manually editing the skin files. Thanks a lot.

Edited by: MarkusD on 04-Oct-2017 22:59 (deleted the original uploaded files)
Legend
Forum admins
Helpful Answer
Correct Answer

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