xoops forums

Mage

Core Developer
Posted on: 3/14 21:59
Mage
Mage (Show more)
Core Developer
Posts: 199
Since: 2009/8/2 1
#1

xmcontent 1.5 Final Released

Hello,

We are happy to announce the release of version 1.5 of the module xmcontent.

This version brings 2 major new features:

- Modification of the content from the user part
- Possibility to include a page in another

The complete list:

-------------------------------------------------
Version: 1.5 Final
Date: 14.03.2021
-------------------------------------------------
Bug fixes:
- The search ignored permissions.
- Tempaltes encoding problem.
- Fixed an error with xmdoc.
- Fixed an error with the content filter (admin).

Improvements:
- Code optimization.
- Better integration of XMF.
- Added modification permission.
- The content is now editable from the user part.
- PHP8 compatibility.
- Integration of xmsocial to rate content and add social media.
- We can now include a page in another page.

Security:
- Users who had the rights to edit content could change the permissions.
Now only those who have the right to administer the module can do it.

To see the description of the module and download it:

xmcontent on www.monxoops.fr

goffy

Just can't stay away
Posted on: 3/15 9:21
goffy
goffy (Show more)
Just can't stay away
Posts: 487
Since: 2010/12/27
#2

Re: xmcontent 1.5 Final Released

great news. thank you

Yurdal

Friend of XOOPS
Posted on: 3/15 16:52
Yurdal
Yurdal (Show more)
Friend of XOOPS
Posts: 372
Since: 2005/3/27
#3

Re: xmcontent 1.5 Final Released

Thanks for sharing and maintaining

alain01

Just can't stay away
Posted on: 3/16 17:59
alain01
alain01 (Show more)
Just can't stay away
Posts: 489
Since: 2003/6/20
#4

Re: xmcontent 1.5 Final Released

Here the news (in french language) on the french XOOPS site, monxoops.fr

mjoel

Quite a regular
Posted on: 7/24 3:04
mjoel
mjoel (Show more)
Quite a regular
Posts: 331
Since: 2006/12/9
#5

Re: xmcontent 1.5 Final Released

Hello,

thank you for this great module

how do i make the logo of the article appear in the article page ? right now it will only appear in the index page.

i tried to edit some php file and templates of xmcontent but the logo is not appearing int the article

alain01

Just can't stay away
Posted on: 7/24 20:21
alain01
alain01 (Show more)
Just can't stay away
Posts: 489
Since: 2003/6/20
#6

Re: xmcontent 1.5 Final Released

Hi mjoel,
humm,
Ok, let me try it...

alain01

Just can't stay away
Posted on: 7/24 22:09
alain01
alain01 (Show more)
Just can't stay away
Posts: 489
Since: 2003/6/20
#7

Re: xmcontent 1.5 Final Released

Ok,
no logo on the article page, just in the index page.
May be Greg will implement this feature in the next version.

Bad solution is a "hack" :

file viewcontent.php
Add line 58
$xoopsTpl->assign('content_logo'$content->getVar('content_logo'));

file /themes/you_theme_bt4/modules/xmcontent/xmcontent_viewcontent.tpl

<img class="rounded img-fluid" src="/uploads/xmcontent/images/" alt="<{$content_title}>">

you can add img where you want in the article, near title or on left side for example

mjoel

Quite a regular
Posted on: 7/27 6:50
mjoel
mjoel (Show more)
Quite a regular
Posts: 331
Since: 2006/12/9
#8

Re: xmcontent 1.5 Final Released

Quote:

alain01 wrote:

<img class="rounded img-fluid" src="/uploads/xmcontent/images/" alt="<{$content_title}>">



thank you alain

it should be

<img class="rounded img-fluid" src="<{$xoops_url}>/uploads/xmcontent/images/<{$content_logo}>" alt="<{$content_title}>">

alain01

Just can't stay away
Posted on: 7/27 7:00
alain01
alain01 (Show more)
Just can't stay away
Posts: 489
Since: 2003/6/20
#9

Re: xmcontent 1.5 Final Released

Sure,
I dont know why but the XOOPS forum cuts some parts of my code in my post.

But you know which code is missing )) !