Jump to content

adzcer

Members
  • Posts

    2
  • Joined

  • Last visited

About adzcer

  • Birthday 04/19/1978

Contact Methods

  • Website URL
    http://www.grehahn.com/
  • Skype
    ariel.cercado

Profile Information

  • Gender
    Male
  • Location
    Manila, Philippines
  • Interests
    Laravel 4, Phalcon, Processwire, Drupal

adzcer's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. Hi all! I'm currently on a team w/ Christian, the scenario is we have a separate website that uses Phalcon (1st team) that administers the RESTful dynamic API requests by a 3rd party 'front-end' site (2nd team). We as the 3rd team decided to use PW for managing the static contents of the 'front-end' site hence we are hosted on another separate domain. Currently, we'd be implementing the 'auto-login' so there'll be only a 'CMS' button from the 'Phalcon' team admin page that redirects to our 'CMS' team and have the administrator manage the content from there. BTW, it'll be also the 'Phalcon' team's API that will request the JSON data that they require from our CMS and we have used the module 'ServicePages' to serve the content, from there they'll then pass the 'contents' they got from us, add their own stuff and feed it into the 'front-end' teams pages. I was thinking of using the Phalcon PHP w/ Processwire CMS' admin pages 'embedded' inside Phalcon using as Pete has suggested. I am able to access some templates and such but was like thinking of be able to call the 'Pages', 'Setup', 'Modules' themselves inside Phalcon via Processwire API. Is it feasible? Thank you all in advance for your insights!
  2. Hi all! Also new here. Also my first time meddling with modules and it seems I can't make it to work. I 'called' it inside a template page (implemented it as a module from: https://gist.github.com/evanmcd/3080802): include("./head.inc"); $values = $pages->find("title=starter"); $xxx = new PagesToJSON(); echo $xxx->pagesToJSON($values); include("./foot.inc"); resulting to this error: Error: Exception: Item 'return' set to PageArray is not an allowed type (in D:\xampp\htdocs\pw2\wire\core\WireArray.php line 300) #0 D:\xampp\htdocs\pw2\wire\core\PageArray.php(192): WireArray->set('return', '[]') #1 D:\xampp\htdocs\pw2\wire\core\WireArray.php(322): PageArray->set('return', '[]') #2 D:\xampp\htdocs\pw2\site\modules\PagesToJSON.module(60): WireArray->__set('return', '[]') #3 D:\xampp\htdocs\pw2\site\templates\starter.php(14): PagesToJSON->pagesToJSON(Object(PageArray)) #4 D:\xampp\htdocs\pw2\wire\core\TemplateFile.php(140): require('D:\xampp\htdocs...') #5 [internal function]: TemplateFile->___render() #6 D:\xampp\htdocs\pw2\wire\core\Wire.php(359): call_user_func_array(Array, Array) #7 D:\xampp\htdocs\pw2\wire\core\Wire.php(317): Wire->runHooks('render', Array) #8 D:\xampp\htdocs\pw2\wire\modules\PageRender.module(337): Wire->__call('render', Array) #9 D:\xampp\htdocs\pw2\wire\modules\PageRender.module(337): TemplateFile->render() #10 [internal function]: PageRender->___renderPage(Object(HookEvent) Thanks!
×
×
  • Create New...