TrolandB
Forum Replies Created
-
Forum: Plugins
In reply to: [Posts from a Category Widget] Thumbnails not displayingWas just me being stupid – the posts didn’t have a featured image set so there was no thumbnail to display.
Forum: Plugins
In reply to: TablePress – "unclear data" error when saving changesHi Tobias – yes it is 0.8.1-beta. WordPress version 3.4.2.
Thanks for the quick response, I will email you now.
Forum: Plugins
In reply to: TablePress – "unclear data" error when saving changesHi there Tobias,
Thanks for the plugin, it’s great. Unfortunately I have the same problem. When saving a simple text table with no headers or footers I get this message:
Saving failed: AJAX call failed: parsererror – SyntaxError: Unexpected token <. Try again while holding down the “Shift” key.
With the shift key it works. Do you have any more details yet?
Will
Does the trick, brilliant.
I discovered that this is something to do with chrome. From what I read chrome calculates the td width differently from how it calculates the width of all the items within a td. So it thinks these items won’t fit in the td – hence it goes onto a new line. I haven’t managed to fix it yet, but I think this is a problem. If I fix it I’ll post the fix here.
Nope never did
I found a way, in pricetable.php change:
return $the_content;
to:
return do_shortcode($the_content);
This allows shortcodes to be processed within the content of the [price_table] shortcode. If there’s a better way let me know.
Forum: Plugins
In reply to: [Price Table] [Plugin: Price Table] IE feedbackThis is normal for IE8, it doesn’t support CSS rounded corners.
I cannot delete columns either. Do you have a way to fix this? I was also considering buying the premium version, but wouldn’t unless this is fixed.
Ok I managed to get a default text to always show by removing reference to the
$selected
variable in dropdown-menu.php and adding my own title using the dropdown_title parameter when I call the function.I almost got the ordinary menu to come up with the correct item selected when the select box is clicked with the following jQuery:
jQuery('select.dropdown-menu').click(function(){ jQuery('option.current-menu-item').attr('selected', 'selected'); }); jQuery('body').click(function() { jQuery("select.dropdown-menu").prop('selectedIndex', 0); }); jQuery('select.dropdown-menu').click(function(e) { e.stopPropagation(); });
It worked on in chrome with iPhone user agent, but unfortunately in iphone safari there’s a problem with multiple options being selected which I couldn’t fix.
So I’ll leave it with an always showing default option, unless anyone has any suggestions.
Thanks for that – I found that I had included this filter twice; in functions.php and in dropdown-menus.php, that’s why I got the server error.
In fact though this may not be necessary for what I’m trying to do. What I want is for there to be a default text ‘Navigation’, or even better ‘<menu name> navigation’, that is always shown regardless of which page you’re on (which option is selected). Then when the dropdown is clicked the ordinary menu would come up with the selected one highlighted as usual (but still with the default text in the box).
This is probably a bit of an extension of what you’ve done, so no problem if it’s not something you can help with, but if you have any pointers as to how to start let me know.
Hi there,
The problem originally occurred with the carrington mobile 1.0.2 theme. This theme works as part of a theme framework so I thought that might be the problem, so I tried it with business canvas from chimera themes, which is a pretty normal theme, but this didn’t work either. (My site uses two themes, one for mobile one for desktop, and wordpress mobile edition to switch between the two).
WordPress version: 3.3.1
phpinfo output: PHP Version 5.3.2-1ubuntu4.11Not sure quite what you mean by unicode quotes, but I doubt that’s the problem, as the quotes are just the same as in every other function.
Hi there,
When I added the php code above to my functions.php, I got an internal server error. Is the code correct? (It’s not a problem with php tags)
I also tried adding it to the filters.php of my theme, same result.
I made the shortcodes functional in the carrington theme that wordpress mobile edition uses. I added the shortcodes.php from my normal theme to the carrington root, then added the following to header-default.php
include('wp-content/themes/carrington-mobile-1.0.2/shortcodes.php');
I tried to use the
trailingslashit(get_bloginfo('template_url'))
method but couldn’t get it to work.It is the ‘anythingBase rule
overflow: visible !important;
that is overriding the code in .anythingSlider to prevent FOUC, but even if I remove this rule and let theoverflow-y: auto;overflow-x: hidden;
rules be applied, it still doesn’t work.