Gernott / mask

TYPO3 Extension Mask
https://www.facebook.com/typo3mask
GNU General Public License v2.0
130 stars 86 forks source link

No backend preview after update to v8 #527

Closed sniepy closed 2 years ago

sniepy commented 2 years ago

Hi,

as mentioned in the title I got a problem with my backend previews. Since updating to mask v8 it appears that the backend templates are not loaded anymore. The paths in my local configuration are still correct and the templates do exist.

Do you have any suggestions?

Best regards, Sebastian

nhovratov commented 2 years ago

Which TYPO3 version are you on? v11 or v12?

sniepy commented 2 years ago

It's v11

nhovratov commented 2 years ago

Okay thanks, I will check it.

sniepy commented 2 years ago

Thank you!

nhovratov commented 2 years ago

Thanks for reporting the issue! Fixed and released a new version.

sniepy commented 2 years ago

Great! Thanks for your incredible work!

PaDa19 commented 1 year ago

Hi,

I have the same problem but I am using TYPO3 12.3.0 and Mask 8.0.8. The function preProcess in Classes/Hooks/PageLayoutViewDrawItem never gets called. The frontend works without a problem and I double and tripple checked the paths.

Any idea what might be the problem?

Regards, Patrick.

nhovratov commented 1 year ago

Hi @PaDa19 The class PageLayoutViewDrawItem is not used in v12, this is the old hook for v11. Have a look at https://github.com/Gernott/mask/blob/main/Classes/EventListeners/MaskBackendPreviewEventListener.php please. Last time I checked it worked in v12.