11
Alanbax
Re: problems in the slide of XDScheme theme "using images"
  • 2012/6/29 19:26

  • Alanbax

  • Just popping in

  • Posts: 23

  • Since: 2012/4/21


Just tried something 'simple' and seems to work.

In the theme.html file locate this

<{
$xoops_module_header}>


Simply move this above the Jquery calls in the theme so it looks like this
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />         
     
<{
$xoops_module_header}>   
<
script src="<{xoImgUrl js/jquery-1.7.min.js}>" type="text/javascript">script>   
<
script src="<{xoImgUrl js/prettyCheckboxes.js}>" type="text/javascript">script>

Not sure if this the best way but it works for the modules I'm using so far.

Alan

12
Alanbax
Re: problems in the slide of XDScheme theme "using images"
  • 2012/6/29 19:51

  • Alanbax

  • Just popping in

  • Posts: 23

  • Since: 2012/4/21


Have just found an alternative method which may work better:

I Moved the slider code into a separate file then enclosed it like this in the main theme.html file so it only appears on the home page

<{if 
$smarty.server.PHP_SELF=='/index.php'}>
<{include 
file="$theme_name/theme_slider.html"}>
<{/if}>

I then removed this line from the section of theme.html
<script src="<{xoImgUrl js/jquery.jcarousel.js}>" type="text/javascript">script>

and added it to the end of the slider file (after the last

div>
<
script src="<{xoImgUrl js/jquery.jcarousel.js}>" type="text/javascript">script>

This should allow any module to work (I hope!!!)

Alan

Login

Who's Online

450 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 450


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits