Deactivate pictures

  • Posts: 203
  • Thank you received: 0
12 years 11 months ago #40621

Hello,

how can i deactivate pictures in table view of products.

thx

andreas

Last edit: 12 years 9 months ago by CMS-Buttler.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 10 months ago #40821

You will have to edit the file "listing_table" of the view "product" via the menu Display->Views and add the code below after the first <?php tag :
$this->config->set('thumbnail',false);

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
12 years 9 months ago #45627

Thx but not i have the problem that all pictures are gone.

I want no pictures in table view of the products but there should be pictures in the modules?

Is this possible?

Thx

Andreas

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45669

Everything is possible if you code it...
Can you give more information ? Like a link to the page ?

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
12 years 9 months ago #46752

Did you get my pm?

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #46877

I got it now.

At the end of that file, you should also add the line:
$this->config->set('thumbnail',true);

so that thumbnails are reactivated after the display of the table.

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
12 years 9 months ago #47003

Does not work for me :-(

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #47101

Then I don't know.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #47102

I mean, that ought to work... If it doesn't it's probably that the modification is not done as it should.
Otherwise, there are several other ways to remove the image... You could just remove the corresponding code in that view for example...

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
12 years 9 months ago #47231

Okay which code should i remove in table view to remove the pics

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
12 years 9 months ago #47233

Okay that did it

my fault

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum