Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 11-19-2009 06:35:41

jonasaedin
Member
From: Edinburgh, UK
Registered: 02-15-2009
Posts: 70
Website

Making new display includes

Is there a reasonably straightforward way of adding you own display includes. Say for example you want to clone an existing widget with a new identifier in order to make alterations without losing the original widget.

I presume you will have to clone a php file somewhere and add some entries in the database...

(Europacart 7.1.1 BTW)

Last edited by jonasaedin (11-19-2009 06:36:11)

Offline

 

#2 12-01-2009 09:22:04

jonasaedin
Member
From: Edinburgh, UK
Registered: 02-15-2009
Posts: 70
Website

Re: Making new display includes

I take it from the lack of response that this is not possible within the software

Offline

 

#3 12-01-2009 09:28:54

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: Making new display includes

System Dashboard > Store > Store Displays

you can clone any of the displays here.

If you want to edit/copy any of the display includes like "form footer" etc. you will have to do that via FTP (or file manager). You will find them in the core section of the private directory.

Nigel

Last edited by nigel (12-01-2009 09:34:50)

Offline

 

#4 12-01-2009 09:32:41

jonasaedin
Member
From: Edinburgh, UK
Registered: 02-15-2009
Posts: 70
Website

Re: Making new display includes

But I wanted to clone a Display Include as under System -> Display -> Display includes.

What I want to do is make a tiny version of the minicart include but keep the existing one as well

Offline

 

#5 12-01-2009 09:35:26

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: Making new display includes

see above post which I just edited

Offline

 

#6 12-01-2009 09:45:06

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: Making new display includes

just realised the minicart include is found in the ECOM includes

Nigel

Offline

 

#7 12-01-2009 10:16:49

jonasaedin
Member
From: Edinburgh, UK
Registered: 02-15-2009
Posts: 70
Website

Re: Making new display includes

thanks... would you not also have to assign a namespace to the cloned include php file?

At the moment the defaukt minicart is called by this code: $skinfunc->namespace('ecom',skinwidget_minicart);

I presume I have to add a namespace ie. skinwidget_minicart_tiny somewhere in the database, right?

Offline

 

#8 12-01-2009 11:14:52

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 418
Website

Re: Making new display includes

If you only wanted one instance of the cart showing on your site I would suggest you make a copy of the original file, rename it, then make your edits to the original file. This way you don't need to get involved in changing how the cart is called.

Nigel

Offline

 

#9 12-01-2009 11:22:58

jonasaedin
Member
From: Edinburgh, UK
Registered: 02-15-2009
Posts: 70
Website

Re: Making new display includes

Thanks for your input, Nigel... and apologise for banging on about this...

As you can see on our website http://www.contextinteriors.co.uk/ec7/ (Upgrade cart not active yet)

I have the minicart in the right column towards the bottom, but client has requested a smaller cart status at the top (right hand side under header - currently just dummy info).

In other words I was looking at trying to add a new widget that can work simultaniously with the original

Offline

 

Board footer