Component refuses to refresh the view

Discussion regarding Joomla! 2.5 Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
jpjean
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jan 14, 2014 2:54 am

Component refuses to refresh the view

Post by jpjean » Thu Aug 14, 2014 2:23 am

I am changing the view (tmpl/default.php) of my component and the changes are not reflected at all. I have been at it for a couple hours now and this is not healthy...

I even tried to delete the page default.php and it still shows up. I have checked that caching is disabled but maybe I am missing something on that front.

I tried to uninstall and reinstall the component, but the old view is still showing.

Anyone has an idea of what the problem could be?

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2273
Joined: Sun May 04, 2008 12:37 pm

Re: Component refuses to refresh the view

Post by waarnemer » Thu Aug 14, 2014 11:20 am

well you should not make changes in the tmpl/default.php..

you should make the changes in your template override....... -> html folder

there probably already is an override therefore you don't see the changes....

jpjean
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jan 14, 2014 2:54 am

Re: Component refuses to refresh the view

Post by jpjean » Thu Aug 14, 2014 1:13 pm

Thanks for your prompt reply and fpr putting me on that path. I have read more stuff on overrides and I understand better the concept now. One would use an override to preserve the original version of a component or a module.

In this case, this is my own developed component and I need to change the original version. There is currently an override. Not sure how it got created and when (probably by me in my early days of playing around with jommla!).

How do I go about removing an override in joomla!? Simply delete the folder in templates/[myTemplate]/html/[myComponent]?

Thanks again.
Pierre

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2273
Joined: Sun May 04, 2008 12:37 pm

Re: Component refuses to refresh the view

Post by waarnemer » Thu Aug 14, 2014 1:15 pm

that's it... sometimes to preserve it for future reference I just prefix it with a dot or underscore

jpjean
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jan 14, 2014 2:54 am

Re: Component refuses to refresh the view

Post by jpjean » Thu Aug 14, 2014 6:50 pm

Thank you very much Joomla! Ace for you help! Everything is working as expected now.

Have a great day.

Pierre


Locked

Return to “Performance - Joomla! 2.5”