1
billo
Page loading script
  • 2005/7/8 23:43

  • billo

  • Just popping in

  • Posts: 20

  • Since: 2004/10/17


Found a page loading script on the XOOPS china site, the code is their but I can't understand the instructions. If anybody knows the instructions can you please post them.

https://xoops.org.cn/modules/newbb/viewtopic.php?topic_id=2714&forum=16

2
pegasus00321
Re: Page loading script

Please search the site before you post, as it says time for you and us

https://xoops.org/modules/smartfaq/faq.php?faqid=445
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc

3
billo
Re: Page loading script
  • 2005/7/9 0:20

  • billo

  • Just popping in

  • Posts: 20

  • Since: 2004/10/17


Thank You for the response, I did find that post that you mentioned before I posted, but I am still uncertain as to where exactly I should include the code in the theme.html file. Any help would be appreciated

4
pegasus00321
Re: Page loading script

Oh ok
In that case

Find the body tag in your XOOPS theme.html file for the themes you want to add this to.
Delete the body tag and put this in its place

<body onLoad="StatusLauftext();return true">
<
div id="waitDiv" style="position:absolute; right:0%; top:50%; visibility:hidden; text-align:center;">
<
table cellpadding="3" cellspacing="3" class="waitbox"><tr>
<
td align="center">
<
b><big>Loading...big>b>
<
br />Please Wait.td>tr>
table>    
<
script type='text/javascript'>

script>
div>


You can change it as you like.

Now, find the tag

Add this just before it
<script type='text/javascript'>

script>


Update your theme file and it should work.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc

5
billo
Re: Page loading script
  • 2005/7/9 0:50

  • billo

  • Just popping in

  • Posts: 20

  • Since: 2004/10/17


Tried it does not work, I know I am not inserting it in the right place. Guess I am getting fustrated. I will include the theme.html, if you would be kind enough in inserting the code in the right place I would deeply apprecite it.So I will be able to see where exactly to position it for my other themes, and I save my monitor by not throwing it out the window LOL

Thank You















<{$xoops_sitename}> - <{$xoops_pagetitle}>




<{$xoops_module_header}>



















logo
<{$xoops_banner}>







<{if $xoops_showrblock == 1}>




<{foreach item=block from=$xoops_lblocks}>







 <{$block.title}>
<{$block.content}>

<{/foreach}>



<{if $xoops_showcblock == 1}>











<{foreach item=block from=$xoops_ccblocks}>







 <{$block.title}>
<{$block.content}>

<{/foreach}>





<{foreach item=block from=$xoops_clblocks}>







 <{$block.title}>
<{$block.content}>

<{/foreach}>





<{foreach item=block from=$xoops_crblocks}>







 <{$block.title}>
<{$block.content}>

<{/foreach}>




<{/if}>



<{$xoops_contents}>



<{foreach item=block from=$xoops_rblocks}>







 <{$block.title}>
<{$block.content}>



<{/foreach}>

<{/if}>

<{$xoops_footer}>



6
carnuke
Re: Page loading script
  • 2005/7/9 9:00

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Just a thought here ... ALWAYS make sure that your theme update is set to 'yes' in system admin, AND clear your browser cache. As a good measure I always delete contents of templates_c also.

Richard
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

7
billo
Re: Page loading script
  • 2005/7/9 13:57

  • billo

  • Just popping in

  • Posts: 20

  • Since: 2004/10/17


Did all that, when I enter the above code in the theme.htnl, not only does the page loader script not work it also messes up the whole theme, so that is why I think I am inserting the code in the wrong place. If any one could help I would appreciate it.

Thank You

8
billo
Re: Page loading script
  • 2005/7/11 0:35

  • billo

  • Just popping in

  • Posts: 20

  • Since: 2004/10/17


Can someone please help in getting the script to work? Would be deeply appreciated.

9
billo
Re: Page loading script
  • 2005/7/12 19:15

  • billo

  • Just popping in

  • Posts: 20

  • Since: 2004/10/17


Not much support for a support forum.

10
Shine
Re: Page loading script
  • 2005/7/12 20:56

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


The given support was very good,....

Ok here it comes:
Take a look at your theme, you;ll see:
Exactly within this tag you should paste the firstly given code.
Now second, look for the tag
Exactly right above this tag you should paste the second code.


Grtz., Shine

Login

Who's Online

399 user(s) are online (310 user(s) are browsing Support Forums)


Members: 0


Guests: 399


more...

Donat-O-Meter

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

Latest GitHub Commits