Jump to content
twister

load a different client area template for one specific user

Recommended Posts

hi guys,

 

i need to alter client area product details page completly, but i don't want to do it live so that will affect all users. 

 

can i access cient area in such way that will affect one user only ( it will be my account ) ? so i can do my tests there ? 

Share this post


Link to post
Share on other sites
2 hours ago, Msonliy said:

Hello,

Actually, the easiest way to do this work is to work on localhost.

I would have to load also mysql, thats a hassle

Share this post


Link to post
Share on other sites

Not sure where you read that this is for the admin panel. It's for the client area. Just try it.

Share this post


Link to post
Share on other sites
3 minutes ago, string said:

Not sure where you read that this is for the admin panel. It's for the client area. Just try it.

Thank uou will do today 🙂

Share this post


Link to post
Share on other sites

 

{if $client.fullName == "Your Client Name"}
New Code
{else}
Code
{/if}

Looking for something like this?

Share this post


Link to post
Share on other sites
13 hours ago, string said:

Not sure where you read that this is for the admin panel. It's for the client area. Just try it.

ok, so not clear then how to access it 

temaplate name  is - templates/juke-dev 
when i access example.com/clientarea.php?systpl=juke-dev , the new template does not load , even though it's a copy of active one with one text change, so i would see it 

Share this post


Link to post
Share on other sites
?systpl={yourtemplate}&carttpl={yourcarttemplate}

This always works to check template/cart template changes on-the-fly.

Share this post


Link to post
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