PDA

View Full Version : What the heck is list.php?


findingpeace
07-26-2013, 12:11 AM
When people open up a category for CMS, or click "View Articles" by a certain author, it brings them to a page called list.php, which lists out all of the articles.

This sort of stinks, because it's different from content.php, and so all of my custom widgets are broken here.

My plugins go to vbcms_widgets_complete

Where do I need to point them so that they work on list.php too? That's one of our biggest Google results, so I'd like the page not to be broken for them.

Thanks!

Lynne
07-26-2013, 02:14 AM
Go to your test site and enable debug mode. Then look at the list of hooks the page accesses on the list page versus the other pages. See what hooks are in common and try using those hooks. You may need to look them up in the code to see if the variable needs to be called differently.

tbworld
07-26-2013, 06:15 AM
Go to your test site and enable debug mode. Then look at the list of hooks the page accesses on the list page versus the other pages. See what hooks are in common and try using those hooks. You may need to look them up in the code to see if the variable needs to be called differently.

Thanks Lynne! I learn something new everyday... :)

findingpeace
07-26-2013, 01:04 PM
Thanks very much Lynne - very helpful as always! I'll post my findings, in case anyone else ever runs into this on a Google search.