FYI Version 1.2 is available for download now so the first thing is to get the newest files.
As for contest not showing in admin.
1. You ran the install-sql-contest-v1.?.php to update your database?
2. If so is Contest showing under Admin>Configuration>Contest ?
Also is it showing under Admin>Reports>Contest Prize Entries?
Skip
446F63746F722057686F
Hi Skipwater,
This problem has gotten me intrigued! I uploaded all the files again, and still get the same problem.
1. on the admin, not seeing any value under column ENTRY, I assume that is normal because on your screenshot it shows the same thing, nothing on ENTRY whether the entry is validated or not so I assume there really isnt anything there.
2. My main problem is still the fact that the left and right sideboxes goes screwy on the contest end page. It only seems to be affected on the contest end. The other pages where you enter your answer and or see who won comes out ok. So my question is what drives the template of the contest end?
I was toying with definecontestend.php and trying to see where the problem is. I deleted the whole code on it and it still show that the sideboxes are screwed up and the middle portion is blank.
So I went to the tpl_contest_default.php and was looking to see what drives the center template. Took out the button, and still shows the sideboxes pushed to the right.
I'm using Cherry Zen template. Maybe some css code is affecting the display of the contest end page.
I don't know... maybe you could shed some light on what the difference is in the coding of the rest of the contest page as compared to the contest end page? Thanks!!
Hi there,
I use the same template, so it definitely must be something to do with CSS.
How to correct? there must be a code somewhere. Did it work on yours without problem?
Hi Skipwater!
Thank you for this great contribution! I had some problems getting the SQL patch installed on my 1.3.7.1. I use the prefix zen_ and your script wouldn't append the prefix to the SQL queries or to the contest table so I had to go into the SQL script and change the table names to include zen_. A suggestion for the next update is to include auto appending the database prefix to table names. I have it sorted now and am testing it out on my live test site.
Thanks again!
sunflowerI'm using Cherry Zen template. Maybe some css code is affecting the display of the contest end page.
There is only one difference that I can see that might be css code breaking your templet that is the pageHeading.
in /includes/languages/english/html_includes/YOUR_TEMPLATE /define_contestend.php
How is the rules and winner page display?Code:<table border="0" width="100%" cellspacing="10" cellpadding="10"> <tr> <td class="pageHeading"" width=100% align="center" valign="top"> <font size="5"><strong>CONTEST HAS ENDED</strong></font><br/> </td> </tr> <tr> <td class="main" align="center"> <p class="biggerText"> <strong>There Will be a NEW contest soon please check back.</strong></p> </td> </tr> </table>
446F63746F722057686F
sunflowertami and HeathenMagic
Here is the fix for your cherry_zen template and I have test on others and seems to work on all.
Replace this file with the zip attached here. Or you can just edit as below.
/includes/languages/english/html_includes/YOUR_TEMPLATE /define_contestend.php
Code:<!-- bof define_contestend --> <div class='centerColumn' id='contest'> <h1 id='contest-heading'><?php echo HEADING_TITLE; ?></h1> <div id='contest-content' class='content'> <table border="0" width="100%" cellspacing="10" cellpadding="10"> <tr> <td class="pageHeading"" width=100% align="center" valign="top"> <font size="5"><strong>CONTEST HAS ENDED</strong></font><br/> </td> </tr> <tr> <td class="main" align="center"> <p class="biggerText"> <strong>There Will be a NEW contest soon please check back.</strong></p> </td> </tr> </table> <!-- eof define_contestend DO NOT close with the two div -->
446F63746F722057686F
Bookmarks