WebSite X5Help Center

 
Jem C.
Jem C.
User

Login forms on a page, showing the site header  en

Автор: Jem C.
Просмотрено 1626, Подписчики 1, Размещенный 0  

Hi all,

I have a responsive website design for my site, and need to give my users's the ability to Register an Account /Log-in, not connected to the Shopping Cart.

I've found out that I can show a button that links to the 'Reserved Access' page (or an alias), which then displays the IMLogin.php widget.

However, whichever display option I choose (new page, same page, Showbox, popup), the content is shown in bare format - on header or other elements - which doesn't convey a 'brand look' like the rest of the website. (see attachment).

Is it possible to call the IMLOGIN.php content as either a page object (which obviously solves the responsiveness issues), or perhaps using some HTML code which calls the IMLogin / Reserved Access page in an iFrame?

I'm not a coder so would appreciate some help on how to phrase the code if that's the way to go.

As always, very grateful for your suggestions.

Cheers, Jem

Размещено
6 Ответы
Jem C.
Jem C.
User
Автор

Hi John,

Thanks, but I think the post you've attached a link to, addresses a different need.

I'm not looking for a re-direct to another page at all.

I want the ability to show the IM Login elements (in fact if i could display just the 'Register Account' function, then even better), along with a header and other page elements.

I've attached an example for clarity.

Many thanks, Jem

Читать больше
Размещено От Jem C.
John S.
John S.
User

The post is about how you let the system "call" another page than the imlogin.php.

This page could be a page you design.

Maybe with an iframe.

But still - it will be troublesome with a system that is updated.

If the system is no more updated, you could edit the source-file (only one line need to be edited) and then the change will stay even if the product is re-uploaded.

But maybe I do not understand what it is about - then just forget my post.

Читать больше
Размещено От John S.
John S.
John S.
User

You could then change the page-settings for imlogin.php so that there will be no header and footer seen in the iframe.

The page with the iframe is the page that you put into the code instead of the imlogin.php.

But again - maybe it is not the imlogin.php you want to replace. The imlogin.php should by default have the same header and footer as your other pages. So maybe I am wrong. If you had a link then maybe .....

Читать больше
Размещено От John S.
Jem C.
Jem C.
User
Автор

Hi John,

Thanks for your help - all advice is welcome in finding my way :)

I've pretty much managed to achieve the result that I wanted, using a Responsive iFrame to embed the IMLogin.php functionality within a standard page.

You can see from the attached, that my page displays the Header / menu as normal, then some text (via a text object), then the IMLogin page, which is embedded using Responsive iFrame code - HTML / CSS (within a HTML object).

The way I've achieved this means that I don't have to alter the HTML of any saved pages, and therefore the code stays in place on the page no matter what other changes I choose to make.

For info, and if others are interested in achieving something similar, I took my code snippits from this page ...

Responsive iframe Generator — just copy & paste. | Ben Marshall

Thanks to all, and Happy Designing !

Читать больше
Размещено От Jem C.
John S.
John S.
User

Hello Jem

That is exactly what I suggested.

And my "old" post tells how to have the user land on that page when he visites a locked page and are not logged in.

If the user tries to access a locked page he will still be presented for the "naked" imlogin.php - unless you do what is told in the post.

If you make the changes according to the post then your new page will be the landing page for users not logged in.

Читать больше
Размещено От John S.