adieyal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: mysql export – importI concur with sawtelle. I just changed my post_content and post_title fields to longblob and blob respectively – exported,imported and changed them back and every thing seems display correctly.
If anyone is interested
Before Export:
ALTER TABLEwp_posts
CHANGEpost_content
post_content
LONGBLOB NOT NULL ,
CHANGEpost_title
post_title
BLOB NOT NULLand After Import:
ALTER TABLEwp_posts
CHANGEpost_content
post_content
LONGTEXT NOT NULL ,
CHANGEpost_title
post_title
TEXT NOT NULLThere may be other fields that need changing but those were the two that I needed.
Adi
Forum: Fixing WordPress
In reply to: Character Set / Encoding / Collation / Garbled Text WoesAny resolution on this topic? I’m currently trying to move servers and am being faced with a screen full of hebrew mixed with garbled characters.
Forum: Plugins
In reply to: Correct way to link between admin pagesThanks for the reply Otto42
Forum: Plugins
In reply to: Correct way to link between admin pagesI’m writing a plugin, say I want a product management system built into wordpress. I might have a page prodlist.php which will display all my products, not unlike the manage->post/page in the standard wordpress admin application. Next to each product, I have an edit button which, when pressed, lets me edit the product details. The edit page is say prodedit.php, is installed as a submenu item in the admin application and can be found by following the following link: mydomain.com/wp-admin/admin.php?page=foo. It would make sense to me that the wordpress developers would have written a wrapper function such as get_menu_url(“foo”) which would create the link above.
I don’t think that get_bloginfo helps as it gives blog specific content and does not deal with the admin application.
This is not a serious issue as I can simply hardcode the link but a level of abstraction would be nice.
Thanks for your responses so far.
Forum: Plugins
In reply to: Correct way to link between admin pagesthanks for the reply but I think you misunderstood me. I’ve already installed both a.php and b.php as menu items. I just want to create an html link on a.php that, when clicked, loads up b.php. It’s easy enough to do the following
Link but I was wondering if there was a wrapper function for creating the url.
Forum: Plugins
In reply to: HOWTO create new structured data typesThanks for the reply. I actually searched around and found a book review plugin (https://www.viewfinderdesign.co.uk/archive/category/downloads/) that I used as a template for what I wanted to do.
Adi