I have an avatar account module in the left hand column for my (logged in) customers to upload their pic and access their account with a "My Account" button. My left hand column scrolls with the rest of the website so that my customers can access their account at any position. In order to balance the left hand column so that It does not overlap the footer, I need an extension that removes one of my left hand modules upon login so that the addition of the account module will not disrupt the format and create overlap. If any body knows an extension or some code that would allow this to happen or just steer me in the right direction that would be great.
******* In a nutshell I need an xml file that will remove a module from the left-hand column when a customer logs in.
******* Opencart 1.5.6.4 Using OpenShop theme.
You could use VQMod by simply using an IF statement with PHP:
Otherwise, more information would be needed.
Code: Select all
if ($this->customer->isLogged()) {
// your condition statement here
}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Say for instance, I had the information module in the left hand column and when a customer logged in it would disappear. It would then reappear when the customer logged out. Unfortunately, my coding is not at at a level where I can fill in the blanks. thanks
******* Opencart 1.5.6.4 Using OpenShop theme.
Then, contact the extension developer of the Openshop to add your desired requirements.Unfortunately, my coding is not at at a level where I can fill in the blanks. thanks
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 28 guests