Zum Inhalt springen

FX News Lite (English Support)


V0RT3X
 Teilen

Empfohlene Beiträge

Thank you very much :slightly-smiling-face:

Custom fields are availiable in Article Display, but due to a user request the sorting in the template was changed in 1.0.8

In the cards they are not inclúded because usually they would break the whole layout. Not even IPS uses them in their featured templates.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Version 1.0.11 uploaded, added custom fields to article listing (double and triple)

This uses the default IPS code and settings and can look very poorly, that's why I won't add fields in the blocks and featured. I recommend not using this and only added it by request.

Fields are shown between truncated text and read more, the position right does not exist.

  • Like 4
Link zu diesem Kommentar
Auf anderen Seiten teilen

  • 1 Monat später...
  • 1 Monat später...
Am 12.12.2021 um 20:12 schrieb rastaman:

When i use articles template News LIte Featured Triple and my record has 2 or 3 lines as title I have this little issue.

Is there any way to truncate titles or any css trick or something else so all the "boxes" have the same size ?

Thanks 798911922_3columns.png.fc28c3805e629d42e6fc725290521936.png

Hi, the truncate feature was included only in the blocks... yet. They are designed a little bit different, for example they don't use an avatar too. The easiest way would be to copy the truncate code from the block templates into the one you are using until the next version will be released.

Am 16.12.2021 um 10:45 schrieb isvans:

Hello everyone!

I'm having some troubles involving the "big header", also known as "Header Image". I have this enabled, and yet it displays as "thumbnail image" in the article.

 

Here's how it looks like on my side:

677521276_headernotworking.thumb.png.8ce0a104614f96d8e6d70954a92baef3.png

What did I do wrong? Thanks!

How big is the image you are using? It is working as it should on my dev site and for example here too https://www.duken.nl/forums/nieuws/hbo-max-komt-eraan-r899/

  • Like 1
Link zu diesem Kommentar
Auf anderen Seiten teilen

  • 5 Wochen später...

Thank you for this plugin!

 

Two things:

 

1) I agree with  @rastaman, All the boxes should have the same height, it is not visually nice to see different height for different articles. The "Read more", number of views and comments should be at the same fixed size, few pixels before the end of the block

 

2) I have a problem from mobile view. The block does not scroll to the next articles clicking on the right arrow to go to the next article. Does it happen also to you?

 

Thanks!

 

  • Like 2
Link zu diesem Kommentar
Auf anderen Seiten teilen

On my devboard it worked on Android, but the accordion blocks were always a problem in IPS.

The next update will arrive unfortunately only next month (if I only had more time), but it is a larger one. Among other things, the plugin will become an app, because of the many features that have been added since 1.0.0 and I plan to expand this concept much further.

  • Like 2
  • Danke 1
Link zu diesem Kommentar
Auf anderen Seiten teilen

vor 12 Stunden schrieb V0RT3X:

On my devboard it worked on Android, but the accordion blocks were always a problem in IPS.

The next update will arrive unfortunately only next month (if I only had more time), but it is a larger one. Among other things, the plugin will become an app, because of the many features that have been added since 1.0.0 and I plan to expand this concept much further.

Great, we will be looking forward to it! Do you think the problem with the accordion blocks will be fixed, both on android and ios? Thanks!

Link zu diesem Kommentar
Auf anderen Seiten teilen

vor 10 Stunden schrieb V0RT3X:

Ask IPS, their own block on their site isn't working 100% on Android https://invisioncommunity.com/forums/

Hello Vortex,

 

I have paid an IPS developer to make it work on my website and it works now.

 

Here is the code that you find here:

 

immagine.png.164f29aa412b382e067e9f6fcbc82fce.png

 

Zitat

{{if !empty( $records ) }}

{{if \IPS\Settings::i()->fx_setting_accordion_header == '1'}}
    <h3 class='ipsWidget_title ipsType_reset'>{$title}</h3>
{{endif}}

