In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
257 [In-Portal CMS] Install / Upgrages feature request always 2009-09-01 23:55 2009-10-03 07:57
Dmitry  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.0.1  
0
0000257: "Meta Information" file for Modules
We have a need for a functionality when each In-Portal Module can have a special File that contains Meta Information about the module.

For now this will be used on Module Selection installation step where we list modules available for installation. However, we strongly believe information on this step should be more complete and user friendly.

Developer (you) is free to choose the format of the file, but a few things to consider while picking the format:


1. Name, Extension and Location of the file - [module]/install/module_info.tpl.xml

In the future this file might contain some valuable information (ie. Version, Path and so on) so we want to make sure it's VERY protected from the outside use:

a. Our current .htaccess has DENY for tpl.xml files
b. Our [module]/install folder are locked down with .htaccess from direct access via Web.



2. Information inside the file - currently we need:

a. ModuleName (In-Link, In-News, In-Commerce, In-Bulletin, In-Auction, Development Kit)

b. ModuleDescription:
- Directory Management (for In-Link)
- Discussion Forum (for In-Bulletin)
- News Management (for In-News)
- Commercial Shopping Cart (for In-Commerce)
- eBay Auction Management (for In-Auction)

c. ModuleImage - Local (path [module]/install/img/icon_news_management_1.gif) or Remote image (http://dev.in-portal.net/system/images/icon_news_management_1.gif)

http://dev.in-portal.net/in-commerce/products_listing.html (all images, but we'll adjust their sizes accordingly)

d. ModuleVersion - for all - 5.0.1


In XML it would look something like this:

<?xml version="1.0" encoding="utf-8"?>
<module_info>
        <Name>In-Link</Name>
        <Description>Directory Management</Description>
        <Image>in-link/install/img/icon_news_management_1.gif</Image>
        <Version>5.0.1</Image>
</module_info>

Again, find and use the best format so we can use it in the future as well.


3. How it should look on Module Selection.

check-box - Image (if exists) Directory Management (In-Link 5.0.1)
check-box - Image (if exists) News Management (In-News 5.0.1)

Don't worry about aligning all elements (Image and text), this will be done by Designer. Just make sure you can output all of the Meta data from the file.
NOTE:

later we can connect this new mechanism to the Upgrades Step as well. Where we show versions from => to upgrade.
Issue History
2009-10-03 07:57 administrator Note Added: 0000762
2009-10-03 07:57 administrator Status resolved => closed
2009-09-02 06:32 alex Note Added: 0000376
2009-09-02 06:32 alex Fixed in Version => 5.0.1
2009-09-02 06:31 alex Note Added: 0000375
2009-09-02 06:31 alex Status reviewed and tested => resolved
2009-09-02 06:31 alex Resolution open => fixed
2009-09-02 06:31 alex Changeset attached 5.0.x r12416
2009-09-02 06:29 alex Changeset attached 5.0.x r12415
2009-09-02 06:29 alex Changeset attached 5.0.x r12414
2009-09-02 06:29 alex Changeset attached 5.0.x r12413
2009-09-02 06:28 alex Changeset attached 5.0.x r12412
2009-09-02 06:28 alex Changeset attached 5.0.x r12411
2009-09-02 06:28 alex Changeset attached 1.0.x r12410
2009-09-01 23:56 Dmitry Description Updated bug_revision_view_page.php?rev_id=202#r202
2009-09-01 23:56 Dmitry Additional Information Updated bug_revision_view_page.php?rev_id=204#r204
2009-09-01 23:55 Dmitry New Issue
2009-09-01 23:55 Dmitry Status active => reviewed and tested
2009-09-01 23:55 Dmitry Assigned To => alex

Notes
(0000375)
alex   
2009-09-02 06:31   
Fix committed to 5.0.x branch. Commit Message:

1. Fixes 0000257: "Meta Information" file for Modules.
2. File was named "module_info.xml", because it's pure xml, no template-like tags.
(0000376)
alex   
2009-09-02 06:32   
Also implemented on upgrade screen.
(0000762)
administrator   
2009-10-03 07:57   
Closing issues from 5.0.1 version, because version was already released.