K Kirby Well-known member Aug 12, 2024 #21 Robert9 said: e) open one template in PHPStorm, save it, check result Click to expand... That's exactly how developer output works - just edit the .html/.less files in _output
Robert9 said: e) open one template in PHPStorm, save it, check result Click to expand... That's exactly how developer output works - just edit the .html/.less files in _output
Jeremy P XenForo developer Staff member Aug 12, 2024 #23 You edit them in the _output/ folder of the add-on.
R Robert9 Well-known member Aug 12, 2024 #24 ls -R ~ | grep "_output" can find two (!) from 50 add-ons. I've never seen this directory before. -- Should I create the folder, save the templates individually, and then have PHPStorm import them upon saving?
ls -R ~ | grep "_output" can find two (!) from 50 add-ons. I've never seen this directory before. -- Should I create the folder, save the templates individually, and then have PHPStorm import them upon saving?
Jeremy P XenForo developer Staff member Aug 12, 2024 #25 Robert9 said: Should I create the folder, Click to expand... You can populate them for existing add-ons via php cmd.php xf-dev:export. This folder is only for development and should be populated in development mode already. Robert9 said: then have PHPStorm import them upon saving? Click to expand... XF automatically imports the templates when they are rendered, so you don't typically need to do anything.
Robert9 said: Should I create the folder, Click to expand... You can populate them for existing add-ons via php cmd.php xf-dev:export. This folder is only for development and should be populated in development mode already. Robert9 said: then have PHPStorm import them upon saving? Click to expand... XF automatically imports the templates when they are rendered, so you don't typically need to do anything.