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


Permlink Replies: 2 - Pages: 1 - Last Post: 7 Nov 19, 14:12 Last Post By: AndreWolff
AlexMZ

Posts: 7
Registered: 9-Feb-2007
additional code to lucid skin
Posted: 1 Nov 19, 12:32
 
  Click to reply to this thread Reply
Update: Problem solved by myself.

I would like to use the Lucid skin for my photo website. Currently I am using the Matrix skin, where I have modified the index.htt and unifooter.inc. unifooter.inc contains additional code for my web-statistic to count the visitors per each album (not per each picture).

Modification #1 in index.htt
.
.
<%-- Include info page navigation script --%>
<ja:include page="includes/infopageNav.inc" />
<%-- modifiziert - anfang --%>
<ja:include page="${skinDirectory}/uniheader.inc" />
<%-- modifiziert - Ende --%>
<%-- Include insertHtmlhead from UI --%>
<ja:if test="<%=!insertHtmlhead.equals("") && (level == 0 || !toponlyHtmlhead)%>">
.
.

Modification #2 in index.htt
.
.
<%-- Breadcrumbs at footer --%>
<ja:if test="<%=(!bcType.equals("none") && bcPosition.equals("footer"))%>"><ja:include page="includes/breadcrumbs.inc" /></ja:if>
<%-- modification - start --%>
<ja:include page="${skinDirectory}/unifooter.inc" />
<%-- modification - end -%>
<%-- Include insertBodyclosing from UI --%>
.
.

the unifooter.inc contains my additional code for my web-statistic and looks like:

<!-- _ -->
<!-- uniFooter content starts here -->
<!-- _ -->

Click Folders to see more Thumbnails, or click Thumbnails to
see Images. Press F11 to maximise viewing window.

*<!-- ***************************************************************************** -->*
<!-- #BeginLibraryItem "/Library/php webstat code.lbi" -->
<!-- Beginn php webstatistik code -->
<script type="text/javascript" src="https..........
<script type="text/javascript" src="https:.....
<noscript><img src="https://......</noscript>
<!-- Ende php webstatistik code -->
<!-- #EndLibraryItem -->
*<!-- ***************************************************************************** -->*
<!-- _ -->
<!-- uniFooter content ends here -->


To include my web-statistic code in Lucid I am not sure if I have to do it in the same way. Maybe it is easier with Lucid to do so, too.

I would appreciate any help. Thanks in advance.

Regards
Peter (AlexMZ)

Edited by: AlexMZ on 02-Nov-2019 11:40

AlexMZ

Posts: 7
Registered: 9-Feb-2007
Re: additional code to lucid skin
Posted: 2 Nov 19, 11:42   in response to: AlexMZ in response to: AlexMZ
 
  Click to reply to this thread Reply
I found where to add my code. All works fine now.
AndreWolff

Posts: 1,289
Registered: 14-Dec-2007
Re: additional code to lucid skin
Posted: 7 Nov 19, 14:12   in response to: AlexMZ in response to: AlexMZ
 
  Click to reply to this thread Reply
AlexMZ wrote:
I found where to add my code. All works fine now.
Why don't you tell us how you did it?
Legend
Forum admins
Helpful Answer
Correct Answer

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