Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

removing functions from field - reuse with custom html /css elements

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-29-2010, 06:22 AM
 
storeowner storeowner is offline
 

Member
  
Join Date: Oct 2010
Posts: 10
 

Default removing functions from field - reuse with custom html /css elements

Hello.

I am redoing and simplifying my products detail page.

I am becoming somewhat familiar with the CSS locations and have so far been able to modify the header - to a certain degree.

The two fields I am interested in modifying now are the "Customer Review" and "Customer Feedback".

They are controlled by div /class="dialog rproducts-dialog" and div/ class="dialog creviews-dialog".

I would like to remove the "smarty functions" (if that is what is contained in these particular templates) and replace the functions with my own text and image elements.

Maybe my eyes have just failed me me but I can't locate the proper "dialogue" templates.

Once the functions are removed, I plan to modify the existing fields using CSS and insert what I want.

Just redoing the CSS will still leave the smarty generated functions appearing on the page in incorrectly sized fields.

I would also like to remove the function in the "home" tab. I will probably be able to find this one as I've worked around it for a bit.

Any pointing to the correct tpl's would help.

Here's where I am so far.

http://quiltronwebsales.com/x-cart/product.php?productid=17516


Dorian
__________________
x-cart gold 4.3.2
xp-64
usa
Reply With Quote
  #2  
Old 10-29-2010, 03:35 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: removing functions from field - reuse with custom html /css elements

When it refers to dialog.tpl then that means its being called like this:

{include file="dialog.tpl" someExtra='something' anotherExtra='anotherSomething'}

Those extras are probably what your looking for, as they can control the CSS.
__________________
- Shane Munroe
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:29 PM.

   

 
X-Cart forums © 2001-2020