When I view a summary page or or views page of nodes, I can see the activeedit icons properly. However, if I view the full node via a "read more" link, the main node shows no activeedit icons. In addition, the comments will show an activeedit icon for every paragraph in the comment if the user has "edit comments" permission.
Comments
Comment #1
nedjoWhat theme are you using? Activeedit is very theme-dependent for finding the appropriate elements to attach to.
Comment #2
jasonwhat commentedI"m using barron. I adapted it slightly to get dynamic loading to work from jstools, but otherwise is pretty standard. What themes does it work best with, and what changes could be made to have it work?
Comment #3
nedjoEach element is identified by a jQuery selector expression. Some of these can be easiliy overridden for a particular theme. See the files in the /theme directory in the module code. Each file is the overrides for a given theme. The defaults are given in the /modules directory. See the various #selector values. For each element, the javascript will look for the selector given in the /modules code unless that has been overridden in the /theme with a file named for the current theme.
Obviously I need to document this and explain it better. Please have a look and ask more questions as needed.
Comment #4
deadman commentedI was having the same problem but solved the issue with comments by adjusting my comment template so the selectors existed as required (ie the "comment" and "content" divs etc).
However, I'm still not able to get the "node" edit buttons to show when viewing the node as a page.
The edit buttons show up fine when using one of the default themes (but again only in teaser view) but neither the default or my custom themes seem to show the edit buttons.
Am I missing something or is it only supposed to work on the teaser view?
Comment #5
reformatt commentedGreat job on this module nedjo, it has so much potential :)
Deadman, I am having the same issue.
After doing a bunch of dvm traces I came to the following conclusion: http://drupal.org/node/342291
- The nodeapi within activeedit is never being called from the node module when you go to the full node page
- nodeapi is called within jstools but the sub modules are loaded after so drupal doesn't know to call the sub nodeapi's as well
Did you find any solutions in the mean time?
I really hope we can write a patch for this so the "EDIT" buttons will appear on the full node pages as well
Regards,
Matt