Closed (works as designed)
Project:
Image Caption
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2008 at 03:03 UTC
Updated:
26 Oct 2016 at 16:18 UTC
Jump to comment: Most recent
Comments
Comment #1
davidwhthomas commentedTry clearing your cache_menu table with
TRUNCATE TABLE cache_menu;via PHPMyAdmin etc...
Don't worry, the SQL will only clear the cache_menu table which will be rebuilt straight after.
I hope that helps,
regards,
DT
Comment #2
davidwhthomas commentedComment #3
BenK commentedI'm experience the same problem... Image Caption isn't showing at all in the Site Configuration menu.
I tried to truncate the cache table as you described above, but that didn't solve the problem.
I also tried to look and see if I needed to give myself a user permission to administer Image Caption, but I didn't see any new permissions made available by the module.
Any other ideas? I'm using the 6.x-1.0 version.
Comment #4
john.kenney commentedNot working for me either. Module is 'enabled' but doesn't show up on site config menu.
I'm on 6.2 and using the 6.x-1.0 version of this module. I cleared all cache records and still no luck.
Comment #5
davidwhthomas commentedOK, I'll look into this further,
DT
Comment #6
BenK commentedWhat is the URL path supposed to be to the Image Caption settings page?
Comment #7
davidwhthomas commentedThe path to the settings page is:
admin/settings/image_captionDT
Comment #8
BenK commentedWhen I try to visit admin/settings/image_caption I get an Access Denied error.
This Access Denied error persists even when my user role has all permissions in the user permissions table. I even tried logging in as the admin user (user #1), but I still get the Access Denied error.
Hope this helps,
Ben
Comment #9
davidwhthomas commentedHi,
Try editing the file image_caption.module
and add the 'access arguments' part to the $items array in
image_caption_menu. i.e:You may need to clear your menu cache again, either SQL
TRUNCATE TABLE cache_menu;or edit and save a menu item to rebuild the cache.I hope that helps.
Comment #10
BenK commentedI tried adding:
'access arguments' => array('administer site configuration')
as you suggested (and then truncated the cache_menu table), but unfortunately the same error persists. Any other ideas?
Comment #11
hyperreality commentedI added the line of code mentioned in #9, and cleared the cache via the link from the Devel module, and the Image Caption settings link appeared. This is in contrast to #10, so I thought I'd report it. Thanks!
Comment #12
davidwhthomas commentedThanks, glad to hear it.
Comment #13
fletchgqc commentedI'm using the 6.2 version. Had the same experience as everyone else and the fix in #9 worked.
Comment #14
BenK commentedThe fix listed in #9 all of a sudden started working for me, too! I'm not sure why it didn't work the first time, but all seems to be well now.
--Ben
Comment #15
davidwhthomas commentedThis fix will be committed to the main branch as soon as my CVS issues are sorted by the powers that be :-)
Comment #16
davidwhthomas commentedComment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #18
marquito commentedI'm using drupal 7 and Image Caption 7.x-1.0-beta3 but I get no Configs page. Doesn't appear on menu and isn't accessible through any of the paths I tried (admin/config/media/image_caption, admin/config/image_caption).
I know this is a secular thread but it's worth the shot before I implement a custom module.
thanks.
Comment #19
ali4579 commentedI'm using Drupal 7 and have tried the beta and dev versions of this module but it does not show up in site configuration, nor by directly going to /admin/config/image_caption
Comment #20
xenophyle commentedThere doesn't seem to be any code in the module providing a configuration form, or even a hook_menu implementation. Maybe it got lost in the update.
Comment #21
ali4579 commentedI've tried beta 1 and beta 2 but still no luck. Surely someone has had this working in drupal 7? Seems so strange.
Comment #22
ali4579 commentedComment #23
danny englanderOn the project page under the Drupal 7 version it says:
-- That implies there is no config page for Drupal 7 though I have had no luck getting this working yet for a field image. I do see some config options within my Text format where you can add the class of the image to the caption setting:
Enter a space-separated list of classes. The filter will only operate on images which have one of these CSS classes and have a title attribute.... but still no joy.
Comment #24
nmillin commentedThere is no Config page required (http://drupal.org/node/1136816).
I messed around with this and got it to work using WYSIWYG module & TinyMCE. (The research I did into CKEditor vs TinyMCE lead me to use TinyMCE since people are leaning towards adding TinyMCE into Core. Take this with a grain of salt because I'm not an expert on this.)
Go to your admin/config/content/wysiwyg/profile/full_html/edit page and expand the CSS tab. Add caption=caption to the CSS Classes section. Now when you edit the image (click on the image button), and go to the Appearance tab, you have the option to select the caption class. This will pull in the Title that is set on the General Tab.
It was so easy, it was hard for me to get this set up.
Awesome Module BTW!
**Update**
I believe you just need to install the Image caption module for this to work. The Image caption filter module (bundled together) does:
Which I didn't need.
Comment #25
nordicmaterial commentedAfter having messed around with this to no great success, i chose to uninstall this and install jCaption.
http://drupal.org/project/jcaption
Very happy now:
jCaption needs no configuration; it automatically adds a caption tag under every image you gave a title tag.
Works with image field with title field enabled.
voilà.
Comment #26
dhills commentedIt wasn't working for me either, but manually typing in the url of the page where it's supposed to be got me to the right page and I was able to set node access. Now to see if it works! Thanks!
Comment #27
bisonbleu commented@davidwhthomas said it all here: there is no config page for the D7 version (the README needs to be updated). All you need to do is add the caption class to the image tag. See example below.
<img title="This is my image caption." class="image-large caption" src="/sites/default/files/styles/large/public/my-image.jpg"This is also mentioned on the project page: No configuration needed
Comment #28
bisonbleu commentedSetting status to Works as designed.