-
Posts
1,581 -
Joined
-
Last visited
-
Days Won
21
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Projects
Forums
Events
Store
Gallery
Posts posted by Jimi Wikman
-
-
- Matt Finger and Dreadknux
- 1
- 1
-
2 hours ago, TDBF said:
There are times when the edit post button isn't good enough, and I have to edit content via the source code to remove multiple breaks or styling issues due to copying and pasting embedded or other content.
Hmmm...that reminds me, will the new editor have a clear formatting function? I figure that will help with those pesky cut and paste from other tools that add garbage to the text?
-
Will we be able to use official extensions, or is the solution too customized so it will not be possible?
Will we by any chance be using TipTap for the Pages editor as well, as I see it has content sitebuilder capabilities?
-
-
So if I want both top-rated and newest, then my options are to create blocks for whichever I don't have on the database level?
-
I am playing around with the Featured record's template, and I wonder if there is a way to add more sorting options than what you set on the database level?
-
36 minutes ago, Adlago said:
If you like the icons of the awesome font for your forum icons, then direct use I think is not possible.
But you can do something else -
- take a screenshot of any icon font awesome you like
- convert these images to webp format
- use add icon function for each name of your forum, and it will replace original ui icons with your images.
Here's an example:In this case, you will also save a function - unread/read
and you will have different awesome font simulated images.I appreciate that @Adlago, but I am not looking for the forum icons, but to add a little icon to the forum name so it shows up something like this:
That require a little extension, so I have another field in the forum editing form that I can output in the template.
I'll dig into it when V5 is released and see if I can get that sorted 🙂
-
I figured as much. So to add that, I have to extend the names with a new input field to append to the forum name or category name for Pages, for example?
-
Getting back to building again, and I forgot if there is something removing glyphs when trying to add a Font Awesome Glyph into the name of a category, like a forum name for example?
I tried to add it, but it does not show properly. So it is either me not adding the Font Awesome library correctly, or there is a security protection in the way?
-
First of all, this is great. Really great.
Secondly, I think you are getting closer and closer to having all the ingredients for making a very nice ITSM tool for support purposes 🙂
- Matt, Marc Stridgen and Jim M
- 3
-
Books
in Marketplace
Very nice!!
-
-
-
-
Books
in Marketplace
I love this app, and I wonder how big of a change it would be to be able to have multiple bookshelves? I assume it is a bit complicated, or you would have already done it?
-
-
Got this nice error right now:
Fatal error: Cannot use "parent" when current class scope has no parent in /home/jimiwikm/public_html/system/Theme/Theme.php(2703) : eval()'d code on line 52
-
what is wrong with this code then...
{{if member.member_id}} <div class='ipsDataItem_icon ipsPos_top'> {{if $record->unread()}} <a href='{$record->url( 'getNewComment' )}' title='{lang="first_unread_post"}' class="jwseUnreadMarker" data-ipsTooltip> <span class='ipsItemStatus'><i class="fa {{if \in_array( $record->$idField, $iposted )}}fa-bookmark{{else}}fa-bell{{endif}}" style="var(--color-{$record->container()->_title});"></i></span> </a> <{{else}} {{if \in_array( $record->$idField, $iposted )}} <span class='jwsePosteddMarker ipsItemStatus ipsItemStatus_read ipsItemStatus_posted'><i class="fa fa-bookmark"></i></span> {{else}} {{endif}} {{endif}} </div> {{endif}}
-
The Gallery show the following error:
Fatal error: Cannot use "parent" when current class scope has no parent in /home/jimiwikm/public_html/system/Theme/Theme.php(2703) : eval()'d code on line 52
-
And this that breaks the editor?
Fatal error: Declaration of IPS\Theme\Cache\hook220::imageFeed($images, $title, $orientation) must be compatible with IPS\Theme\Cache\class_gallery_front_widgets::imageFeed($images, $title, $orientation = 'vertical') in /home/jimiwikm/public_html/system/Theme/Theme.php(951) : eval()'d code on line 46
Looks like the whole gallery is dead...
-
That shuld make things a bit interesting then 🙂
{{if !empty( $records ) }} <h3 class='ipsWidget_title ipsType_reset'>{$title}</h3> <section class='jwse_BLOCK_sectionBG ipsType_normal ipsSpacer_both'> {{foreach $records as $record}} <article class="jwse_BLOCK_standard ThreeColBlock"> <div class="article_img"> {{if $record->isFutureDate() || $record->mapped('pinned') || $record->mapped('featured') || $record->hidden() === -1 || $record->hidden() === 1}} <div class="article_badges"> {{if $record->isFutureDate()}} <span class="ipsBadge ipsBadge_icon ipsBadge_warning" data-ipsTooltip title='{$record->futureDateBlurb()}'><i class='fa fa-clock-o'></i></span> {{elseif $record->hidden() === -1}} <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$record->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span> {{elseif $record->hidden() === 1}} <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span> {{endif}} {{if $record->mapped('pinned')}} <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span> {{endif}} {{if $record->mapped('featured')}} <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span> {{endif}} </div> {{endif}} {{if $record->customFieldDisplayByKey('post-type', raw) == "video"}} <div class="record_postType"> <i class="far fa-play-circle"></i> </div> {{endif}} {{if $record->customFieldDisplayByKey('review_position', 'raw') != 'no'}} <div class="record_userReview {$record->container()->_title}_stars"> {{if $record::database()->options['reviews'] AND $record->averageReviewRating()>-1}} {template="rating" app="core" params="'small', $record->averageReviewRating(), \IPS\Settings::i()->reviews_rating_out_of, $record->memberReviewRating()" group="global"} {{elseif $record->container()->allow_rating AND $record->averageRating()>-1}} {template="rating" app="core" params="'small', $record->averageRating(), \IPS\Settings::i()->reviews_rating_out_of, $record->memberRating()" group="global"} {{endif}} </div> {{endif}} {{if $record->record_image}} <a href="{$record->url('getNewComment')}"><img class="ipsImage" src="{file="$record->record_image" extension="cms_Records"}" alt="{$record->_title}"></a> {{else}} <img class="ipsImage" src="{media="365"}" alt="{$record->_title}"> {{endif}} </div> <div class="article_userPhoto"> {template="userPhoto" group="global" app="core" params="$record->author(), 'small'"} </div> <div class="article_content"> <h2 class="{$record->container()->_title}_h2"> {{if $record->unread()}} <a href='{$record->url('getNewComment')}'><span class='ipsItemStatus' data-ipsTooltip title="{lang="cms_unread_record"}"><i class="fas fa-eye"></i></span></a> {{endif}} <a href="{$record->url( "getPrefComment" )}" title="{lang="read_more_about" sprintf="$record->_title"}">{wordbreak="$record->_title"}</a> <span class=""> {{if $record->prefix()}} {template="prefix" group="global" app="core" params="$record->prefix( TRUE ), $record->prefix()"} {{endif}} </span> </h2> </div> <div class="article_meta"> <div class="article_Comments"><i class="far fa-comment-alt"></i> {lang="num_comments" pluralize="$record->record_comments"}</div> <div class="article_views"> {lang="num_views_with_number" pluralize="$record->record_views"} </div> <div class="article_reaction ipsReactOverview"> <ul> {{foreach $record->reactBlurb() AS $key => $count}} <li>{{$reaction = \IPS\Content\Reaction::load( $key );}} <a href='{$record->url('showReactions')->setQueryString( 'reaction', $reaction->id )}' data-ipsDialog data-ipsDialog-title='{lang="see_who_reacted"}' data-ipsTooltip title='{lang="see_who_reacted_x" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'reaction_title_' . $reaction->id )"}'> <img class='reactionIcon' src='{file="$reaction->_icon" extension="core_Reaction"}' alt='{lang="reaction_title_{$reaction->id}"}'> </a></li> {{endforeach}} </ul> </div> </div> {{if $table and $table->canModerate()}} <div class='ipsDataItem_modCheck'> <span class='ipsCustomInput'> <input type='checkbox' data-role='moderation' name="moderate[{$record->$idField}]" data-actions="{expression="implode( ' ', $table->multimodActions( $record ) )"}" data-state='{{if $record->tableStates()}}{$record->tableStates()}{{endif}}'> <span></span> </span> </div> {{endif}} </article> {{endforeach}} </section> {{endif}}
-
Anyone know what this means? I get them randomly, it seems for different blocks and sometimes for databases...
Error: Undefined constant "IPS\Theme\raw" (0) #0 /home/jimiwikm/public_html/applications/cms/sources/Blocks/Block.php(280): IPS\Theme\class_cms_block_RecordFeed->jwsestandard3colblock() #1 /home/jimiwikm/public_html/system/Widget/Widget.php(234): IPS\cms\Blocks\_Block->getTemplate() #2 /home/jimiwikm/public_html/system/Content/Widget.php(522): IPS\_Widget->output() #3 /home/jimiwikm/public_html/applications/cms/widgets/RecordFeed.php(312): IPS\Content\_Widget->render() #4 /home/jimiwikm/public_html/applications/cms/sources/Blocks/Block.php(242): IPS\cms\widgets\_RecordFeed->render() #5 /home/jimiwikm/public_html/applications/cms/widgets/Blocks.php(143): IPS\cms\Blocks\_Block::display() #6 /home/jimiwikm/public_html/system/Widget/Widget.php(826): IPS\cms\widgets\_Blocks->render() #7 /home/jimiwikm/public_html/system/Widget/Widget.php(888): IPS\_Widget->_render() #8 /home/jimiwikm/public_html/uploads/template_7_80416a939542936b8d637f8c64a329cd_pages.php(172): IPS\_Widget->__toString() #9 /home/jimiwikm/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_cms_front_pages->widgetContainer() #10 /home/jimiwikm/public_html/applications/cms/sources/Theme/Theme.php(610) : eval()'d code(97): IPS\Theme\_SandboxedTemplate->__call() #11 /home/jimiwikm/public_html/applications/cms/sources/Pages/Page.php(2269): IPS\Theme\class_cms_page_page_builder->Start_Page() #12 /home/jimiwikm/public_html/applications/cms/modules/front/pages/page.php(116): IPS\cms\Pages\_Page->output() #13 /home/jimiwikm/public_html/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view() #14 /home/jimiwikm/public_html/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage() #15 /home/jimiwikm/public_html/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute() #16 /home/jimiwikm/public_html/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute() #17 /home/jimiwikm/public_html/index.php(13): IPS\_Dispatcher->run() #18 {main}
-
I am looking for something like this:
https://community.atlassian.com/t5/user/viewprofilepage/user-id/853579?show=university -
I think text fields would work 🙂
Invision Community v5: An update, and next steps
in Invision Community Insider
Posted
I am always happy to test 🙂
Good stuff Matt, I am really looking forward to see what you have come up with for Pages 🙂