Weekly Summary page
- Stutgrtguy
- Posts: 167
- Joined: Sun Oct 20, 2013 3:54 pm
- Location: Colorado
Weekly Summary page
We run our pool to year end, week wins go towards tie-breaks. I would really like to clean up our weeklysummary.asp page, by removing the columns- "cost, winnings, net" I wouldnt even mind if we removed the bottom row "overall pot"
Ive tried a couple times and I must be missing something. Can anyone help?
Ive tried a couple times and I must be missing something. Can anyone help?
Re: Weekly Summary page
Doesn't seem to hard to me, just playing around with it. I would first save a current copy of your weeklySummary.asp file in case things go really wrong so you can just upload it back to your site.
Open up the weeklySummary.asp file and look for this:
Now just comment it out or delete it, to comment it out make it look like this:
Now find this in the same file:
Again, either delete it or comment it out, to comment it out make it look like this:
Lastly, look for this in the same file:
Again, comment it out or delete it, here is how I commented it out:
Now save the changed file and reload your page that should remove the "Cost" column from that page.
You can then do the same for any other columns you want to remove, just change the words to match what you are removing.
Hope this helps,
Phil
Open up the weeklySummary.asp file and look for this:
Code: Select all
var statisticsCostSort = {
tbodyID : "statisticsBody",
theadID : "statisticsHead",
sortColumns : [
{ column : 3, descending : true },
{ column : 0, descending : false }
],
highlightColumns : {
bodyColumns : [3],
headColumns : [3]
}
}
Code: Select all
<!-- var statisticsCostSort = {
tbodyID : "statisticsBody",
theadID : "statisticsHead",
sortColumns : [
{ column : 3, descending : true },
{ column : 0, descending : false }
],
highlightColumns : {
bodyColumns : [3],
headColumns : [3]
}
}
-->
Code: Select all
<th align="center"><a href="#" onclick="this.blur(); return tableSort.sort(statisticsCostSort);" title="Sort by cost.">Cost</a></th>
Code: Select all
<!-- <th align="center"><a href="#" onclick="this.blur(); return tableSort.sort(statisticsCostSort);" title="Sort by cost.">Cost</a></th> -->
Code: Select all
td><% = FormatAmount(cost) %></td>
Code: Select all
<!-- <td><% = FormatAmount(cost) %></td> -->
You can then do the same for any other columns you want to remove, just change the words to match what you are removing.
Hope this helps,
Phil
- Stutgrtguy
- Posts: 167
- Joined: Sun Oct 20, 2013 3:54 pm
- Location: Colorado
Re: Weekly Summary page
Thank you Phil, I played with a little tonight, had the three columns deleted, but then the table wouldnt sort at all, (even the week winners) and I usually have default sort to "overall picks" Ill try to play with it a bit more this weekend if I get time
Re: Weekly Summary page
Oh sure add in extra variables for things you want to work! lol
I honestly didn't test that part if it sorry.
I'll try and look at it more tomorrow if I can though.
Phil
I honestly didn't test that part if it sorry.
I'll try and look at it more tomorrow if I can though.
Phil
Re: Weekly Summary page
Not sure, played a little more with it today and couldn't figure it out. I do know it is pointing to s java script file from there, not very familiar with java at all, though I hardly know ASP either! I can follow what is being done to a point, but this is a bit beyond my skill set.
Phil
Phil