WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

Du bist nicht angemeldet.

Ankündigung

#1 28.05.2017 08:11:22

gawi
Mitglied

Topics without images

Hello

I would like to use Topics Module for writing articles without images.
I red that in older versions of the module there was setting in module_settings.php (use_pictures=0), but in the latest version it is not available.
Is that possible to switch off images in Topics module?
When I create article without image, there is php notice:

Notice: Undefined variable: thumb in D:\WAMP\www\...\modules\topics\view.list.php on line 346

Gawi

Offline

#2 28.05.2017 11:49:39

grindmobil
Gast

Re: Topics without images

Cannot answer With my Smartphone in Englisch.
later. It is easy.

#3 28.05.2017 16:37:30

grindbatzn
Gast

Re: Topics without images

Back in the office..

Its not possible to switch off the pictures, but its easy not to use them.

Go to "settings"
> "overview page" ->  Field "Loop" and remove the placeholder {THUMB}
> "topic" ->  Field "Header":  remove the placeholder {PICTURE}
> "See also, previous, next":  remove the placeholder [THUMB]

If you have different Setting: please post them here.

The Topics-Picture: Simply use none or any one.

#4 28.05.2017 18:57:05

gawi
Mitglied

Re: Topics without images

Hi
I have made all changes. Result - there are still php notices - one for each topic:

Undefined variable: thumb in D:\WAMP\www\...\modules\topics\view.list.php on line 346

Do you think that I can just disregard this notice?

Offline

#5 28.05.2017 22:33:39

florian
Administrator

Re: Topics without images

You can add the line

$thumb='';

after

if (!isset($tablename))  { exit("No tables defined"); }

at the top of the view.list.php, then the notice will vanish. (But it's just a notice anyway, so nothing "really" important).

Offline

#6 29.05.2017 16:08:49

gawi
Mitglied

Re: Topics without images

Thanks a lot. It works smile

Cheers

Offline

Liked by:

florian

Fußzeile des Forums

up