Перейти к содержимому


Фотография
- - - - -

Change type to items

type items

Лучший Ответ SmetDenis , 13 June 2013 - 06:23

Create new directory

media\zoo\applications\jbuniversal\templates\catalog\renderer\item\<ITEM TYPE ALIAS>

20130613-3ii-6kb_200x0.png

 

 

Copy to the new directory

metadata.xml

positions.xml

and PHP templates

 

 

Releted documentation from yooTheme

http://www.yootheme....r-a-single-type

http://www.yootheme....-with-positions

 

You can not select a template when creating a item, because each type has its own specific template.

Перейти к сообщению


  • Закрытая тема Тема закрыта
Сообщений в теме: 6

#1 supportleveltgp

supportleveltgp

Отправлено 12 June 2013 - 12:37

Hello, I want to ask how can we change the type to an item that I hade copy from one application to another?I have two types of templates depending on language.Recently was answered my question how to copy items and it was through php myadmin.It was very helpfull but  can you tell me how to apply theese items to another type of template type?Thank you.


Сообщение отредактировал supportleveltgp: 12 June 2013 - 12:39

  • 0

#2 SmetDenis

SmetDenis

Отправлено 12 June 2013 - 17:10

Hi
 
Each type of item has own templates.
 
They are located at this path
media\zoo\applications\jbuniversal\templates\catalog\renderer\item\
 
By default, the files will be used, which are at the root this path.
 
You can for each type of item to create template folder.
Folder name - an alias type of item.
 
 

 


  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#3 supportleveltgp

supportleveltgp

Отправлено 12 June 2013 - 22:33

Thank you for your answer but Iam not sure how this can work cause in the path you describe I see only theese files you will see on screenshot I attach.Where should I do theese changes?Also why when I choose new item I can select the type of template for the new application but I cannot change the type to items that I coppied to the other application?Thank you.cpanel.png


  • 0

#4 SmetDenis

SmetDenis

Отправлено 13 June 2013 - 06:23   Лучший Ответ

Create new directory

media\zoo\applications\jbuniversal\templates\catalog\renderer\item\<ITEM TYPE ALIAS>

20130613-3ii-6kb_200x0.png

 

 

Copy to the new directory

metadata.xml

positions.xml

and PHP templates

 

 

Releted documentation from yooTheme

http://www.yootheme....r-a-single-type

http://www.yootheme....-with-positions

 

You can not select a template when creating a item, because each type has its own specific template.


  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#5 supportleveltgp

supportleveltgp

Отправлено 13 June 2013 - 09:24

Thank you for your answer it was very helpfull, about your mention that I cannot select a template I mean the layouts we create and I show you in my images what I mean by that.item.png

 

 

 

 

 

template.png


  • 0

#6 SmetDenis

SmetDenis

Отправлено 13 June 2013 - 18:55

Sorry, but now I do not understand you. What you have a problem now?

Have you tried to create templates for each type of item?


  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#7 supportleveltgp

supportleveltgp

Отправлено 13 June 2013 - 19:01

Hello, I just find the way that through phpmy admin we can change the type by changing the slag, thank you very much for your help.


  • 1





Темы с аналогичным тегами type, items

Click to return to top of page in style!