[Plugin: Recipe Schema] descriptions & etc.
-
First off all thanks for plugin!
but there is a some question..
1) wisiwig implimentation in Directions & ingridients part? is it possible? and how to do it?
2) cousine type for now i can only add new, but not to edit existing
3) translations? how to apply?
thanks.
-
Thanks for developing this plugin – from what I’ve seen so far it looks great!
I have an issue when trying to change settings:
When I click on the Settings link (as administrator), I only ever get an error message
‘You do not have sufficient permissions to access this page.’I’m using a clean wordpress install of the latest version (3.4.1)
thanks
Feeding frenzy –
Thanks so much! This is my first plugin, it put it together for my cooking website – cookography.com and I thought other people might find it useful too.That is weird! I might need to do some research. It looks like the only thing that gets check is whether the user is an administrator or not. From line 549 of recipe-schema.php:
add_options_page( ‘Recipe Settings’, ‘Recipe Schema’, ‘administrator’, RECIPE_SCHEMA_POSTTYPE, array ( $this->client, ‘settings_page’ ) );There isn’t much on the settings page yet, so you are not missing much, but I will find some answers.
tuvinez –
Thanks!!
1) wisiwig implimentation in Directions & ingridients part? is it possible? and how to do it?
What were you thinking? Do you want to be able to add in formatting like italics and bold, or be able to see how the final directions would look, with bullets and paragraphs. This is a good idea and I will see what I can do.2) cousine type for now i can only add new, but not to edit existing
I will have to check on that. I am able to edit the existing ones on my install.3) translations? how to apply?
That is a great idea. I have to first mark the text for translation and generate a file. I never did it because I didn’t think anyone would be interested, but I will!!Robotastic,
I’m also have cooking store & cooking blog) need coorrect wp-plugin to be happy)I’m not quite good in programming, but i will think about how to implement wisiwig.
I have another issue, snippets is not quite good for google. have you tested it in webmasters part?
& another issue from my redactros, need more photo attached to recipe. (but we need to aasign snippet form main image only)
What do you think about this?
Cool!
I have been testing using the Google Webmaster Rich Snippet tool and it hasn’t been showing my any areas. Here is one of my pages.
Are you getting an error when you do it? Do you have a link to a page with the error that you could share?
Where would you like the additional recipe photos to show up? In the Directions section next to different steps?
The way I have been using the plugin is inserting them into a post and then having additional photos after the recipe explaining different steps.
Thanks for the plug-in. Looks exactly what I need.
I’m having exactly the same problem as feedingfrenzy:
‘You do not have sufficient permissions to access this page.’ when I click on settings from the plug-in menu.
But under settings, I now have a Recipe schema tab, and when I click that I see this warning before the ‘show recipe photo’ button.
Warning: Missing argument 2 for do_settings_fields(), called in … /wp-content/plugins/recipe-schema/inc/recipe-schema-client.php on line 21 and defined in … /wp-admin/includes/template.php on line 1142Hi Dan, I will try to figure this out this weekend.
What version of WordPress do you have installed?Is the User you login as, an Admin? If you goto User in the Admin section, what is the Role listed as? Is it Administrator?
Do you have it setup as Multisite or is there just one blog?
Something to try:
If you are game to do a little text editing, go into your wordpress directory on your server. Then go into the “wp-content/plugins/recipe-schema” directory.
Edit the recipe-schema.php file.
Goto line 545 and replace this line:add_options_page( ‘Recipe Settings’, ‘Recipe Schema’, ‘administrator’, RECIPE_SCHEMA_POSTTYPE, array ( $this->client, ‘settings_page’ ) );
with this one:
add_options_page( ‘Recipe Settings’, ‘Recipe Schema’, ‘manage_options’, RECIPE_SCHEMA_POSTTYPE, array( $this->client, ‘settings_page’ ) );
I think it might fix things…
Hi Robotastic,
I’m running the latest version (3.4.2) single blog, logged in as Administrator , and confirmed in User>Role.
Just tried editing the recipe-schema.php file as suggested, but nothing changed ( I even tried cleaning out the cookies, history, etc, and logging in again with still no change.)
Other plugins with a similar “settings” button (jetpack, akisnet) work just fine.
Also updated to version 1.1 and it made no difference.Dan – Thanks so much for trying all that. I am still confused why it is not working. I did a clean install on my side and things worked fine. I found one more thing that might be causing the problem. I was creating the menu on the wrong wordpress hook.
Any chance you could goto: recipe-schema.php
and goto line 65
and change ‘admin_init’ to ‘admin_menu’I am hoping that fixes it. If not I will keep digging. Thanks for your help and sorry for the trouble!
Hi Robotastic,
Thanks for the speedy response. Unfortunately, that didn’t work either!
Should I try a clean install?Bummer! Thanks for trying Dan. If you are able to try a clean install, that would be helpful. I am not quite sure what else to change, I am using the code right off the wordpress site. I also have it running up on my site that is 5 years old and it isn’t giving me the error. I am wondering if it has something to do with your hosting setup or .htaccess or permalink structure. Anyhow, if you are able to give it a try it would help figure out where the problem is.
Thanks!
-Luke
Hi Luke,
Deleted and reinstalled Recipe Schema, also reinstalled WordPress –
no change.
You first fix is already in 1.1 on line 549, but I applied the second fix on line 65, and I still get that “You do not have sufficient permissions to access this page.” message.
Don’t know if this helps:
Hosted on GoDaddy – independante WP install in a subdomain.
Permalinks are set to “day and name”.
What should I be looking for in .htaccess? – I think it’s the standard WP default:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Dan
Hi Luke,
Maybe all this is a bit irrelevant anyway!
Everything else seems to be working – I already imported 2 recipes and everything seems ok:
https://ricenbeans.wordsmithblog.biz/2012/09/27/beans-2/
And I can get to a settings panel via Dashboard>Setting>Recipe Schema where I can see the three “show” buttons plus two taxonomy buttons, and they all seem to work ok.
I had imagined that the initial settings link might give me more options re layout, etc, etc, but reading thru your “installation” and “how to use” pages, I’m beginning to think maybe not.
Dan
BTW I didn’t like the capital “H” and “M” in the cooking and prep times so edited recipe-schema-client.php to change them to “hour” and “min”. Hope it won’t mess anything up!
BTW2 Congrats on the cookography site. Nice!I am officially an idiot… I figured it out. I misunderstood what you met. I forgot that there was a Settings link on the plugin page. You are correct, that link is broken. I fixed that and will put up and update.
That is correct way to change things around. I will work on adding in a feature to make it easier to change the formatting.
Sorry for all the trouble, and thanks for using it!
– Luke
- The topic ‘[Plugin: Recipe Schema] descriptions & etc.’ is closed to new replies.