Another problem i got - The problem finder in action ;)

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Post Reply
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Another problem i got - Statistic Mod

The problem and what i think is the problem is that
because these modules whit the tpl files for this mod is in the

root/stat_modules/
And not in the normal template directory

Therefore i think it can result in the problem that i cant use
{TPL_HDR1}blabla{TPL_HDR2}
That is used to make a normal block in Morpheus.

It seems like the style {TPL_HDR1} cant be found somehow.
So the results is that there is nothing there..

I want to change:

Code: Select all

<table border="0" cellpadding="4" cellspacing="1" class="forumline" width="100%"> 
  <tr> 
    <td class="catHead" align="center" colspan="6"> 
      <span class="cattitle">{L_TOP_SMILIES}</span> 
    </td> 
  </tr>
To

Code: Select all

{TPL_HDR1}{L_TOP_SMILIES}{TPL_HDR2}<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<th nowrap="nowrap" colspan="2">xxx undertext xxx</th>
But as i said if i do that the page cant find the style somehow..
And i think it is because all the modules is in the
root/stat_modules/

Any idé how to proceed ?

The stranges thing here is:
As you can see it looks stupid now (original code)
http://www.volunteerforum.se/statistics.php

But the same tpl file in root/stat_modules/
Is the same template file for the Admin Index Statistic page to
(Because when i try to change it it changes in admin page to)

The strange thing is that this same file
As you can see (image of admin page)
adminstatiscs.JPG
Looks alot more "ok" :? :? :?

Why :?: :?: :?:
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

I think it looks fine the way it is :?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

I dont think that.
All my site should have the same style on all pages.


Look here for example:
http://forum.talk.pri.ee/statistics.php

That is how it should be, and compare it whit mine.
Do you still think it looks "ok" whit grey *Beeeeeeeep* at my site ? :roll:
Last edited by Leon on Sun Jun 18, 2006 12:02 pm, edited 1 time in total.
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

To be honest, I think yours looks better :)
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Ofcourse mine is better, mine always gona be better then anyone elses :wink:

But i could make it look even better (As always) :D

So do you have any idé why i cant use

{TPL_HDR1} {TPL_HDR2}

In all the tpl files in another folder then the normal
template folder ?
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

What exactly does {TPL_HDR1} and {TPL_HDR2} do?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

{TPL_HDR1} make the start:

Image


The {TPL_HDR2} create the end:

Image

I have also updated the stat page whit the right code now
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Just to see if this work, after the module code i added a module
i have on the Portal page:

Code: Select all

{TPL_HDR1}Volunteer Photos{TPL_HDR2_SMALL}<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	<tr>
		<td class="row1" align="center">
<br>
	<A href="album.php"><IMG src="Minmapp/Portalen/upload_volunteer_photo.jpg" alt="Upload volunteer photos here at Volunteer Forum for free. Enjoy!"></A><br>
<br>
	</tr>
		</td>
</table>{TPL_FTR}
Because this i know that work...

But the same problem accurs, it cant find the *beeeeeeepp*
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

I'm afraid I can't help you with this one, I've never used that particular theme before :(
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

I dont think its the theme in question here..

The question i think is more like, "why cant i use any
normalt template code in a folder that isent in the normal template path"
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Have you defined the variable through the $template->assign_vars() class?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Well i did uistall 2.1.5 and updated it to the latest 3.0.1 BETA3h
(Another one has taken this script in hand and updated it
there for i dident see that it was updated first)

Its alot buggfixes in this new version and the ACP is quite good now
but the same template problem remain still.

But the problem now, is that i cant find the modules,
but they are there somewhere :? :oops:
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Whata fu***

diden't see it until now that you have the same statistic mod,
but the old version :o
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Post Reply