duannei1477 2014-12-03 02:02
浏览 47
已采纳

如何知道哪个php文件生成的div?

i'm using Joomla. I've installed a module that show latest real estates added. it have a button-set div showing a button with "Read more" on it. i want to change "Read more" to "Go to House". i do it in a file called default.php in lines below:

<div id="buttonest">
    <a class="readon" href="<?php echo sefRelToAbs( $link1 ); ?>" target="_self">
    <input class="submit" type="submit" value="Go to House" /></a>
</div>

but when the page reloads it shows "Read more" button regardless of changes in this file. how can i know if this div is generated by default.php file or another file? generally is there any way to know a div is generated by which php file? like monitoring page load o etc.? p.s. : i have root access to host.

  • 写回答

6条回答 默认 最新

  • dongtangu8615 2014-12-05 09:32
    关注

    It sounds like maybe that particular file is overwritten, probably in your template folder.

    Try to look in

    /templates/{name of template you are using}/html/{name of component that you found the first default.php file}/{path to default.php similar to the first default.php file you edited}
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥15 vue3加ant-design-vue无法渲染出页面
  • ¥15 matlab(相关搜索:紧聚焦)
  • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
  • ¥15 路易威登官网 里边的参数逆向
  • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
  • ¥50 需求一个up主付费课程
  • ¥20 模型在y分布之外的数据上预测能力不好如何解决
  • ¥15 processing提取音乐节奏
  • ¥15 gg加速器加速游戏时,提示不是x86架构
  • ¥15 python按要求编写程序