Osclass Support Forums

Osclass plugin support => Favorite Items Plugin => Topic started by: calm on September 10, 2017, 11:53:52 AM

Title: custom php page fi_list_items
Post by: calm on September 10, 2017, 11:53:52 AM
I posted thi in osclass.forums, but maybe its related to theme?
In admin panel "pages" i have created new page with 'internal name'    my_custom_file.  I also added title Favorite items.
Then in themes folder created file my_custom_file.php.
file contains:
Code: [Select]
<?php fi_list_items(); ?>In admin panel I also checked option "Show a link in footer".
So results:
If I type in browser adress bar: https://my_page.com/my_custom_file.php I see error 404.
If I click on footer link Favorite items I can see page with title Favorite items url for that page: https://my_page/my_custom_file-p28. no php output.

If in admin panel "pages" I will edit page my_custom_file, that is if I will add "Description *" to that page: "custom pages is one of basic needs. wtf!! where is my custom php page???". now I go to that page and see: title favorite items and custom pages is one of basic needs. wtf!! where is my custom php page???

osclass version Im using: latest 3.7.4
theme- veronika


Title: Re: custom php page fi_list_items
Post by: MB Themes on September 10, 2017, 03:54:27 PM
Well it is because it does not work like that. Check routes and plugins development.