boardtc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 3.5 upgrade failure in misc.phpCompletely. That’s why I am hoping for a patch for the broken upgrade path. Where can I report the bug?
At the least wordpress should release a set of definite instruction for that will definitely work for this bug they have introduced.
Forum: Fixing WordPress
In reply to: 3.5 upgrade failure in misc.phpWell the site revolves around my chosen tweaked theme and you suggested it was not definite that 3.5 would work with it after the complex upgrade steps outlined above.
Forum: Fixing WordPress
In reply to: 3.5 upgrade failure in misc.php1 in a million. So I am the only user who upgrade path is broken by 3.5?
The steps outlined are too risky for me to risk loosing my whole site but I would like to stay current ??
Forum: Fixing WordPress
In reply to: 3.5 upgrade failure in misc.phpYikes. I think I’ll be waiting for a patch fix before I try anything else.
Forum: Fixing WordPress
In reply to: 3.5 upgrade failure in misc.phpThanks for that. Do I gather from that then that it’s the theme I am using which is the problem?
Forum: Fixing WordPress
In reply to: 3.5 upgrade failure in misc.phpI will definitely pass on this upgrade then. How come 3.5 has broken stuff?
Forum: Fixing WordPress
In reply to: 3.5 upgrade failure in misc.phpThanks. Yikes, so much for one click upgrade, I might leave that for when I really need to upgrade! I assume after the steps you outline I could then revert to my theme of choice.
Forum: Fixing WordPress
In reply to: Append uploaded html file to page textI’m forgetting I solved this problem before, it’s all about page templates https://polishingbox.blogspot.com/search/label/wordpress
Forum: Fixing WordPress
In reply to: Append uploaded html file to page textI installed php-exec and had a play but there were a lot of things to setup and big wordpress warnings that put me off.
Does anyone know a more convenient way of achieving this?
Forum: Fixing WordPress
In reply to: Append uploaded html file to page textI tried to reference the html file via a frameset but that did not work for me. Any tips?
Forum: Themes and Templates
In reply to: Showhide javascript in page template@t31os – oh yeah! Works like a charm. With the php include as well! Absolutely fab.
Thanks a lot,
Tom.
Forum: Themes and Templates
In reply to: Showhide javascript in page templateThanks guys. t31os, I added href=”#” but did not see the anchor until I removed the scrips tag ‘<script type=”text/javascript”>’ as drew suggested. However clicking the anchor has no effect ??
Drew my showhide works fine in normal html and is as follows:
function switchMenu(obj) {
var el = document.getElementById(obj);
if ( el.style.display != "none" ) {
el.style.display = 'none';
}
else {
el.style.display = '';
}
}
Forum: Fixing WordPress
In reply to: Showhide javascript in page templateI moved
<script type=”text/javascript” src=”showhide.js”></script>
to the head section of header.php and the pagepost div now includes
<div id="wrapper"> <script type=”text/javascript”> <!– <a onclick=”switchMenu(’showhide’);”>What’s New</a> //–></script> <div id="showhide"> <?php include(TEMPLATEPATH . '/whatsnew.php'); ?> </div> </div>
I still do not see a What’s new anchor to toggle the show/hide. Any thoughts?
I also want to have the section hidden at startup. In a regularly html page I achieve this with
<body onload="switchMenu('showhide');">
Please advice if another forum is more suitable.
Forum: Fixing WordPress
In reply to: including files in pagesCrosspost, there @t31os, thanks, your post set me straight. In the template file I include the ‘include’ rather then the table and that way I can reuse it as planned. Spot on.
Forum: Fixing WordPress
In reply to: including files in pages@iridiax, ignore the last 2 posts. so, following Creating_Your_Own_Page_Templates I set up a whatsnew.php in my templates directory, containing the first 5 lines, followed ny pages.php with my table code inserted. I put in in my particular template directory…sure enough when I edit the page I can select the template. Work’s great, thanks a lot! WordPress is flexible, what am I saying!