GavickPro / News-Show-Pro-GK5

Advanced Joomla! content module.
28 stars 37 forks source link

New Layout mode #350

Closed ismaelhaider closed 8 years ago

ismaelhaider commented 8 years ago

Hello Folks,

I am trying to create new mode for testing, here is the steps which i am following

How we can create any new mode ?

dziudek commented 8 years ago

Hello,

Please remember that you should also edit the configuration.json file inside your copy of the portal mode. It is used to retrieve the list of portal modes: https://github.com/GavickPro/News-Show-Pro-GK5/blob/master/mod_news_pro_gk5/admin/elements/portalmodes.php

ismaelhaider commented 8 years ago

Hi folks,

Thanks for quick reply, I edited configuration.json file { "name": "News_Blocks_copy", "full_name": "NEWS_BLOCKS_COPY", "support": [ "com_content", "com_k2", "com_easyblog", "com_virtuemart" ], "thumbnails": true }

When I check it from backend,it shows me mode, but its showing with name MOD_NEWS_PRO_GK5_NEWS_BLOCK_COPY I dont know why it ads additional name MOD_NEWS_PROGK5

1 more Question I have

dziudek commented 8 years ago

You have to prepare a language phrase in the language file for your portal mode as the portal modes can have a different names under different languages.

Regarding the standard mode - it is not in the portal_modes directory as in fact it is not a portal mode :) It uses tmpl/default.php and tmpl/view.php files

ismaelhaider commented 8 years ago

Thanks, I am playing with GK News Pro 5 modules, It has alot of features in backend. In Standard mode,there is links section also, Links are published, We are unable to Show Information _for these links like _Category,Comments, _Dates _.

Can you Add these features in links section.or is there any way to add these things .Appreciate if you can assist me,

dziudek commented 8 years ago

The idea of links is to display only basic informations - this is the difference between articles and links and we have no plans to add more options for links currently.

ismaelhaider commented 8 years ago

Thanks for excellent module development