| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Table in customer area | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have moved my Customer menu to appear in a different place.
How would I include this info in a table that is only visible when a customer logs in? Everything works fine, I would like to put it in a table with a different bg color to beautify it. ![]() EXAMPLE: Before Mod Http://www.spookyplanet.com/defaULT1.jpg After Mod Http://www.spookyplanet.com/defaULT2.jpg Code:
__________________
4.1.x |
|||||||
#2
|
|||||||
|
|||||||
![]() Just wrap the code with a table and add a class to use a background image or color.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() not sure how to do that
__________________
4.1.x |
|||||||
#4
|
|||||||
|
|||||||
![]() Code:
Replace width and height with the actual width and height you want (should match the size of the image). Then add this to skin1.css: .membertable {BACKGROUND: URL(images/imagename.jpg); background-repeat: no-repeat;} Replace imagename.jpg with the name of the image you want to use as a background. Upload it to skin1/images. That should do it![/code]
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Good work balinor. One more question, Is it possible for this backround image to disappear when a customer is not logged in?
__________________
4.1.x |
|||||||
#6
|
|||||||
|
|||||||
![]() Yes, just replace this:
class="membertable" with this: {if $login ne ""} class="membertable" {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Ok, works great. Although I have one more question. The box Appears right before my Dialog table. It works great when a customer is logged in, but when there not .. a nice space is there there. I guess what I'm asking is there a way to
Code:
SWEET! Logged in! http://www.spookyplanet.com/demo111.jpg SPACE ( Not logged in) ![]() http://www.spookyplanet.com/demo111_1.jpg
__________________
4.1.x |
|||||||
#8
|
|||||||
|
|||||||
![]() Got ya...this will do the trick:
Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() hmm... Didn't seem to work ...The Image appears if your not logged in.. Only the text disappears and reappears when logged in or out. =(
__________________
4.1.x |
|||||||
#10
|
|||||||
|
|||||||
![]() Oh I got it !!!
you forgot the $ Code:
to Code:
__________________
4.1.x |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|