Jump to content

Mike

Members
  • Posts

    11
  • Joined

  • Last visited

Mike's Achievements

Jr. Member

Jr. Member (3/6)

1

Reputation

  1. Hello again!! I found the following problem: I need introduce the datas that come by $_POST variable in field, but in our class, $_POST is empty. How store InputField data in database? Don´t know if I explained well... Thanks!
  2. Ryan, I´m working on it, and I think I have little to end. I´m using a copy of InputFieldCheckbox to resolve this. Thank you for you attention. If I have any question I will come here
  3. Well, I need a module for create a list of items from a database, through a DB connection. I created an Inputfiled module because this is a field for a template. This data is an item of OpenCart. When I select item, this will return me the properties of the item for show it in template. I hope I explained correctly. Thanks!!
  4. Hi! I´m working in a project with an external aplication, and I need create a module that load data from an external database. I've started creating a module called InputFieldData but I don´t know how do it. I need some help. Thanks!
  5. Thank you for your attention and patience Ryan. I think I getting control ProcessWire
  6. Thank you very much for yours answers. I´ve found that to display the fields I have to include them in the template file. I have given the format I wanted and put the fields in this file, but i have a new question: if I do all this in the template file, what use is to resize the fields and their order in the template? Thanks!!
  7. Thank you very much Ryan! Now it has emerged the following problem: Error Uncaught exception 'WireException' with message 'Page /ccsMA/ourguarantee/ may not be rendered because outputFormatting is set to false But i have solved including: wire('pages')->setOutputFormatting(true); Now it show the fields but without the template format and images. Why can this be?
  8. Ok Ryan, my problem is that I have included this code in my phpprogram through a controller. <?php class ControllerCommonCMS extends Controller { public function index() { //includes the path that contains the variable require_once("pw/index.php"); //mypage contains the page $mypage = wire('pages')->get("/ourguarantee"); } } ?> I have to do to display the page? Thanks!
  9. Thanks Ryan, but my most inmediate problem is another. I created a template and I created a page with this, but this does not show the fields. Why can this be? Thanks!
  10. Thanks! but I have solved the problem. Now me a new problem to include the following lines: require_once("pw/index.php"); . . . $this->data['cms'] = $wire->pages->get("/about/what/"); My page says: The page you requested cannot be found! Surely I`ve missed some step. Thanks!
  11. Hi! I´m a new user of processwire and i have the next problem. When i include the sequence in my program i get an error: Error Call to undefined method Template::getTableData() I need help please Thanks!
×
×
  • Create New...