The included tpl file doesn't currently render any of the panel content either.
| Comment | File | Size | Author |
|---|---|---|---|
| #23 | fusion-1006472-23.patch | 536 bytes | osopolar |
| #21 | Fusion-1006472-remove-skinr-var-in-panels-tmp.patch | 1.32 KB | aquariumtap |
| #18 | fusion_core-panels-pane.tpl_.php-1006472-18.patch | 817 bytes | osopolar |
| #1 | fusion-1006472.patch | 751 bytes | realityloop |
Comments
Comment #1
realityloop commentedThe attached patch fixes panel content rendering, the only way I can get the error to go away currently is to comment out the print $skinr part.
Comment #2
thill_ commentedBecause skinr is not required for fusion printing $skinr throws the error. We need to do a check for module_exists before we print $skinr.
The above patch has already been applied or was fixed at another point. The issue itself has not been fix fixed though.
Comment #3
g76 commentedI am not a coder, but I applied the patch above and deleted the print $skinr from line 27, which removes the error. I am not sure if this is correct, but I am assuming it is fine to do this until skinr for D7 is more stable. If I am wrong, please let me know.
Comment #4
hongpong commentedThis is still an issue. Skinr should not be called if it is not active (and right now it says D7 version is raw!)
Comment #5
srsbl commentedAlso getting Notice: Undefined variable: skinr in include() (line 26 of .../public_html/sites/all/themes/fusion/fusion_core/panels-pane.tpl.php).
Comment #6
aquariumtap commentedThe Skinr module is currently required to use Fusion. Please download at http://www.drupal.org/project/skinr
Comment #7
Anonymous (not verified) commentedI just had this issue - I changed 'print $content' to print render($content) in panels-pane.tpl.php as in #1 and it works ok now.
Comment #8
srsbl commentedThis problem occurs even if Skinr is enabled.
Comment #9
Anonymous (not verified) commentedYup, it's because panels-pane.tpl.php hasn't been updated to use the render api which is in drupal 7. Other templates have been - I don't know enough about front-end requirements to provide a patch, for the moment I'm just doing as above so that it works.
Comment #10
Anonymous (not verified) commentedhmm... I'm now getting problems with the edit pages, they won't show at all, same error message. Have skinr installed & active!
Any ideas?
Comment #11
kclarkson commented@realityloop,
Added your patch along with deleting the $skinr from line 27 and am now rocking.
Much love for the Patch !!!
Comment #12
BenK commentedSubscribing
Comment #13
osopolarPatch is fine. What about replacing
print $skinr;withif (isset($skinr)) : print $skinr; endif;in panels-pane.tpl.php?Comment #14
realityloop commented#13 This is better than my method, as I realise I forgot to output it if its there.
Comment #15
kclarkson commentedCan we get this committed so that we can update our modules without worrying about patches?
thanks again
Comment #16
csmiller commentedUpdated fusion to a new version this morning. Error still appears, although I can fix it by implementing #13.
Comment #17
kclarkson commentedJust did the update and the error is showing as well. Please commit patch to module.
thanks
Comment #18
osopolar#1 and #13 in one patch.
Comment #19
hongpong commentedthis is almost certainly RTBC methinx. not a complex patch!
Comment #20
stephthegeek commentedprint $skinr should be removed entirely (it's injected automatically in D7). That and the update to
<?php print render($content); ?>are the only changes that should be made to Fusion's current panels-pane-tpl.php.Comment #21
aquariumtap commentedI've committed this to the DEV release. For those who rather base this off a patch, one is attached. (I recommend using "git am" to apply.) Thanks to everyone for submitting patches and reviewing, and for your patience !!
Comment #22
osopolar@aquariumtap: so there is no need to print the $skinr variable?
Comment #23
osopolarThis also need to be fixed in 6.x-1.x-dev. Not sure if we need print $skinr; ... I created an equal patch to #13.
Comment #24
osopolarComment #25
osopolar@aquariumtap: may you be so kind and check this patch: its just about checking if $skinr is set. If we don't need this skinr variable, we should just remove it.
Comment #26
aquariumtap commentedComment #27
Poieo commented