Concrete5:更改标题部分中的链接

时间:2015-10-22 11:11:29

标签: php concrete5

我在application / themes / custom_name / elements

中包含的header.php文件中有这个div内容
<?php defined('C5_EXECUTE') or die("Access Denied.");
    $this->inc('elements/header_top.php');
    $cl_txt = $c->getAttribute('client_login_txt');
    $cl_url = $c->getAttribute('client_login_url');
?>
......
<div class="login">
    <a href="<?php echo $cl_url ?>" target="_blank">
        <button type="button" class="btn-login"><?php echo $cl_txt ?></button>
    </a>
</div>

我想更改div中包含的链接。 我在哪里可以做到?

1 个答案:

答案 0 :(得分:0)

有两个页面属性,链接URL称为客户端链接URL,链接文本称为客户端链接文本,我可以通过转到完整站点地图进行编辑,然后单击我要更改的页面并选择属性。