Custom Layouts Plugin

#213

Yes, did you read my post? :wink:

1 Like

(Tobias) #214

No words from my end…

FML :slight_smile: Thanks.

1 Like

#215

Hopefully my PR will fix it. Sort of glad it wasn’t just me as it confirms the issue and the fact I wasn’t going crazy :slight_smile:

2 Likes

(Angus McLeod) #216

@merefield @exetico Thanks guys, the issue should be resolved now:

https://github.com/angusmcleod/discourse-layouts/commit/76f73929868e3048ad1bb6894c72e63387a94fbd

1 Like

#217

Yep, confirming your updates work fine for my instances, thanks!

0 Likes

#218

Did you solve it?

Same here

0 Likes

(Angus McLeod) #219

@haffax7 Are you on the latest versions of the Custom Layouts and Layouts Topic List Plugins? Check /admin/upgrade

0 Likes

(Tobias) #220

Guess overflow:hidden will be a good idea, and maybe consider to remove all HTML-elements.

Example with both things present:

Handling of fx ' and other things could also be a good idea :slight_smile:

BUT, with that said:
Thanks for the fixes! :slight_smile:

1 Like

The topic list doesn't need a category column
#221

I set like this.
Is there anything I need to do in addition?
Thanks

32_4

0 Likes

(Tobias) #222

Did you enable the plugin in settings?

AND: Note that Custom Layouts only make it possible to use layout/widget-plugins, so you actually need another plugin for fx topic-list, custom html and so on.

Enter settings:
image

For the right sidebar, you need to define where it’s enabled, fx. latest or enabled it globally (2). You’ll also need to enable layouts overall. (1)

++ each layout/widget should have a position defined within the custom “Layouts”-tab in the Admin-panel.

This was a fast one… Hope it make a bit of sense :slight_smile:

4 Likes

#223

AND: Note that Custom Layouts only make it possible to use layout/widget-plugins, so you actually need another plugin for fx topic-list, custom html and so on.

Thanks :grin:

1 Like

#224

@angus, I’ve opened a PR with a tailored version of @vinothkannans fix as this plugin is also presently breaking the host site. I’ve tested it successfully on two of my sites but please review.

NB Couldn’t assign you as reviewer on Github for this plugin.

1 Like

The software powering this discussion forum encountered an unexpected problem
(c0ry) #225

Is this a fix for this plugin? Cause when I try to use it, this happens:

0 Likes

#226

No this fix prevents your entire site from breaking as the plugin was no longer compatible with the core build on tests-passed. Similar to Topic List Previews

What widgets do you have installed? The plugin only provides a framework and you need to add other ‘widgets’ for it to actually do anything. See the OP.

1 Like

(c0ry) #227

This is what I have installed. Yet, nothing shows on the plugins list.
The last one I installed was the layouts plugin (I downloaded the modules first on accident, but they still loaded and I could see the plugin list)

0 Likes

#228

If the Layouts plugin was correctly installed you’d also see a Layouts route top right in Admin.

I’d check two places:

  • /logs
  • Javascript console (F12 -> Console on Chrome)

Do you see any errors?

0 Likes

(Angus McLeod) #229

Thanks @merefield. Fix merged :+1:

2 Likes

#230

Any idea why the layouts work perfectly fine in one subcategory:

but not in another?

1 Like

#231

It’s the tags and specifically this line:

You can either reduce the number of tags or try this:

.topic-list-item .discourse-tags {
   display:  unset;
}

That will cause them to wrap, hopefully.

(NB inline-block also works but unset works even better in this case)

2 Likes

#232

Thank you so much! That works.

1 Like