Publishing Package: Can you add anchor href within the article?

Discussion in 'Subrion CMS Packages Discussions' started by smnetworks, Feb 28, 2017.

  1. smnetworks

    smnetworks New Member

  2. Dayir_A.

    Dayir_A. Staff Member

    Hello @smnetworks,

    You can insert any tags with CKEDITOR in Source mode

    2017-05-01_16-05-45_insert_tags_using_ckeditor.jpg
    Another possible problem that may occur:
    HTMLPurified can remove html attributes before saving. You can change that behaiour by editing the /includes/classes/ia.core.util.php
    and add
    PHP:

    $config->set('Attr.EnableID', true);
     
    After
    PHP:

    $config->set('Attr.AllowedRel', 'facebox,nofollow,print,ia_lightbox');
     
    line .

    Thanks.
  3. smnetworks

    smnetworks New Member

    Worked like charm!

    using
    <a href="#power">There is no power</a>

    links within the page to
    <a name="power"></a>

Share This Page