Carver
10-05-2011, 11:08 PM
1) Script Title: Random Order Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/randomcontentorder.htm
3) Describe problem: Nine days ago this script worked flawlessly. Then my website partner asked, can we do this?... I said yes... when I should have said no lol. (I clicked the pretty urls in settings and lost the entire site without a backup being made.) Now, I've rebuilt the site. My first build with this script must have been shear luck. I can not get the code to work when I insert it into the header.php after the < head > tag.
Now I have double checked Step 2 and that is all clean code and it is in the page content block.
Step 1 - is my problem. I really thought I added it to header.php
Since it didn't work there, I tried the body part of the header.php, along with the head of the CSS stylesheet. I've tried placing Step 1 in various places where it says < head >.
At one point, my content page when refreshed would be empty of all Step 2 code and content. Now it is staying in order.
Where do I place the Step 1 code?
Thanks,
Carver
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/randomcontentorder.htm
3) Describe problem: Nine days ago this script worked flawlessly. Then my website partner asked, can we do this?... I said yes... when I should have said no lol. (I clicked the pretty urls in settings and lost the entire site without a backup being made.) Now, I've rebuilt the site. My first build with this script must have been shear luck. I can not get the code to work when I insert it into the header.php after the < head > tag.
Now I have double checked Step 2 and that is all clean code and it is in the page content block.
Step 1 - is my problem. I really thought I added it to header.php
Since it didn't work there, I tried the body part of the header.php, along with the head of the CSS stylesheet. I've tried placing Step 1 in various places where it says < head >.
At one point, my content page when refreshed would be empty of all Step 2 code and content. Now it is staying in order.
Where do I place the Step 1 code?
Thanks,
Carver