I modded the template.php as it said in the documentation page (I am using the MyDrupal Impact theme)
Since making the mod, when any content is submitted (sitewide: forums, comment, page, etc) or an admin function is performed (anything where a "submit" button is pressed) the screen site loads a blank white screen with the previous URL address. Hitting enter after receiving the white screen causes the previous screen to reappear. In the case of a forum submission or edit, it returns you to the create or edit page as though you never clicked submit.
The site is http://www.tapbjj.com and I have set up a temporary test account un: Test pw: test with permission to submit forum content.
Please help! :)
Comment | File | Size | Author |
---|---|---|---|
template.php_.txt | 885 bytes | bstrange |
Comments
Comment #1
bstrange CreditAttribution: bstrange commentedUnfortunately I had to temporarily revert to the unmodded template.php file as I got a call from a couple members trying to use the site (it's new so they are all excited and it's hard to keep them off lol).
Therefor, logging in with test will not reproduce the behavior. I will put the modded php back up as soon as I see everybody is off this evening.
Also, there is no menu link to drupal's forum, so use http://www.tapbjj.com/forum
I am still trying to play with the php code myself atm.
Comment #2
bstrange CreditAttribution: bstrange commentedchanged template.php to the following based off a response from main drupal forums and it works now:
Comment #3
MichelleI don't see how that's working... You're supposed to put the code into _phptemplate_variables()
Michelle
Comment #4
bstrange CreditAttribution: bstrange commentedCould you show me how it should look in my template.php? As far as I know, I have no section for _phptemplate_variables()
Please post the code how it should look in respect to my template.php if you have time
Thanks! :)
Comment #5
bstrange CreditAttribution: bstrange commentedBTW, I just realized, the template.php does not work with FF. It does in IE. In IE I get forum, tables and all. In FF all I get is a mark all forums as read button.
You can check it in both browsers at http://www.tapbjj.com/forum
Comment #6
Max_Headroom CreditAttribution: Max_Headroom commentedI see it on both. It's right at the bottom.
If you don't see the _phptemplate_variables() function in template.php, you have to create it.
http://drupal.org/node/207841
Comment #7
MichelleThanks, Zandroc
Michelle
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.