Linedev-Azuriom / Plugin_Staff

0 stars 0 forks source link

[SOLVED] Icon problem #7

Closed Prozoon700 closed 5 months ago

Prozoon700 commented 5 months ago

Hi. Your plugin is very useful, but it has a problem with the icons. When you try to add icons to the social media's link they don't appear. Furthermore, the icon input is shown as the name and the name input is shown as the hover-name. I hope you solve it!

Prozoon700 commented 5 months ago

Hi. For those ones who are having problems with the icons in the staff plugin I have the solution.

  1. Download one of those files depending on the config you are using.
    • Slider config -> Link
    • Tags Slider config -> Link
    • List config -> Link
    • Rounded config Link
  2. Go to {your root route for Azuriom}/plugins/staff/resources/views/styles if you have the slider or tags slider config, and go to {your root route for Azuriom}/plugins/staff/resources/views/styles/atoms if you have the list or rounded config.
    • As an example my root route for Azuriom is /var/www/Azuriom/, so to access my plugin route (using the slider or tags slider config) I need to use the following route /var/www/Azuriom/plugins/staff/resources/views/styles.
    • Meanwhile using the list or rounded config I must use the following route /var/www/Azuriom/plugins/staff/resources/views/styles/atoms.
  3. Overwrite the following file depending on the config you're using.
    • For Slider config overwrite _slider.blade.php.
    • For Tags slider config overwrite _tags-slider.blade.php.
    • For List config overwrite _list.blade.php
    • For Rounded config overwrite _rounded.blade.php
  4. Check that all is going as you want!
    • Note that the icon input (in the staff config panel) now is used as the icon input and the name is used as the name, not as it was happening before that change.

I hope that works and if you need something related or something is not working tell me.