Latest product added

tanasecn

Avatar: tanasecn

2009-06-26 00:31

Hello i have a question i`m usn qc 1.4 fat version by claps is there a way t see latest product added in bottom of page? if so how can i make it?
Please help!

Best regards!

» Quick.Cart v1.x

F...k www.unweb.ro that sell QC

Makaron

Avatar: Makaron

2009-06-26 09:55

In download section You will find plugin which is called lastProduct_v0.3.zip it should work with Your version.

tanasecn

Avatar: tanasecn

2009-06-26 18:59

yes but how to add that to see more then one product i want to see 4-5 products

F...k www.unweb.ro that sell QC

tanasecn

Avatar: tanasecn

2009-06-27 23:23

done 10x topic closed!

tanasecn

Avatar: tanasecn

2009-06-28 14:03

ps: i mannaged to insert a stag cloud script in Q.C but i canot make him to save the search words any help ?

<?php

/*
Example usage of the Tag Cloud Script (static array)

*/

function get_tag_data() {
$arr = Array('' => 35, '' => 22, 'Array' => 44, 'Background' => 43,
'Blur' => 18, 'Canvas' => 33, 'Class' => 15, 'Color Palette' => 11, 'Crop' => 42,
'Delimiter' => 13, 'Depth' => 34, 'Design' => 8, 'Encode' => 12, 'Encryption' => 30,
'Extract' => 28, 'Filters' => 42, 'Flash' => 32, 'Functions' => 19,
'Gaussian Blur' => 44, 'Grafix' => 49, 'Graphics' => 35, 'Hue' => 47, 'Illustrator' => 8,
'Image Ready' => 12, 'Javascript' => 47, 'Jpeg' => 15, 'Keyboard' => 18, 'Level' => 28,
'Liquify' => 30, 'Listener' => 10, 'Logo' => 12, 'Loops' => 22, 'Macromedia' => 26,
'Method' => 28, 'MySQL' => 18, 'Obfuscation' => 13, 'Object' => 39, 'Optimize' => 25,
'PDF' => 37, 'PHP' => 44, 'PSD' => 17, 'Photography' => 28, 'Photoshop' => 46,
'Revert' => 50, 'Saturation' => 35, 'Save as' => 28, 'Scope' => 11, 'Scripting' => 9,
'Security' => 41, 'Sharpen' => 49, 'Switch' => 41, 'Templates' => 11, 'Texture' => 22,
'Tool Palette' => 30, 'Variables' => 50);
return $arr;
}


function get_tag_cloud() {

// Default font sizes
$min_font_size = 10;
$max_font_size = 20;

// Pull in tag data
$tags = get_tag_data();

$minimum_count = min(array_values($tags));
$maximum_count = max(array_values($tags));
$spread = $maximum_count - $minimum_count;

if($spread == 0) {
$spread = 1;
}

$cloud_html = '';
$cloud_tags = array(); // create an array to hold tag code
foreach ($tags as $tag => $count) {
$size = $min_font_size + ($count - $minimum_count)
* ($max_font_size - $min_font_size) / $spread;
$cloud_tags[] = '<a style="font-size: '. floor($size) . 'px'
. '" class="tag_cloud" href="?p=productsList&sWord=' . $tag
. '" title="\'' . $tag . '\' returned a count of ' . $count . '">'
. htmlspecialchars(stripslashes($tag)) . '</a>';
}
$cloud_html = join("\n", $cloud_tags) . "\n";
return $cloud_html;

}

?>

<style type="text/css">
.tag_cloud { padding: 3px; text-decoration: none; }
.tag_cloud:link { color: #81d601; }
.tag_cloud:visited { color: #019c05; }
.tag_cloud:hover { color: #ffffff; background: #69da03; }
.tag_cloud:active { color: #ffffff; background: #ACFC65; }
</style>

<h3>Sample Tag Cloud results</h3>
<div id="wrapper">
<!-- BEGIN Tag Cloud -->
<?php
// Display the Tag Cloud in an HTML format
print get_tag_cloud();
?>
<!-- END Tag Cloud -->
</div>

tanasecn

Avatar: tanasecn

2009-06-28 14:06

i need to get data from search

tanasecn

Avatar: tanasecn

2009-06-28 14:07

WRONG SECTION F...K


i`m sorry !

Back to top
about us | contact