Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend eZObjectRelationListType, move all docs to README.md, remove closing PHP tags #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
mugoobjectrelations
===================
# mugoobjectrelations

The Mugo Object Relations extension is meant to allow using cross reference metadata on your ezpublish object relations.
The Mugo Object Relations extension is meant to allow using
cross reference metadata on your ezpublish object relations.

## Installation
Works as provided:
1. Extract the contents under the extension/ directory of your
eZ Publish installation and activate it for all siteaccesses.
2. Regenerate the autoloads array and clear the cache

## TODO
- Add a "searchable" flag to the extra fields (both relation-level and attribute-level)
- javascript in dedicated file
- re-use parent PHP code in MugoObjectRelationListType
- replace any template 'section' operations to 'if/foreach'
1 change: 0 additions & 1 deletion classes/mugosolrdocumentfieldobjectrelation.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,3 @@ public function getData()
}
}

?>
1,089 changes: 6 additions & 1,083 deletions datatypes/mugoobjectrelationlist/mugoobjectrelationlisttype.php

Large diffs are not rendered by default.

13 changes: 0 additions & 13 deletions doc/README

This file was deleted.

1 change: 0 additions & 1 deletion doc/TODO

This file was deleted.

1 change: 0 additions & 1 deletion ezinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ static function info()
);
}
}
?>
2 changes: 1 addition & 1 deletion settings/content.ini.append.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

AvailableDataTypes[]=mugoobjectrelationlist

*/ ?>
*/
2 changes: 1 addition & 1 deletion settings/design.ini.append.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

[ExtensionSettings]
DesignExtensions[]=mugoobjectrelations
*/ ?>
*/
2 changes: 1 addition & 1 deletion settings/ezfind.ini.append.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
[SolrFieldMapSettings]
CustomMap[mugoobjectrelationlist]=mugoSolrDocumentFieldObjectRelation

/* ?>
*/