Jump to content


Photo
- - - - -

Antoher move Apps to JBZoo question


10 replies to this topic

#1 Rene M

Rene M

Posted 14 May 2016 - 08:24

I followed the tutorial off course but i don't understand his line:
 

/media/zoo/applications/<APP_ALIAS>/templates/<TEMPLATE_NAME>/renderer/item/<ITEM_TYPE_ALIAS>/

 

 

What is mend by    

  • <APP_ALIAS> ?
  • <TEMPLATE_NAME> ?
  • <ITEM_TYPE_ALIAS> ?

 

 

I'd like to move the Movie APP to JBZOO

 

Kind regards René


  • 0

#2 SmetDenis

SmetDenis
  • Administrators
  • User rate: 139.4
  • posts: 16232
  • topics: 200

Posted 14 May 2016 - 11:29

Hi,

 

APP_ALIAS - a folder where application is. JBZoo contain "jbuniversal"

Or ZOO Blog - "blog" directory and etc.

 

 

TEMPLATE_NAME - is current template from catalog configuration

ksi4_200x0.png

 

 

 

Each application has own Item types. You can find it here (blog for example)

kyk8_200x0.png

 

Sometimes item type directory not exists, so template files are here

/media/zoo/applications/<APP_ALIAS>/templates/<TEMPLATE_NAME>/renderer/item/


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



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


#3 Rene M

Rene M
  • Topic Starter
  • JBZoo User
  • User rate: ~
  • posts: 9
  • topics: 3

Posted 14 May 2016 - 14:57

Hi, fast response thanxs!

 

/media/zoo/applications/<APP_ALIAS>/templates/<TEMPLATE_NAME>/renderer/item/

 

So if i want to use Movie

 

/media/zoo/applications/jbuniversal/templates/uikit/renderer/item/  this is the right way to go?

 

Kind regards.


  • 0

#4 SmetDenis

SmetDenis
  • Administrators
  • User rate: 139.4
  • posts: 16232
  • topics: 200

Posted 14 May 2016 - 16:58

Hi,

 

Yes, You should copy item template files

 

from

/media/zoo/applications/movie/templates/<TEMPLATE_FROM_CONFIG>/renderer/item/

to

/media/zoo/applications/jbuniversal/templates/<TEMPLATE_FROM_CONFIG>/renderer/item/

 

TEMPLATE_FROM_CONFIG - set here http://llfl.ru/xkksi4

It can be uikit, bootstrap, warp, catalog, or something else. Please, check your movie config page.

Usualy, admin selects template for main Joomla template with the same CSS framework.


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



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


#5 Rene M

Rene M
  • Topic Starter
  • JBZoo User
  • User rate: ~
  • posts: 9
  • topics: 3

Posted 15 May 2016 - 13:56

Mmmm strange problem now.

 

In the JBZoo is see the template and the template layouts (edit, feed, full etc)

But when i edit the full template this is not visible in a item self.

 

In other words: I got more than 600 items with it's own layout, but when ik go to JBZoo Apps the template (edit)  has an other layout than the items.

 

I copied the original (movie) layout files to the template dir in JBZOO (buniversal/templates/NEWuikit/renderer/item)

 

Please help :-)


  • 0

#6 SmetDenis

SmetDenis
  • Administrators
  • User rate: 139.4
  • posts: 16232
  • topics: 200

Posted 16 May 2016 - 05:24

Hi,

I think, position names of positions or configurations are different

You can see it in the files
- ../item/positions.xml
- ../item/positions.config
- ../item/<ITEM_TYPE>/positions.xml

And copy items types configurations for directory
movie\types\
jbuniversal\types\



Or you can give me FTP access and Joomla CP. So I can see your web site and try to fix it.
  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



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


#7 SmetDenis

SmetDenis
  • Administrators
  • User rate: 139.4
  • posts: 16232
  • topics: 200

Posted 16 May 2016 - 12:56

Hi,

 

I saw your website. Item template Full used custom PHP conditions like this

24o8_1280x0.png

 

I removed it and now detail page of item can load.

Please, check it.


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



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


#8 Rene M

Rene M
  • Topic Starter
  • JBZoo User
  • User rate: ~
  • posts: 9
  • topics: 3

Posted 16 May 2016 - 16:20

Hi thanks for testing but what i mean can be best shown via some screenshots i've attached.

 

When i looked at the JBzoo App >>>Template >>full the layout is totally different that when i open an item to edit.

 

Screenshots:

 

JBZoo App>>Full 17:06:44 (right picture)

 

Item>> 17:06:05 (left picture)

 

What i'd like to effectuate:

 

The same full positions, corresponding to the item layout. (where is the edit template configured which file?)

 

Kind regards René.

Attached Thumbnails

  • Schermafbeelding 2016-05-16 om 17.06.05.png
  • Schermafbeelding 2016-05-16 om 17.06.44.png

  • 0

#9 SmetDenis

SmetDenis
  • Administrators
  • User rate: 139.4
  • posts: 16232
  • topics: 200

Posted 16 May 2016 - 18:40

Hi,

 

You used poisition social, that defined in the positions.xml file

 

70xh_200x0.png

 

 

But full.php doesn't  have call of rendering positions. Something like

<?php echo $this->renderPosition('social'); ?>

I think, you should use positions.xml from old template or add renderPosition(...)

 

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

 

I have added position to the bottom of full


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



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


#10 Rene M

Rene M
  • Topic Starter
  • JBZoo User
  • User rate: ~
  • posts: 9
  • topics: 3

Posted 16 May 2016 - 18:55

Hi it's hard to explain form me, but when i go the component  Zoo>>Opleidingen>>Items.

 

I click on the first item.

 

Where can i find the template for that layout?????

 

It has to match de JBZoo template>>full but it doesn't now.

 

Problem is, if i want to delete a position in the item layout i can't because full is not corresponding with the item layout.

 

Can this be solved?

 

Sorry for asking so much but it is priority no 1 for me.


  • 0




Click to return to top of page in style!