L
L
lexstile2017-05-29 13:24:10
JavaScript
lexstile, 2017-05-29 13:24:10

How to display the title of the product?

I'm trying to output like this: Output only if I prescribe:
$APPLICATION->ShowTitle(false);
$APPLICATION->SetTitle("Заголовок");

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2018-09-06
@KickeRockK

Are you sure you don't want to pass any parameters to the download function?

success: function() {
                        download(param1,param2,param3);
                        $('form').trigger('reset');
                        send_modal_form();
                    },

param1 - the content itself:
param2 - new file name
param3 - File type.
type, with a default value of "", that represents the MIME type of the content of the array that will be put in the blob.

From here

M
Maxim Pavlov, 2017-05-29
@lexstile

Do you mean display h1 only if the title is set via SetTitle?
As an option:

  1. Get a header in the footer
  2. If title is set - wrap in h1 and write to custom property
  3. Display a custom property in the desired part of the header using ShowProperty()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question