<div class='ipsWidget_inner'>
                 <style>
              div.ipsWidget_inner {
                padding-top: 5px;
              }
               </style>
      {{if $orientation !== 'vertical'}}
        <div class='ipsCarousel ipsClearfix cPromotedWidget_horizontal' data-ipsCarousel>
            <div class='ipsCarousel_inner'>
    {{endif}}
        <ul class='ipsList_reset {{if $orientation == 'vertical'}}cPromotedWidget_vertical ipsDataList{{endif}}' data-role='carouselItems'>
        {{foreach $records as $record}}
            
            <li class='cPromoted cPromotedWidgetItem fxAccordion_width fxAccordion_block ipsCarousel_item ipsAreaBackground_reset ipsPad_half' data-ipsLazyLoad>

                <article class='fxArticle_box cCmsCategoryFeaturedEntry {{if $record->hidden()}}ipsModerated{{endif}} cms3ColImageFeature'>
            {{if $record->record_image}}
            {{if \IPS\Settings::i()->fx_setting_thumbnail_center == '1'}}
            <style>
              .fxArticle_thumbnail_container {
                display: flex;
                align-items: center;
              }
            </style>
            {{endif}}
            {{if \IPS\Settings::i()->fx_setting_accordion_thumbnail_hover == '1'}}
              <style>
                .fxAccordion_thumbnail_container:hover {
                  {setting="fx_setting_hover_effect"}
                }
              </style>
            {{endif}}
            <div style="overflow:hidden">
            <div class="fxAccordion_thumbnail_container" style="background:url( background-size: contain; background-position: center center;">
              <a href="{$record->url()}">
              <img src='{file="$record->record_image" extension="cms_Records"}' style='width: 100%;' />
              </a>
            </div></div>
            {{endif}}
            {{if \IPS\Settings::i()->fx_setting_show_category == '1'}}
            <div class="fxAccordion_category">
              <span class="fxArticle_badge ipsBadge ipsBadge_medium ipsBadge_positive">
                {$record->container()->_title}      
              </span>    
            </div>
            {{endif}}
            {{if \IPS\Settings::i()->fx_setting_featured_avatar == '1'}}
            <div class='fxAccordion_avatar ipsPos_right'>
              {template="userPhoto" app="core" params="$record->author()" group="global"}
            </div>
            {{endif}}
            <div class='fxAccordion_clear'>
              {{if $record->prefix()}}
              {template="prefix" group="global" app="core" params="$record->prefix( TRUE ), $record->prefix()"}
              {{endif}}
              <h2 class='fxAccordion_headline ipsType_pageTitle'>
                <div class='ipsType_break ipsContained {{if \IPS\Settings::i()->fx_setting_accordion_truncate_headline == '1'}}fxAccordion_ellipsis{{endif}}'>
                  <a href="{$record->url( "getPrefComment" )}" title="{lang="read_more_about" sprintf="$record->_title"}">
                    {wordbreak="$record->_title"}
                  </a>
                </div>
              </h2>
              <div class='fxArticle_info'>
                <div class='ipsPos_right'>
                  <p class='ipsType_light ipsType_reset'>
                    <i class="fa fa-clock-o" aria-hidden="true"></i> {datetime="$record->record_publish_date"}
                  </p>
                </div>
                <p class='ipsType_light ipsType_reset'>
                  <i class="fa fa-user" aria-hidden="true"></i> {$record->author()->link()|raw} <br />
                </p>
              </div>
              <section class='ipsType_normal ipsType_richText ipsType_break ipsMargin_bottom:double' data-ipsTruncate data-ipsTruncate-size='{setting="fx_setting_truncate_lines"} lines' data-ipsTruncate-type='remove'>
                {$record->truncated()|raw}
              </section>
              <div style="position: absolute; display: flex; justify-content: space-between; bottom: 10px;">
                  <strong style="margin-right: 95px;"><a href='{$record->url()}' title="{lang="read_more_about" sprintf="$record->name"}"><i class="fa fa-sign-in" aria-hidden="true"></i> {lang="read_more"}</a></strong>
                  <div class='ipsPos_right'>
                    <p class='ipsType_light ipsType_reset'>
                      <i class="fa fa-eye"></i> {$record->record_views}
                      {{if \IPS\Settings::i()->fx_setting_hide_comment_count == '0'}}
                      &#8226; <i class="fa fa-comments"></i> {$record->record_comments}
                      {{endif}}
                    </p>
                  </div>
               </div>
            </div>
          </article>
            </li>
        {{endforeach}}
        </ul>
    {{if $orientation !== 'vertical'}}
            </div>
            <span class='ipsCarousel_shadow ipsCarousel_shadowLeft'></span>
            <span class='ipsCarousel_shadow ipsCarousel_shadowRight'></span>
            <a href='#' class='ipsCarousel_nav ipsHide' data-action='prev'><i class='fa fa-chevron-left'></i></a>
            <a href='#' class='ipsCarousel_nav ipsHide' data-action='next'><i class='fa fa-chevron-right'></i></a>
        </div>
    {{endif}}
</div>
{{endif}}

 

I hope this helps!


Matteo

  • Like 2
  • Danke 1
Link zu diesem Kommentar
Auf anderen Seiten teilen

Version 1.0.12 uploaded:

- Added about author feature. You can use the "About me" from the member profiles or create your own field.

- Fallback image for articles without pictures. Note: IPS does not allow uploads in plugins, so you have to use the path to your image.

- Truncating headlines in article listings. This is a little experimental, better wait for the app version that will be released later this month and contain new templates.

Link zu diesem Kommentar
Auf anderen Seiten teilen

  • 6 Monate später...

