here is the code code below class Home extends Public_Controller { /** * Constructor method *`enter code here`
I\'m trying to use mobile layouts so that PyroCMS will choose the correct layout automatically if the user is visiting with a mobile device.
In a form I have a callback function that checks if a number is_available. If it returns TRUE it shows an error message.
I am new to Pyrocms and reading the documentation I could not change fix my problem. I need my own 开发者_StackOverflow社区template to be incorporated that is I want to change the default one provided
I just upgraded an install of PyroCMS manually. For some reason my admin section is going nuts. The menu isn\'t working, and when I try and look at Add-Ons in Admin it throws an error about the modul
I\'m making a module in the ./addons/shared_addons/modules/ directory. The module\'s called render. From within that module I want to access a library that I\'ve pu开发者_如何学JAVAt in the ./addons/
I have just completed a fresh install of PyroCMS on a开发者_StackOverflow dev server and it appears that the system and addons folder reside above the document root folder within \"public_html\".
I may well be missing something quite obvious, but I\'m still a bit lost. The actual database interaction seems to be the catch. I mean, the table is created on installation, but actually sending the
Using PyroCMS 1.3.1 I\'ve built a model that\'s pretty much a copy-paste version of the included contact model, but with a few tweaks. When all fields are inputted correctly everything works as expect
I\'ve included the following in the admin controller method (as per the pages admin controller): admin.js