Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. <section id="fancypopup" translate="label" sortOrder="200" showInDefault="1" showInWebsite="1" showInStore="1">
  2. <label>Fancy Popup</label>
  3. <tab>asoft</tab>
  4. <resource>Asoft_Fancypop::config</resource>
  5. <group id="general" translate="label" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
  6. <label>General Settings</label>
  7. <field id="enable" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
  8. <label>Module Enable</label>
  9. <source_model>MagentoConfigModelConfigSourceYesno</source_model>
  10. </field>
  11. </group>
  12. <group id="popup" translate="label" sortOrder="200" showInDefault="1" showInWebsite="1" showInStore="1">
  13. <label>Popup Settings</label>
  14.  
  15. <field id="show_on" translate="label comment" type="select" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
  16. <label>Show on</label>
  17. <source_model>AsoftFancypopModelConfigSettingsPopupShowOn</source_model>
  18. </field>
  19.  
  20. <field id="active_from" translate="label comment" type="date" sortOrder="110" showInDefault="1" showInWebsite="1" showInStore="1">
  21. <label>Active from</label>
  22. <frontend_model>AsoftFancypopBlockAdminhtmlSystemConfigDate</frontend_model>
  23. </field>
  24.  
  25. <field id="active_to" translate="label comment" type="date" sortOrder="120" showInDefault="1" showInWebsite="1" showInStore="1">
  26. <label>Active to</label>
  27. <frontend_model>AsoftFancypopBlockAdminhtmlSystemConfigDate</frontend_model>
  28. </field>
  29.  
  30. <field id="delay" translate="label comment" type="text" sortOrder="130" showInDefault="1" showInWebsite="1" showInStore="1">
  31. <label>Delay(miliseconds)</label>
  32. </field>
  33.  
  34. <field id="bg_color" translate="label comment" type="text" sortOrder="160" showInDefault="1" showInWebsite="1" showInStore="1">
  35. <label>Popup Backgroud Color</label>
  36. </field>
  37. <field id="bg_image" translate="label" type="image" sortOrder="170" showInDefault="1" showInWebsite="1" showInStore="1">
  38. <label>Popup Background Image</label>
  39. <comment>Allowed file types:PNG, GIF, JPG, JPEG.</comment>
  40. <backend_model>AsoftFancypopModelConfigBackendImagePopupbg</backend_model>
  41. <base_url type="media" scope_info="1">asoft/fancypop/background</base_url>
  42. </field>
  43. <field id="custom_style" translate="label comment" type="textarea" sortOrder="180" showInDefault="1" showInWebsite="1" showInStore="1">
  44. <label>Custom Style</label>
  45. </field>
  46.  
  47.  
  48. <field id="link_to_page" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
  49. <label>Link to page</label>
  50. </field>
  51. <field id="width" translate="label comment" type="text" sortOrder="140" showInDefault="1" showInWebsite="1" showInStore="1">
  52. <label>Popup Width</label>
  53. <validate>required-entry validate-number</validate>
  54. </field>
  55. <field id="height" translate="label comment" type="text" sortOrder="150" showInDefault="1" showInWebsite="1" showInStore="1">
  56. <label>Popup Height</label>
  57. <validate>required-entry validate-number</validate>
  58. </field>
  59. <depends>
  60. <field id="fancypopup/general/enable">1</field>
  61. </depends>
  62. </group>
  63. </section>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement