PDA

View Full Version : Login within Act Primary


jmedinger
21-Jul-2003, 08:02 PM
I've found a thread asking this on the brochure homepage however I wasn't sure if it was the same with Act_Primary too...

So, is it possible to include the login username and password fields within the Act_Primary template which would show IF a user was not logged in and would NOT be visible if they weren't?

I don't particularly want to have to bloat the code of every page by copying the login template's code into Act Primary so if there's a handy NETQUOTEVAR, that would be great!

Cheers

Jos

cdicken
23-Jul-2003, 08:38 AM
There is no handy NETQUOTEVAR so you would have to copy the contents of a fully-generated login page into Act_Primary.html.

If you begin the code with

<Actinic:NOTINB2B>

and end it with

</Actinic:NOTINB2B>

then it will only appear to non logged in customers.

garyhay
23-Jul-2003, 09:49 AM
It is a fair bit of code as I am am trying to use this as well.

Can you have this added to the wishlist please Chris

jmedinger
23-Jul-2003, 10:13 AM
Thanks for this Chris

I'm loathe to copy all the code in too - my Act_Primary file is already 30K without this to add to it!

I second the request for this to go onto the wish list!

Cheers

Jos

cdicken
24-Jul-2003, 03:39 PM
To be fair, even if you could include the login fields with a handy NETQUOTEVAR, Actinic would still have to substitute the NETQUOTEVAR for all the necessary scripts and input fields when you upload so it would still have a significant impact on your page size.