After the latest upgrade to 4.7.1 I get this error when I try to add (post) a new article:

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given (0)
#0 /home/nginx/domains/xxxxxx/public/applications/cms/sources/Theme/Theme.php(610) : eval()'d code(714): count()
#1 /home/nginx/domains/xxxxxx/public/system/Helpers/Form/Form.php(519): IPS\Theme\class_cms_database_form->recordForm()
#2 /home/nginx/domains/xxxxxx/public/applications/cms/modules/front/database/category.php(765): IPS\Helpers\_Form->customTemplate()
#3 /home/nginx/domains/xxxxxx/public/system/Dispatcher/Controller.php(107): IPS\cms\modules\front\database\_category->form()
#4 /home/nginx/domains/xxxxxx/public/applications/cms/sources/Databases/Dispatcher.php(327): IPS\Dispatcher\_Controller->execute()
#5 /home/nginx/domains/xxxxxx/public/applications/cms/widgets/Database.php(128): IPS\cms\Databases\_Dispatcher->run()
#6 /home/nginx/domains/xxxxxx/public/applications/cms/sources/Pages/Page.php(1289): IPS\cms\widgets\_Database->render()
#7 /home/nginx/domains/xxxxxx/public/applications/cms/sources/Pages/Page.php(2269): IPS\cms\Pages\_Page->getWidgets()
#8 /home/nginx/domains/xxxxxx/public/applications/cms/modules/front/pages/page.php(227): IPS\cms\Pages\_Page->output()
#9 /home/nginx/domains/xxxxxx/public/system/Dispatcher/Controller.php(107): IPS\cms\modules\front\pages\_page->__call()
#10 /home/nginx/domains/xxxxxx/public/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute()
#11 /home/nginx/domains/xxxxxx/public/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute()
#12 /home/nginx/domains/xxxxxx/public/index.php(13): IPS\_Dispatcher->run()
#13 {main}

Is there any solution to this?

Link zu diesem Kommentar
Auf anderen Seiten teilen

vor 7 Stunden schrieb Adavis:

I think that the problem remains in every template. I also found that I get the error only with the admin account, other member accounts can post regurarly. 

Sounds like an IPS problem to me if all templates are affected. FX News also uses only the basic pages code too, not like applications and plugins.

The best way would be to contact the IPS support. New versions are always very buggy, never install major updates shortly after they are released. Give them some time to fix their bugs first.

Link zu diesem Kommentar
Auf anderen Seiten teilen

  • 7 Monate später...
On 1/18/2022 at 7:24 AM, V0RT3X said:

Hi, the truncate feature was included only in the blocks... yet. They are designed a little bit different, for example they don't use an avatar too. The easiest way would be to copy the truncate code from the block templates into the one you are using until the next version will be released.

How big is the image you are using? It is working as it should on my dev site and for example here too https://www.duken.nl/forums/nieuws/hbo-max-komt-eraan-r899/

Hi, sorry for late answer (yeah, over a year back). Been a bit off because of my job.

This still happens to me, when I add a new article via the main portal website, when I attach the image in the post content (in the buttom, where I have to attach file) then it gets resized when you click and see the article.

Here is what I meant when I attach the "header" image to be shown in the main page portal article:

nze3Gce.png

 

Now, this is how it looks in my page:

1) In the main portal, where you see the article it looks just fine as you see in this image below:

2vIz1UJ.png

 

2) Now the problem comes when I click in the article (in any article), you will get that image resized, not sure if it's the same size as you see in the main page (in image #1), see this image below:

CEg2ikw.png

 

Now, you've asked which images I was using. I'm using full images, I do not resize them myself, but it seems like the plugin or my page resizes it automatically, and then it looks bad in the Article content.

The image I was using in the images above is:

wKmmmIv.jpg

 

(As I said, I updated them as I stated in the previous steps).

How can I get this to work properly? Image should be at least full-size in the article content. Would be nuts if it gets centered as well, but that doesn't matter too much I guess.

 

As I said, this happens in all the articles I have. Note, in case you want to check the page, it's: https://eprotv.org

If you don't allow having the link, feel free to remove it or let me know so I edit it!

 

Thank you, hopefully I can get this sorted out :S

Best regards,

vans

Bearbeitet von isvans
Link zu diesem Kommentar
Auf anderen Seiten teilen

  • V0RT3X hat Thema gesperrt
Gast
Dieses Thema wurde nun für weitere Antworten gesperrt.
 Teilen

  • Wer ist Online   0 Benutzer

    • Keine registrierten Benutzer online.
×
×
  • Neu erstellen...

Wichtige Information

Um unsere Webseite für Sie optimal zu gestalten und fortlaufend verbessern zu können, verwenden wir Cookies. Durch die weitere Nutzung der Webseite stimmen Sie der Verwendung von Cookies zu. Weitere Informationen zu Cookies erhalten Sie in unserer Datenschutzerklärung.