Along Elasticsearch I wrote a extension for fluram so that it can use elasticsearch ik to search Chinese. Now there are too many problems so i need some help. I write a frontend setting page but it can't work.
luceos Along I write a frontend setting page but it can't work. The js initializer in your admin/index.js needs to use the Flarum extension ID: replace / with - remove flarum-ext- and flarum- This alongwy-es should therefor be alongwy-elasticsearch.
luceos luceos seems I was mistaken. The initializer name doesn't matter. Do you get any errors in your console Along ; when typing app.initializers do you see your initializer?
datitisev Along The app.extensionSettings key should be equal to the extension ID. You can follow luceos guidelines on how to find the ID, but you should replace app.extensionSettings['alongwy-es'] with app.extensionSettings['alongwy-elasticsearch'].
Along fakruzaruret I'll add it after fix menu. datitisev Thanks, I will fix it and publish one experimential version. luceos Thanks for your help,! I have changed the setting name to "alongwy-elasticsearch" and it works.