Pages:

slider product

udientsz82@yahoo.com

No avatar

2013-01-22 11:03

hi, i want to install sliderProducts 6.0 at quick cart5.2, but i don't know where--- products-form. php,settings.php,_header, php,page.php.There script no in quick cart5.2.i have try but failed.Please help

» Quick.Cart v5.x

interkob

Avatar: interkob

2013-01-22 11:32

For example in templates folder there are .tpl files instead of .php.

_header.php would be container.tpl

udientsz82@yahoo.com

No avatar

2013-01-22 12:13

hi, where should i setting this (Edit file: templates/default/page.php).there have not in quick cart5.2

udientsz82@yahoo.com

No avatar

2013-01-22 12:53

hi, where should i setting this (Edit file: templates/default/page.php).there have not in quick cart5.2

and when i open site, the error is

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 48037939 bytes) in /home/mircom/public_html/core/libraries/tpl-parser.php on line 121

there is
$this->content = substr( $this->content, 0, $iPosition1 ).ob_get_contents( ).substr( $this->content, $iPosition2 + 2 );
ob_end_clean( );

WHAT SHOULD I DO.PLEASE

interkob

Avatar: interkob

2013-01-22 13:10

Error is related with RAM memory of your server. You probably have some big files in database...

And page.php probably is actions/themes/default.php

udientsz82@yahoo.com

No avatar

2013-01-22 13:36

OK FRIENDS, I WILL TRY IT. THANKS A LOTS.NICE : )

Guido

Avatar: Guido

2013-01-22 23:49

Version 6 is totally different from older versions. For example, no tpl files anymore.

So I think it's difficult to make this slider work, without major adjustments.

Guido

udientsz82@yahoo.com

No avatar

2013-01-29 12:35

where i should find this code at 5.2 quick cart freeware

require_once DIR_SKIN.'_header.php'; // include design of header

or DIR_SKIN

HELP ME PLEASE

Guido

Avatar: Guido

2013-01-29 18:33

@udientsz82@yahoo.com:

I have tried to insert the product slider into Quick Cart V5 too, but after I added the code from step 9 into file container.tpl (V5 does not have file page.php) I'm getting this error:

Catchable fatal error: Object of class Products could not be converted to string in C:\Program Files\xampp\htdocs\slider\core\libraries\tpl-parser.php on line 172

I think this has someting to do with the file-type of container (tpl). Code above is php.

Guido

t0ken

Avatar: t0ken

2013-02-08 15:35

Information for developers.
I have successfully installed ‘slider product’ but during (manual) installation it has (twice) change database/config/lang_pl.php = clear it, only first line left. Probably it changes lang_pl when I use admin panel/settings/save. If it keep repeating I will inform you.

udientsz82@yahoo.com

No avatar

2013-02-09 06:38

Hi, what do you mean, slider product could work quick cart5.2??? i have trouble with script
require_once DIR_SKIN.'_header.php'; // include design of header

or DIR_SKIN.

I hope any information for this setting

UDIENTSZ82

Avatar: UDIENTSZ82

2013-02-20 08:29

Any information

interkob

Avatar: interkob

2013-02-20 08:45

v6 plugins are not very compatible with v5.

What is the problem right now? What does not work?

cachousam

Avatar: cachousam

2013-02-21 12:35

Hello,
I think I'm close to succeeding in adapting this plugin on a v3.7.

in level 8 i have write this code in container.tpl

<if( !defined( 'JQUERY-LOADED' ) ){ >
<script type="text/javascript" src="$config[dir_core]jquery-1.8.2.min.js"></script>
<define( 'JQUERY-LOADED', true ); } >
<script type="text/javascript" src="$config[dir_core]jquery.jcontent.0.8.js"></script>
<script type="text/javascript" language="javascript">
$("document").ready(function(){
$("div#productsSlider").jContent({
orientation: 'horizontal',
width: "560",
duration: 2000,
auto: true,
direction: 'next',
pause_on_hover: true,
pause: 5000});
});
</script>


But to level 9 I have a doubt.
Which file to use in 3.7.
And also how to convert this php coding in the corresponding tpl if it is really a tpl file.
Thank you very much.
I would give the plugin when it is ready.

interkob

Avatar: interkob

2013-02-21 13:10

in general.php there is $config['embed_php'] = false;

change to true. maybe this will help.

cachousam

Avatar: cachousam

2013-02-21 13:25

Here a screens of my try

http://img259.imageshack.us/img259/3802/adminproductslider.png

http://img191.imageshack.us/img191/9639/settingslider.png

In level 9 i think to /template/container.tpl or template/page_default.tpl

We are near to the success

cachousam

Avatar: cachousam

2013-02-21 13:43

Interkob

I do not understand.
I have to replace the entire level 9.

require_once DIR_SKIN.'_header.php'; // include design of header
if( !empty( $config['slider_page'] ) && isset( $aData['iPage'] ) && $aData['iPage'] == $config['slider_page'] ){
if( !isset( $oProduct ) )
$oProduct = Products::getInstance( );
echo $oProduct->listProductsSlider( ); // products in slider
}

With this in config/general.php?

If You want embed PHP code in template files
* set this variable true but it is not recommended and
* script will be slower
$config['embed_php'] = true;

And if I do this, what file to modify?

Can you help me a little more.
Dominique

interkob

Avatar: interkob

2013-02-21 14:17

container.tpl

if you use php inside, then don't forget <?php before and ?> after.

and i think you don't need this line
require_once DIR_SKIN.'_header.php'; // include design of header

This topic is a mess. One people working with v5 and you with v3. Maybe later I'll try by myself how does it work on your version..

interkob

Avatar: interkob

2013-02-21 14:33

or maybe in .tpl file you need to insert the code between {php} code {/php]

i dont remember

cachousam

Avatar: cachousam

2013-02-24 07:17

Hi,

Can TOKEN could share his solution?
Thank you in advance

Pages:
Back to top
about us | contact