ninor1 / carrington

Automatically exported from code.google.com/p/carrington
0 stars 0 forks source link

page.php does not override other content template files #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've commented this issue before in 
http://code.google.com/p/carrington/issues/detail?id=24&can=1 but don't know if 
it was reviewed.

What steps will reproduce the problem?
1. create a content/cat-[default-category-slug].php file with a custom output 
(styling, content)
2. create a content/page.php file with a different output
3. enable carrington debugging
4. publish a page and visit it
5. Check the page output and the carrignton debugging output

What is the expected output? What do you see instead?
We are supposed to see the output from page.php, instead we see the output from 
cat-default-category because all the pages in wordpress are "just posts" 
published under the default category. Thus, Carrignton is not picking the 
correct template file.

Using latest SVN version of carrignton

Original issue reported on code.google.com by hernanda...@gmail.com on 24 Jun 2010 at 11:35

GoogleCodeExporter commented 8 years ago

Original comment by alexking...@gmail.com on 7 Jul 2010 at 8:11

GoogleCodeExporter commented 8 years ago

Original comment by alexking...@gmail.com on 7 Jul 2010 at 8:12

GoogleCodeExporter commented 8 years ago
This appears to be a 2.9 specific issue as this is not reproducible on 3.0. We 
aim for forward compatibility instead of backward compatibility, so closing 
without changes.

Original comment by alexking...@gmail.com on 7 Jul 2010 at 8:48