goober999
-
Posts
305 -
Joined
-
Last visited
Posts posted by goober999
-
-
Hi,
You are missing the point of the template files. That point being that there is not PHP code in the templates.
If you wanted to put a code generated value into the template, simply use assign funtion. see sample below:
Insert into teplate
{DATE}
and in the xxx.inc.php file that includes your template, insert this code
$tpl_name->assign("DATE",date("jS"));
good luck
-
I assume you are using v3.x
this value is in the viewProd.tpl
find a line that looks like this
<input name="quan" type="text" value="1" size="2" class="textbox" style="text-align:center;" />
and change
value="1"
to
value="2"
that's it.
good luck
-
Here's the link to the answer! http://www.cubecart.com/site/forums/index....showtopic=10101
good luck!
-
Here's the link to the answer! http://www.cubecart.com/site/forums/index....showtopic=10101
good luck!
-
Here's the link to the answer! http://www.cubecart.com/site/forums/index....showtopic=10101
good luck!
-
Hi,
Here's a fix for the latest products display problem. The problem is that the display is not setup to show a specific number of products across. And the <div> tags kind of go crazy and mess up the display.
Here's a fix that will enable you to specify number of products to display across and will fix the line up issue.
In the includes/content/index.inc.php find this line:
for($i=0;$i<count($latestProducts);$i++){
Replace with this code
$across=4; $index->assign("TW",100/$across); for($i=0;$i<count($latestProducts);$i++){ if (!(($i+1) % $across)) { Â Â $index->assign("TXT_TR","</tr><tr>"); } else { Â Â $index->assign("TXT_TR",""); }
in skins/{insert skin name}/styleTemplates/content/index.tpl replace all code between
<!-- BEGIN: repeat_prods -->
and
<!-- END: repeat_prods -->
including those two lines above with this code
 <table width="100%" border="0"><tr>  <!-- BEGIN: repeat_prods -->  <td width="{TW}%">   <div style="float: center; text-align: center;">   <a href="index.php?act=viewProd&productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" /></a>   <br />   <a href="index.php?act=viewProd&productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>   <br />   {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>   </div>  </td>  {TXT_TR}  <!-- END: repeat_prods -->  </tr></table>
The $across variable is used to specify number products across.
That's it. Good Luck
-
Here's the link to the answer! http://www.cubecart.com/site/forums/index....showtopic=10101
good luck!
-
try the fix hack I posted here http://www.cubecart.com/site/forums/index....showtopic=10101
-
Here's the link to the answer! http://www.cubecart.com/site/forums/index....showtopic=10101
good luck!
-
I believe that this issue has been resolved in v3.0.2
There was a bug in v3.0.0 and 3.0.1 that I found and reported to brooky.
try upgrading, it should help
-
give him credit maybe its not cube cart maybe he just 100 percently based it on it .........even though the url layout and some images are cube cart styledwont know for sure until you see the code but i would sure email and want to see it
Give him credit my ass.
click this link to learn more.
:::edited as means of evidense::: - By Brooky
-
You mean GREAT! right? :P
-
This mod is now available for v3.x at the same place!
select Version 3 from option dropdown.
Thank you
-
:D
OUTRAGE. The nerve of this guy.
I here by nominate him to CubeCart Hall of Shame!
-
Please make the text of the Copyright visible on your site.
-
it's in the database. update CubeCart_order_state table
-
In the /modules/shipping folder create new folder named "Flete_Destino" and copy calc.php from one of the other shpping folders into the "Flete_Destino" folder. Edit this calc.php to calculate your shipping.
In the /admin/modules/shipping folder create new folder named "Flete_Destino" and copy index.php from "/admin/modules/shipping/Free_Shipping" folder.
that's it!
You can now admin the "Flete_Destino" from the control panel and enable it.
Let me know if you need any help
-
It looks okay to me. as far as feedback goes....
there is annoying thing that happens on your site. In the popular products box.
when you mouse over the link, the text gets bold and it makes the box grow in length and pushes the mailing list box down. so the effect is that that mailing list box jumps on the page.
-
Looks cool, kept up the good work!
-
ron,
I haven't heard about any problems with this mod. Double check the intall steps to make sure nothing was missed during setup. Do you get the missing graphic icon on the popup page or nothing at all? send me the url where you have this, I'll take a look.
Thanks
Goober
-
Hi,
I would like to share a simple mod. If the product image is larger than the preset limit the mod will thumbnail it to limit size and create link to "view larger image" under the product image. Product images that are smaller than limit size will not be enlarged and no link created.
you can get the mod here: mod zip file
good luck :)
Turn off FCKedidor
in Technical Help
Posted
Hi,
For those of you with a dialup and for those who think it takes way to long to load product add/edit page and for those who simply don't like the fckeditor and for those wh... well you get the idea
Add this mod to turn the editor on and off whenever you like.
in the language/xx/lang.inc.php find
Then go to admin panel click general settings link and turn off/on the fckeditor
Enjoy :w00t: