A
A
Alexander Ivanov2017-06-26 14:44:27
PHP
Alexander Ivanov, 2017-06-26 14:44:27

How to remove deskr and keywords meta tags from ShowHead?

To begin with, I love Bitrix so much that I am ready to delete all of their files and rewrite them again, according to all the rules of oop. But bad luck license obliges me to write code ****.
The bottom line is I want to set up deskr and keywords in my own way, so that by default it displays in them what I want and not what the authors of this miracle decided.

<?php /*
  <meta name="description" content="<?php if(empty($APPLICATION->GetProperty("description"))){ echo $APPLICATION->ShowTitle();} else { echo "$APPLICATION->GetProperty("description")";}; ?>">
 	*/
 	?>

I deleted the section itself completely, but then their miracle styles and scripts for the admin panel work fly out, I don’t want to connect these miracles myself. it would be much easier to remove the descr and keywords tags from there.
Can this be done somehow without violating the *** license?
____
Main replace descr and keywords

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ivanov, 2017-06-26
@cimonlebedev

Desktop -> Content -> Infoblocks -> Infoblock types -> your infoblock -> SEO
And I fill in the fields according to my mind.

R
Ruslan Saifullin, 2017-06-26
@Shapito27

Try to leave the section and upgrade the description template using this method:
https://dev.1c-bitrix.ru/community/webdev/user/873...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question