Jump to content

$ca->setTemplate Override


mfoland

Recommended Posts

In making custom pages, especially since I want to use Ioncube to encrypt my pages since I will be selling a custom module.. It's going to be built with a custom page.

I call function ioncube_read_file() {

$ca-setTemplate('TEMPLATE_NAME');
}

The template exists, but the page does not load at all. I have patched smarty, which will be distributed with the module, and still to no avail. Is there a way to bypass the setTemplate function for client area page and actually just start coding before you call $ca->output()?

 

Thanks!

Link to comment
Share on other sites

Just now, mfoland said:

In making custom pages, especially since I want to use Ioncube to encrypt my pages since I will be selling a custom module.. It's going to be built with a custom page.

I call function ioncube_read_file() {

$ca-setTemplate('TEMPLATE_NAME');
}

The template exists, but the page does not load at all. I have patched smarty, which will be distributed with the module, and still to no avail. Is there a way to bypass the setTemplate function for client area page and actually just start coding before you call $ca->output()?

 

Thanks!

In my .tpl I do call the function as well. I've tried the solution out there that does the myresourcefile.php and I still get nothing

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated