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

Fix custom fields not Appearing in module #242

Merged
merged 18 commits into from
Jul 7, 2022
Merged
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
5 changes: 5 additions & 0 deletions src/admin/library/Free/Joomla/Module/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ class File extends AbstractFlexibleModule
*/
protected $form = null;

/**
* @var bool
*/
protected $show_options = true;

/**
* @var string
*/
Expand Down
4 changes: 2 additions & 2 deletions src/extensions/mod_osdownloadsfiles/mod_osdownloadsfiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<copyright>Copyright 2022 Joomlashack.com</copyright>
<license>GNU GPL; see LICENSE file</license>
<description>MOD_OSDOWNLOADFILES_DESC</description>
<version>2.2.0b1</version>
<creationDate>May 26 2022</creationDate>
<version>2.1.6b1</version>
<creationDate>June 14 2022</creationDate>

<alledia>
<element>osdownloadsfiles</element>
Expand Down
4 changes: 2 additions & 2 deletions src/extensions/plg_content_osdownloads/osdownloads.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<copyright>Copyright 2022 Joomlashack.com</copyright>
<license>GNU GPL; see LICENSE file</license>
<description>PLG_CONTENT_OSDOWNLOADS_DESC</description>
<version>2.2.0b1</version>
<creationDate>May 26 2022</creationDate>
<version>2.1.6b1</version>
<creationDate>June 14 2022</creationDate>

<alledia>
<element>oSDownloadsContent</element>
Expand Down
37 changes: 12 additions & 25 deletions src/media/css/frontend.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ a.modosdownloadsDownloadButton:active {
padding: 15px;
}

/************
Reveal Modals
*************/
/************ Reveal Modals *************/
.reveal-modal-bg {
position: fixed;
height: 100%;
Expand Down Expand Up @@ -225,38 +223,26 @@ Reveal Modals
cursor: pointer;
}

/*
NOTES

Close button entity is &#215;

Example markup

<div id="myModal" class="reveal-modal osdownloads-modal">
<h2>Awesome. I have it.</h2>
<p class="lead">Your couch. I it's mine.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
<a class="close-reveal-modal">&#215;</a>
</div>
*/

.osdownloads-modal iframe {
border: 0;
width: 100%;
}

.osdownloads-modal .error {
margin-bottom: 20px;
font-style: italic;
color: #d85030;
}

.osdownloads-modal label.error {
}

.osdownloads-modal label {
width: 100%;
}

.osdownloads-modal input[type="email"] {
.osdownloads-modal input {
width: 97%;
height: 30px;
}

.osdownloads-modal h2 {
Expand All @@ -266,12 +252,18 @@ Example markup
.osdownloads-modal input[type="checkbox"] {
margin-right: 5px;
margin-top: -2px;
width: auto;
height: auto;
}

.osdownloads-modal .osdownloads-header {
padding-bottom: 18px;
}

.osdownloads-group-agree {
margin-top: 30px;
}

@media screen and (max-width: 320px) {
.osdownloads-modal {
width: 280px !important;
Expand Down Expand Up @@ -300,11 +292,6 @@ Example markup
}
}

/* DOWNLOAD CUSTOM FIELDS */
.osdownloads-group-agree {
margin-top: 30px;
}

.osdownloads-title-download a {
float: none;
}
Expand Down
Loading