0
Welcome Guest! Login
0 items Join Now

SOLVED How to change meta name="generator" content="

    • franck_s's Avatar
    • franck_s
    • Jr. Rocketeer
    • Posts: 44
    • Thanks: 0

    SOLVED How to change meta name="generator" content="

    Posted 8 years 2 months ago
    • Hello,

      I need to change: <meta name="generator" content="Joomla! - Open Source Content Management">

      Sorry, but for security problem i want to remove "Joomla".

      Before i change index.php, but with Gantry 5, how can i do ??

      can you help me?

      Regards,

      Franck
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED How to change meta name="generator" content="

    Posted 8 years 2 months ago
    • I suggest to use akeeba admin tools for that ...
    • franck_s's Avatar
    • franck_s
    • Jr. Rocketeer
    • Posts: 44
    • Thanks: 0

    Re: SOLVED How to change meta name="generator" content="

    Posted 8 years 2 months ago
    • Thank you for your reply, but i dont use akeeba, i do not wish to install a new component, update...

      Without using Gantry 5, i have a solution by modifying index.php.

      I need a simple solution, like this one.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED How to change meta name="generator" content="

    Posted 8 years 2 months ago
    • Oh well ... I really suggest to make your site safe by using something AdminTools or RSFirewall. It makes your site much more secure.
      So you don't want to do that.

      I this case ...

      Gantry doesn't have php-index.php that holds all positions etc.
      Instead it's using twig and yaml files
      docs.gantry.org/gantry5/basics/key-features

      Changing the index.php is a bad idea anyway because you would loose your changes with the next update of the template.
      So I suggest to add your own Atom for this.

      Create a folder [name of your template]/custom/particles in your template folder.
      and just drop the two files in the Zip-file (unpack it) I attached to this post into that folder.

      Files: generatorcode.html.twig and generatorcode.yaml

      Now go to the base-outline of your template and open the "page settings"
      docs.gantry.org/gantry5/configure/page-settings

      Just add the Atom "GeneratorCode", open the settings, add the tag you want and save.
      This yopu can update your templte without issues.
    • Last Edit: 8 years 2 weeks ago by Henning.
    • franck_s's Avatar
    • franck_s
    • Jr. Rocketeer
    • Posts: 44
    • Thanks: 0

    Re: SOLVED How to change meta name="generator" content="

    Posted 8 years 2 months ago
    • Many thanks for your reply, it's what i need for Gantry 5, i start with this news Gantry, i must learn more....

      Best regards,

      Franck

Time to create page: 0.040 seconds