[2.65]View with default structure

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Hi
I am implementing a new payment plugin.
The plugin works very well, with configuration and redirection to bank secure web site.
Now i implement the returning pages for succes and fail payment.
So if a payment fails, the customer must be redirected from the bank site to my own e-commerce site on a specified page.

So i have create a new view inside my project; but when i access to the view, with an url like this:

http://localhost:2619/Plugins/MyPayment/MyPaymentSuccess

I can see the page with no style, just a blank page with its controls.
How can i set this page as a page with style an other objects of my web site?

Thanks in advance
Tiziana
11 years ago
Sorry for the up... but i need an answer... anyone there?
Thanks!
11 years ago
You mean your css is not loaded?
11 years ago
No, the page is completely blank but the text in my View.
On the source code, there is no <html> structure, just the view code...
11 years ago
I think there is something so obvious that i have missed.
11 years ago
You probably have no layout, something like this at the top of your view

layout = "";

If this is the case either add html etc to your view or create a layout file for your view but i think best is
to just create a cms page in your nop install as your succes page
11 years ago
keesjan wrote:

If this is the case either add html etc to your view or create a layout file for your view but i think best is
to just create a cms page in your nop install as your succes page


Yes i resolved just creating two cms pages.
Thanks!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.