Please post all pre-sales questions of all products on this forum

Override does not work

More
9 years 3 months ago #76045 by Uwe
Override does not work was created by Uwe
Hello Tuan,

I have deleted the following part of the default.php in components/com_osmembership/view/profile/tmpl because I don't want the title on my page. After this modification I have saved the file in templates/mytemplate/html/com_osmembership/view/profile/tmpl/default.php. But nothing changes. The title remains.

If I do the change in the original file the title disappears. But in the override it is still there. What is wrong?
Code:
<h1 class="osm_title"><?php echo JText::_('OSM_USER_PROFILE'); ?></h1>

Thanks,
Uwe

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #76087 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override does not work
Hi Uwe

Please save it to templates/mytemplate/html/com_osmembership/view/profile/default.php

(Note that there is no tmpl folder in the path anymore)

Tuan

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #76108 by Uwe
Replied by Uwe on topic Override does not work
Hi Tuan,
thanks. I have done this and the result is the same. No change in the website. The title is still visible.
Is there anything else to be done?
Uwe

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #76226 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override does not work
I am sorry. The path must be templates/mytemplate/html/com_osmembership/profile/default.php

Please try again, it will work this time

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham NgocGiang Dinh TruongMr. Dam