PDA

View Full Version : Where is this code from?



itdeptcorp
02-28-10, 04:06 PM
<div class="stepsboxinactive">
<b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<b>Step 5</b><br />Checkout
<b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>

Does anyone happen to know where we can edit this code?

We are trying to change the STEPS in the Order/Shopping Cart - We understood ot should be in the "Orderform/<template>"

However this is not in any of those documents.. Please advise

Thanks

m00
02-28-10, 04:17 PM
It's just in the coding of the files in /templates/orderforms/default.

Example from products.tpl:

<div class="stepsboxinactive">
<b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<b>{$LANG.step} 5</b><br />{$LANG.ordercheckout}
<b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>

itdeptcorp
02-28-10, 05:37 PM
We have been trying to REMOVE "Configure Domains" from the ORDER process - > and we have (removed from Order Form .tpl's

However now it shows Step 1, Step 3, Step 4 etc....

There is no statement or ref. in /templates/orderform/products.tpl for "Step 1" or "Steps"

So i do not follow.

m00
02-28-10, 08:56 PM
We have been trying to REMOVE "Configure Domains" from the ORDER process - > and we have (removed from Order Form .tpl's

However now it shows Step 1, Step 3, Step 4 etc....

There is no statement or ref. in /templates/orderform/products.tpl for "Step 1" or "Steps"

So i do not follow.

I'm sorry, but I don't follow that. :P

If you want to remove that "domain" step by removing the following from the files in the /templates/orderforms/default folder:


<div class="stepsboxinactive">
<b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<b>{$LANG.step} 2</b><br />{$LANG.orderdomainoptions}
<b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>
Then just edit the "step number" from the other steps so it's just 1-2-3-4.

You need to edit this in all the files, not only products.tpl.

itdeptcorp
03-01-10, 11:09 AM
Hi again -

1) We already REMOVED the DOMAIN Step

We need to RENAME the words -> "Step 3"


So the questions is "Where are these WORDS" Step 3?

m00
03-01-10, 11:27 AM
Hi again -

1) We already REMOVED the DOMAIN Step

We need to RENAME the words -> "Step 3"


So the questions is "Where are these WORDS" Step 3?


<div class="stepsboxactive">
<b class="stepsboxactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<b>{$LANG.step} 1</b><br />{$LANG.orderchooseapackage}
<b class="stepsboxactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>

<div class="stepsboxinactive">
<b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<b>{$LANG.step} 3</b><br />{$LANG.orderconfigure}
<b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>

<div class="stepsboxinactive">
<b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<b>{$LANG.step} 4</b><br />{$LANG.orderconfirmorder}
<b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>

<div class="stepsboxinactive">
<b class="stepsboxinactivertop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<b>{$LANG.step} 5</b><br />{$LANG.ordercheckout}
<b class="stepsboxinactiverbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>

See the bold numbers. The word "Step" is the variable {$LANG.step}.

NetwiseHosting
03-01-10, 02:59 PM
Hi ideptcorp,

Just to make it clear, the word Step is in the English Language file located at

whmcs_installation \ lang \ English

and the numbers, 1, 2, 3 etc are located within the template file

whmcs_installation \ templates \ orderforms \ default \ configureproduct.tpl

all you need to simply do is find the numbers 3, 4 and 5 and make them all one less.
Kind regards,

Matthew

itdeptcorp
03-01-10, 03:27 PM
Wow.. All set now - Thanks!

I appreciate the help