Satchel
Satchel

Reputation: 16734

Getting facebox to work in the qcodo/qcube php framework

I am using a framework called qcodo (which forked as qcubed) and is a PHP framework.

I want to do a very simple popup using the Facebox jquery plugin.

When someone clicks on the link and shown below in line 47.

Here is the file: http://github.com/allyforce/AF-upload/blob/master/Templates/profile_activity.tpl.php

<a href="complete_profile_popup.php?allyId=<?= $this->objAllyUser->Id?>" rel="facebox" title="Complete Profile" >Invite as Ally</a><br />

The Facebook installation worked fine, tested it just opening plain html and php files.

I just want to be able to render a working page within the Facebox pop-up.

But the current error is that it cannot recognize the method, even though it appears it has been defined.

UPDATE: Per one suggestion, used iFrame, but still getting nothing:

Upvotes: 0

Views: 414

Answers (2)

Qcodo
Qcodo

Reputation: 1

This issue/topic is being discussed in depth at http://www.qcodo.com/forums/forum.php/3/4007/

Upvotes: 0

rtacconi
rtacconi

Reputation: 14769

You should print the error you get. I will try to guess: have you declared your method as public? In the template you can access only public properties and methods. This is a very common mistake.

Upvotes: 0

Related Questions