diff --git a/README.md b/README.md index f3e6b8fda..ea2949771 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,25 @@ OpenClassify is the extensible and most advanced open source classified app buil {{ addBlock('ad-list/partials/ads',{'featured_advs':featured_advs})|raw }} +- profile-module/profile/partials/navigation + + {{ addBlock('profile/navigation')|raw }} + +- advs-module/ad-detail/partials/detail + + {{ addBlock('ad-detail/seller/action',{'adv':adv})|raw }} + +- advs-module/ad-detail/detail + + {{ addBlock('ad-detail/title/action',{'adv':adv})|raw }} - profile-module/profile/partials/navigation {{ addBlock('profile/navigation')|raw }} + +- advs-module/new-ad/new-create + + {{ addBlock('new-ad/fields')|raw }} ## Server Requirements diff --git a/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig b/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig index 7323473c0..f4c4af341 100644 --- a/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig +++ b/addons/default/visiosoft/advs-module/resources/views/new-ad/new-create.twig @@ -46,9 +46,7 @@
{{ nameField|raw }}
- {% if entries('advs').isEnabled('store') %} - {% include "visiosoft.module.store::field" %} - {% endif %} + {{ addBlock('new-ad/fields')|raw }}
{{ form.fields.slug|raw }}
diff --git a/addons/default/visiosoft/base-theme/resources/js/modal_include.js b/addons/default/visiosoft/base-theme/resources/js/modal_include.js index 4b7ef5a72..940060a6e 100644 --- a/addons/default/visiosoft/base-theme/resources/js/modal_include.js +++ b/addons/default/visiosoft/base-theme/resources/js/modal_include.js @@ -1,3 +1,3 @@ -$('.modal').on('show.bs.modal', function (e) { +$('.remote').on('show.bs.modal', function (e) { $(this).find('.modal-content').load(e.relatedTarget.href); }); \ No newline at end of file