Skip to content

Commit 536a0bb

Browse files
authored
Merge pull request #38 from mambax7/master
Updating PDF info
2 parents 6f5c2e0 + 1a87880 commit 536a0bb

File tree

3 files changed

+78
-5
lines changed

3 files changed

+78
-5
lines changed

docs/readme.txt

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,46 @@ Features:
2525
REQUIREMENTS
2626
_____________________________________________________________________
2727

28-
- PHP version >= 5.3.7
29-
- XOOPS version >= 2.5.7
28+
- PHP version >= 5.5
29+
- XOOPS version >= 2.5.8
3030

3131
INSTALLATION
3232
_____________________________________________________________________
3333

34-
You will need to copy the folder /xoops_lib from the XOOPS 2.5.7 Basic Module Pack (includes TCPDF Library)
34+
1) You install the module as just any other XOOPS module.
35+
Detailed instructions on installing modules are available in the XOOPS Operations Manual:
36+
https://www.gitbook.com/book/xoops/xoops-operations-guide/details"
37+
38+
2) PDF in XOOPS 2.5.8
39+
If you want to use the PDF feature in Publisher, you will need to copy the TCPDF library to your XOOPS folder:
40+
41+
/class/libraries/vendor/
42+
43+
a) create the folders there:
44+
45+
/tecnickcom/tcpdf/
46+
47+
so it looks like:
48+
49+
/class/libraries/vendor/tecnickcom/tcpdf/
50+
51+
b) download the TCPDF library. You have three choices:
52+
53+
i) download the streamlined XOOPS version from: http://sourceforge.net/projects/chgxoops/files/Frameworks/tcpdf_for_xoops/
54+
55+
ii) download the latest full release from: https://github.com/tecnickcom/TCPDF/releases
56+
57+
iii) If you feel comfortable with Composer (https://getcomposer.org/) add this line to your "composer.js" file located in /class/libraries/:
58+
59+
"tecnickcom/tcpdf":"6.*"
60+
61+
and then run the command:
62+
63+
composer update
64+
65+
Your PDF should now work.
66+
67+
Enjoy your XOOPS Publisher module!
68+
69+
Youn XOOPS Development Team
70+

language/english/help/help.html

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,51 @@ <h4 class="odd">DESCRIPTION</h4><br>
88

99
<h4 class="odd">INSTALL/UNINSTALL</h4>
1010

11-
<p class="even">No special measures necessary, follow the standard installation process –
11+
<p class="even">1) No special measures necessary, follow the standard installation process –
1212
extract the module folder into the ../modules directory. Install the
1313
module through Admin -> System Module -> Modules.<br> <br>
1414
Detailed instructions on installing modules are available in the
1515
<a target="_blank" href="https://www.gitbook.com/book/xoops/xoops-operations-guide/details">XOOPS Operations Manual</a></p>
1616

17+
<p class="even"><strong>2) PDF in XOOPS 2.5.8 </strong><br> <br>
18+
If you want to use the PDF feature in Publisher, you will need to copy the TCPDF library to your XOOPS folder:<br> <br>
1719

18-
<h4 class="odd">OPERATING INSTRUCTIONS</h4>
20+
/class/libraries/vendor/<br> <br>
21+
22+
a) create the folders there:<br> <br>
23+
24+
/tecnickcom/tcpdf/<br> <br>
25+
26+
so it looks like:<br> <br>
27+
28+
/class/libraries/vendor/tecnickcom/tcpdf/<br> <br>
29+
30+
b) download the TCPDF library and place the content in the above folder. You have three choices:<br> <br>
31+
32+
i) download the streamlined XOOPS version from <a target="_blank" href="http://sourceforge.net/projects/chgxoops/files/Frameworks/tcpdf_for_xoops/">SourceForge</a>,
33+
which was developed by Cedric<br> <br>
34+
35+
ii) download the latest full release from <a target="_blank" href="https://github.com/tecnickcom/TCPDF/releases">TCPDF on GitHub</a> <br> <br>
36+
37+
iii) If you feel comfortable with <a target="_blank" href="https://www.gitbook.com/book/xoops/xoops-operations-guide/details">Composer</a>,
38+
add this line to your "composer.js" file located in /class/libraries/:<br> <br>
1939

40+
<strong>"tecnickcom/tcpdf":"6.*"</strong><br> <br>
41+
42+
and then run the command:<br> <br>
43+
44+
<strong>composer update</strong><br> <br>
45+
46+
Your PDF should now work.
47+
</p>
48+
49+
<h4 class="odd">OPERATING INSTRUCTIONS</h4>
50+
<p class="even">
2051
This module and its operations are very simple.<br> <br>
2152
Detailed instructions on configuring the access rights for user groups are available in the
2253
<a target="_blank" href="https://www.gitbook.com/book/xoops/xoops-operations-guide/details">XOOPS Operations Manual</a>, and more detailed information about Publisher itself is in the Publisher
2354
Tutorial (see below)<br> <br>
55+
</p>
2456

2557
<h4 class="odd">TUTORIAL</h4>
2658

xoops_version.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@
8282
)
8383
);
8484

85+
//help files
86+
$i = 0;
87+
$modversion['helpsection'][$i]['name'] = _MI_PUBLISHER_HELP_OVERVIEW;
88+
$modversion['helpsection'][$i]['link'] = 'page=help';
89+
8590
//include_once $GLOBALS['xoops']->path('modules/' . $modversion['dirname'] . '/include/constants.php');
8691
xoops_load('constants', $moduleDirName);
8792
/*

0 commit comments

Comments
 (0)