Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Turn Off Notice Displaying On Backend Rate Topic   * * * * * 2 votes

 
  • cottonland
  • Advanced Member
  • Members
  • Join Date: 18-Oct 12
  • 62 posts

Posted 02 March 2016 - 03:00 PM #1

I want to turn off the notice displaying on the backend but not on the frontend. Is that possible?


[size=3]Beyazit Kucukali[/size]

 
  • imac
  • Head of Product
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2074 posts

Posted 03 March 2016 - 08:36 AM #2

I want to turn off the notice displaying on the backend but not on the frontend. Is that possible?

What notice?


Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • cottonland
  • Advanced Member
  • Members
  • Join Date: 18-Oct 12
  • 62 posts

Posted 03 March 2016 - 02:32 PM #3

notice.jpg


[size=3]Beyazit Kucukali[/size]

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20913 posts

Posted 03 March 2016 - 03:34 PM #4

js/tygh/core.js

 

replace:

if (typeof(data.message) == 'undefined') {

with

if (typeof(data.message) == 'undefined' || _.area == 'A') {

then open following file:

 

design/backend/templates/common/notification.tpl

 

and change the first and last lines from

{if !"AJAX_REQUEST"|defined}
...

{/if}

to

{* if !"AJAX_REQUEST"|defined}
...

{/if *}

Then clear cache and check the result

 

(!) Not tested. Do not forget to make backups of these files


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • cottonland
  • Advanced Member
  • Members
  • Join Date: 18-Oct 12
  • 62 posts

Posted 04 March 2016 - 12:25 PM #5

Thank you, i will try.


[size=3]Beyazit Kucukali[/size]

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20913 posts

Posted 04 March 2016 - 02:38 PM #6

You are welcome!


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1139 posts

Posted 04 March 2016 - 03:15 PM #7

Does this change affect anything else but the backend?

It would be useful if CS-Cart simply had a setting for this. The notice is blocking all mobile use.

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20913 posts

Posted 07 March 2016 - 07:46 AM #8

Does this change affect anything else but the backend?

It would be useful if CS-Cart simply had a setting for this. The notice is blocking all mobile use.

 

Only notifications will be hidden. All error, warning and notice messages.


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Onkel_Sid
  • Junior Member
  • Members
  • Join Date: 04-Sep 10
  • 301 posts

Posted 07 March 2016 - 02:44 PM #9

maybe CS-Cart could at least think about moving it. When editing a product it always appears on top of the tabs. So you have to click it away to move from one tab to another. If it pops ut above or under the tabs it wouldnt be quite so annoying.


Stop smoking start vaping: Dampskyen.no


 
  • cottonland
  • Advanced Member
  • Members
  • Join Date: 18-Oct 12
  • 62 posts

Posted 14 March 2016 - 05:10 PM #10

Works fine, hope does not affect something else.

Thank you eComLabs!


[size=3]Beyazit Kucukali[/size]

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20913 posts

Posted 15 March 2016 - 08:52 AM #11

Thank you for keeping us updated!


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • imac
  • Head of Product
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2074 posts

Posted 17 March 2016 - 09:40 AM #12

maybe CS-Cart could at least think about moving it. When editing a product it always appears on top of the tabs. So you have to click it away to move from one tab to another. If it pops ut above or under the tabs it wouldnt be quite so annoying.

Ok, we will think about this.


Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • P-Pharma
  • Junior Member
  • Members
  • Join Date: 30-Jun 10
  • 1139 posts

Posted 17 March 2016 - 05:32 PM #13

Or a simple setting to turn it off. Should be easy to do.

 

I don't see the point either. If there is an update or I am running the store without cache, then I do not need to see the notice 20 times a day.