Hi - I know this info has been posted up before but I just can't find it. Does anyone recall where to disable copyright text? Would it be here in the Print.js:
var hasCopyrightText = lang.getObject(
 'layoutOptions.hasCopyrightText', false, templateInfo);
 if (!hasCopyrightText) {
 html.setStyle(this.copyrightTr, 'display', 'none');
 } else {
 html.setStyle(this.copyrightTr, 'display', '');
 }?
Thanks-
David
Solved! Go to Solution.
David,
In the Print.js change the print function as indicated below (add line 24):
print: function() {
      if (this.printSettingsFormDijit.isValid()) {
        var form = this.printSettingsFormDijit.get('value');
        lang.mixin(form, this.layoutMetadataDijit.get('value'));
        this.preserve = this.preserveFormDijit.get('value');
        lang.mixin(form, this.preserve);
        this.layoutForm = this.layoutFormDijit.get('value');
        var mapQualityForm = this.mapQualityFormDijit.get('value');
        var mapOnlyForm = this.mapOnlyFormDijit.get('value');
        lang.mixin(mapOnlyForm, mapQualityForm);
        var elementsObj = this.customTextElementsDijit.get('value');
        var cteArray = [];
        for (var p in elementsObj) {
          var cte = {};
          cte[p] = elementsObj[p];
          cteArray.push(cte);
        }
        var templateInfo = this._currentTemplateInfo;
        var hasAuthorText = lang.getObject('layoutOptions.hasAuthorText', false, templateInfo);
        var hasCopyrightText = lang.getObject('layoutOptions.hasCopyrightText',
          false, templateInfo);
        hasCopyrightText = false;
					
				
			
			
				
			
			
				
			
			
				
			
			
			
			
			
		David,
In the Print.js change the print function as indicated below (add line 24):
print: function() {
      if (this.printSettingsFormDijit.isValid()) {
        var form = this.printSettingsFormDijit.get('value');
        lang.mixin(form, this.layoutMetadataDijit.get('value'));
        this.preserve = this.preserveFormDijit.get('value');
        lang.mixin(form, this.preserve);
        this.layoutForm = this.layoutFormDijit.get('value');
        var mapQualityForm = this.mapQualityFormDijit.get('value');
        var mapOnlyForm = this.mapOnlyFormDijit.get('value');
        lang.mixin(mapOnlyForm, mapQualityForm);
        var elementsObj = this.customTextElementsDijit.get('value');
        var cteArray = [];
        for (var p in elementsObj) {
          var cte = {};
          cte[p] = elementsObj[p];
          cteArray.push(cte);
        }
        var templateInfo = this._currentTemplateInfo;
        var hasAuthorText = lang.getObject('layoutOptions.hasAuthorText', false, templateInfo);
        var hasCopyrightText = lang.getObject('layoutOptions.hasCopyrightText',
          false, templateInfo);
        hasCopyrightText = false;
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		Ah yes, that's it thanks.
I also unfortunately misspelled 'copyright' in the post title. . . geez ![]()
you should be able to edit/update your title. Probably worth fixing.
I tried but I can't get at the text
ha...someone was able to fix it.  ![]()
David when you go to edit a post it does not look like you can click in the title and change it but you can (FYI as I have done it already).
Ha! Good one, thanks Robert-