Forum Activity for @tig

TiG
@tig
10/17/17 01:06:51PM
184 posts

Atypical Site Builder Widget


Jamroom Developers

@paul - looks like the limit is not applied until after the db query. Seems to me that means every record in the data store that matches the search criteria will be returned before the limit-imposed slicing (and other functionality). I do not see how I can override this using a listener. If I am reading this correctly I will have to go another route. In my case I only want to return about 15 items (the most recently updated 15 items) so this would be a very long route to get there given the number of discussions and blogs in the data store. Let me know if I am reading this incorrectly. Thanks.
TiG
@tig
10/17/17 11:30:07AM
184 posts

Atypical Site Builder Widget


Jamroom Developers

@paul - Found the problem; it was the single quotes around the string 'cat'.
TiG
@tig
10/17/17 11:04:09AM
184 posts

Atypical Site Builder Widget


Jamroom Developers

@paul - I would like to see jrSeamless work for this application since the module seems to be built for exactly this situation. So naturally I am trying this first. The basics are working, but I cannot seem to get search to work for me.

Here is my initiating code (incomplete, just focused on discussion_type for the moment):

{jrSeamless_list modules="jrBlog,jrDiscussion" order_by="_updated desc" limit="15" 
search="discussion_type != 'cat'" 
template="columnists_item_list.tpl"} 

For performance reasons, I would like to exclude all cat discussion_types rather than skip them in the presentation template. However, the search above does not seem to work. The discussion_type cat items are included in the items list.

Also, is there any way to introduce an OR into the search? The documentation seems to indicate using comma-separated conditions in the order of the modules. That does not seem to work but I suspect it is because I am using an improper search syntax.

I will keep poking around, but I wanted to get my question enqueued in the meantime. Thanks.
updated by @tig: 10/17/17 11:04:58AM
TiG
@tig
10/17/17 10:50:09AM
184 posts

Atypical Site Builder Widget


Jamroom Developers

@michael - Thanks, that is a tip that will no doubt come in handy down the road (if not immediately) since it offers full flexibility.
TiG
@tig
10/16/17 11:28:44AM
184 posts

Atypical Site Builder Widget


Jamroom Developers

Looking to build a Site Builder template widget for the home page that will provide a unique list of authors with a few of their most recent blogs or discussions listed below them. No concerns with the presentation or algorithmic logic. The question is more how to approach the problem.

This widget requires blending data from jrDiscussion_item_key, jrBlog_item_key and jrProfile_item_key. So this takes jrCore_list out of the equation (or so it would appear). If we had one table I would simply insert a template widget with:

jrCore_list module="jr..." search1= ... , template="mytemplate.tpl"

What is a sensible (recommended) way to initiate a Site Builder template widget that must combine several tables and then feed a custom template?
updated by @tig: 01/16/18 05:16:38PM
TiG
@tig
10/03/17 10:30:32PM
184 posts

Odd Problems


Jamroom Developers

@michael

Thanks, but clearing the queue addressed this and all other issues. Very odd though that a clogged queue would manifest as sporadic commit failures and inconsistent data returns. But I suppose if modules are randomly unable to engage we will see data appear in some cases and not in others.

Regardless, thanks for the advice but Brian fixed our environmental problems.
updated by @tig: 10/03/17 10:48:32PM
TiG
@tig
10/03/17 08:59:31AM
184 posts

Odd Problems


Jamroom Developers

@paul - Rest assured that we will go to the Queue Viewer if we start seeing anything unusual. :) Thanks.
TiG
@tig
10/03/17 08:31:14AM
184 posts

Odd Problems


Jamroom Developers

@paul - The immediate issues (quite a few) were all resolved by Brian by clearing the queue which was apparently unusually clogged. How that happened is currently a mystery (and of course a concern). What we would like, if possible, is guidance on how to determine if our queue is in or approaching an abnormal state.

Currently the site is running well and to my knowledge (I will ask Perrie to weigh in) there is nothing unusual to review.

Thanks for checking in on this.
TiG
@tig
10/01/17 10:30:09PM
184 posts

Odd Problems


Jamroom Developers

@brian

Thanks so much from Perrie and gang for taking the time on probably one of your busiest days to give us a much needed dose of your expertise. Appreciated beyond words.
TiG
@tig
10/01/17 07:14:00PM
184 posts

Odd Problems


Jamroom Developers

@brian - I understand. Here is the deal. Perrie's site is experiencing all sorts of strange problems. In addition to comments not being posted, etc. she cannot run her integrity checks. Having spent the day trying to find anything in the code (especially our code) that could explain this we are left with the fact that this all started after I created the beta site.

So, with that in mind, we are planning on deleting the Beta site and then running every integrity check available to us

Is this a sensible course of action?

We will try to engage Michael to give us guidance. Right now we do not want to do anything without at least an expert weigh in.
  14