Skip to content

Commit

Permalink
[Task]: Fix Docs (#70)
Browse files Browse the repository at this point in the history
* Remove prior 6.9 docs

* update editable from php to twig
  • Loading branch information
kingjia90 authored May 8, 2023
1 parent 93ae4bc commit 5e9428c
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ Editable for adding tables with configurable columns based on the output channel
![outputputcanneltable](doc/img/outputputcanneltable.png)

Usage:
```php
<?php
echo $this->outputchanneltable("tableconfig");
```twig
{{ pimcore_outputchanneltable('tableconfig')|raw }}
```
Also see included sample areas PrintColumnAttributeTable and PrintRowAttributeTable.

Expand Down Expand Up @@ -72,26 +71,3 @@ Awesomizr.createTableOfContents({
```
See example: [toc.js](https://github.com/pimcore/web2print-tools/blob/master/src/Resources/public/examples/toc.js)
See full documentation and examples: [pdfreactor-manual](http://www.pdfreactor.com/product/doc/manual.pdf)


## Running with Pimcore < 5.4
With Pimcore 5.4 the location of static Pimcore files like icons has changed. In order to make this bundle work
with Pimcore < 5.4, please add following rewrite rule to your `.htaccess`.
```
# rewrite rule for pre pimcore 5.4 core static files
RewriteRule ^bundles/pimcoreadmin/(.*) /pimcore/static6/$1 [PT,L]
```

# Migration from Pimcore 4
- change table name from `plugin_web2print_favorite_outputdefinitions` to `bundle_web2print_favorite_outputdefinitions`
```sql
RENAME TABLE plugin_web2print_favorite_outputdefinitions TO bundle_web2print_favorite_outputdefinitions;
```
- changed namespace from `Web2Print` to `Web2PrintToolsBundle`
- renamed permission from `plugin_web2print_favourite_output_channels' to `web2print_web2print_favourite_output_channels`
```sql
UPDATE users_permission_definitions SET `key` = REPLACE(`key`, 'plugin_web2print_favourite_output_channels', 'web2print_web2print_favourite_output_channels');
UPDATE users SET permissions = REPLACE(`permissions`, 'plugin_web2print_favourite_output_channels', 'web2print_web2print_favourite_output_channels');
```
- removed Custom Document Areas
- PDFReactor controller plugin replaced by PDFreactor PDF Creation Helper

0 comments on commit 5e9428c

Please sign in to comment.