View Single Post
  #9  
Old 01-18-2006, 08:25 AM
 
eliasan eliasan is offline
 

Member
  
Join Date: Aug 2004
Posts: 16
 

Default

Hi,

Thank you for answering.

Sorry but I will return to my previous question because I think that I didn't get an answer. Maybe my question is silly, but I am a newbie to x-cart customization.

A snapshot from the skin1/customer/home_main.tpl file shows that there is somehow a $main variable that something has put a value in it.

-----------------------------------------------------------
{elseif $main eq "returns"}
{include file="modules/RMA/returns.tpl"}

{elseif $main eq "register"}
{include file="customer/main/register.tpl"}

{elseif $main eq "download"}
{include file="modules/Egoods/main.tpl"}

{elseif $main eq "send_to_friend"}
{include file="customer/main/send_to_friend.tpl"}
-----------------------------------------------------------

That way we can compare if this value is what we need.

My question is from where the $main gets its value, or better what function sets the value of $main.

I have already did a search on x-cart files, but I haven't found an answer...

Thank you in advance for your time and effort.
Reply With Quote