?
avatar GreenLion1010
GreenLion1010
1 Oct 2014

Hi everybody,

i try to edit the contact category layout.
i followed this tutorial: http://docs.joomla.org/J3.x:How_to_use_the_Template_Manager#Creating_Overrides

sadly it does not work.
if i change something in the overriding PHP Files, it does not append on the website.

have i missed something to apply the overriding template / Layout?

Thank you & kind regards

avatar GreenLion1010 GreenLion1010 - open - 1 Oct 2014
avatar losedk
losedk - comment - 1 Oct 2014

Could you provide the path to your override?

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

you mean - templates/as002057/html/com_contact/category ?

avatar losedk
losedk - comment - 1 Oct 2014

Yeah. It looks fine though. Which Joomla version are you using?

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

i use version 3.3.4

avatar losedk
losedk - comment - 1 Oct 2014

Which files in the category view are you trying to override?

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

i try to override default_items.php (the view that lists items of a category)

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

when i edit this file - for example i add a "TEST" string somwhere in HTML Area - nothing changes on the page.
i read somewhere in a forum - that this could be a bug of joomla itself, that the override of contact does not work correctly - but i dont know if this is really it...

avatar losedk
losedk - comment - 1 Oct 2014

Justed tested this. I can't reproduce the problem.

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

so if you change the default_items.php - for example with a TEST string - it shows up on your template?

avatar losedk
losedk - comment - 1 Oct 2014

Yea. Take a look here:

skaermbillede 2014-10-01 kl 14 32 32

skaermbillede 2014-10-01 kl 14 32 44

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

wooow cool - i inserted the same string at the same line as you did.
nothing happens on my site.
see here:

avatar GreenLion1010 GreenLion1010 - close - 1 Oct 2014
avatar GreenLion1010 GreenLion1010 - change - 1 Oct 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-10-01 12:41:35
avatar GreenLion1010 GreenLion1010 - reopen - 1 Oct 2014
avatar GreenLion1010 GreenLion1010 - change - 1 Oct 2014
Status Closed New
avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

override_code
override

avatar losedk
losedk - comment - 1 Oct 2014

Ahh okay. You have a wrong structure on your override

It should be:

skaermbillede 2014-10-01 kl 14 43 35

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

yes i saw that on your printscdreen - but this structure was created by my template oO
i moved the files now to the parent directory.
but it does not change the way it looks.

shall i maybe delete the whole category folder and let joomla re-create them?

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

sorry - after purging all caches it worked with moving the files.
thank you very much for your fast support here :)

avatar losedk
losedk - comment - 1 Oct 2014

Great it worked out

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

but sometimes it acts really strange.
if i upload the file via FTP (Filezilla) i wait few minutes till the changes are on the page visible...
can that be or is there maybe some hosting problems?

avatar GreenLion1010
GreenLion1010 - comment - 1 Oct 2014

found it - global configuration - check caching to disabled - and the changes happen directly.

thanks for your support again :)

avatar GreenLion1010 GreenLion1010 - close - 1 Oct 2014
avatar zero-24 zero-24 - close - 1 Oct 2014
avatar GreenLion1010 GreenLion1010 - change - 1 Oct 2014
Status New Closed
Closed_Date 2014-10-01 12:41:35 2014-10-01 13:13:37
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment