Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Bug reports and fixes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
MYcontent Component
« previous
next »
Print
Pages: [
1
]
Author
Topic: MYcontent Component (Read 1842 times)
cardinal 22
Hero Member
Posts: 540
MYcontent Component
«
on:
May 13, 2025, 20:29:32 »
Hello everyone, i want to add the function pdf at component "mycontent". As it is for uploading images. I also wondering if there is a way to unlock full editor functions as it is in backend. I tried to change the setting to "rich" from "limited" editor but nothing changed at all. So all i want is to have the option to upload a pdf documents also , not only images.
Thanks in advance.
«
Last Edit: May 14, 2025, 12:46:42 by cardinal 22
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10407
Re: MYcontent Component
«
Reply #1 on:
May 15, 2025, 14:44:40 »
MyContent has been designed as a lightweight content editing application for public interface editing when backend editing is not an option. Therefor uploading files and a full html editor is out of scope. It is mostly a matter of security. If you don't need this feature too often you can use the Downloads plugin, edit the article from backend and attach the PDF.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
cardinal 22
Hero Member
Posts: 540
Re: MYcontent Component
«
Reply #2 on:
May 16, 2025, 20:40:44 »
Although i unsterstand that there are some security reasons, but i want to make some changes for my own purposes. Is there anybody that can add some more funciontality to "Mycontent"?
Logged
datahell
Elxis Team
Hero Member
Posts: 10407
Component My Content v2.2
«
Reply #3 on:
May 18, 2025, 21:16:06 »
I just updated component
My Content
and added the functionality you want!
Allowed file extensions are: pdf, xls, xlsx, ppt, pptx, doc, docx, txt.
Update to
version 2.2
and you are ready.
Instructions
1. Edit component parameters and set the position for Attach files block.
2. Go and edit an article, you will see that you can attach files.
3. When displaying the articles the download links have no special styling, so they might look ugly. You can beatify by using the CSS class "
myc_attachedfile
" on a DIV element that wraps the link.
This is the HTML it generates for each attached file:
<div class="myc_attachedfile"><a href="#">File PDF</a></div>
Component My Content at elxis.net
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
cardinal 22
Hero Member
Posts: 540
Re: MYcontent Component
«
Reply #4 on:
Today
at 07:43:57 »
what a nice surprise!!! Thank you very much! The "mycontent" is the most advanced and powrful extention for functionality of Elxis users.
1)Which file of template shoulid i edit for the "myc_attachedfile" css??
2)Can i unlock the editor too somehow? To be full functional?
Thank you so much! Perfect!
«
Last Edit:
Today
at 07:47:24 by cardinal 22
»
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
MYcontent Component