1
Rickb
Webshow - Unable to remove logo
  • 2008/10/17 15:51

  • Rickb

  • Not too shy to talk

  • Posts: 118

  • Since: 2004/10/24


Can not remove the logo once it has been set. I select "----" and save, I still see the logo.

If a logo is changed, is old logo removed from the folder?

Thanks,

Rick

2
tcnet
Re: Webshow - Unable to remove logo
  • 2008/10/17 17:49

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Quote:
Can not remove the logo once it has been set. I select "----" and save, I still see the logo.

That is true. In the catalog and block views, media entries with no logo were not displaying well with those that had them. So, I made the script use the default uploads/stock/logo if no logo was entered with the media. I thought it was better than a "no thumbnail available" logo. Probably a bad decision in retrospect.

To remove the hardcoded default logo when no logo is entered you will need to modify the following php files:

index.php line 190
mediasearch.php line 218
playcat.php line 212
playposter.php line 167
singlelink.php line 210

change this:
$logourl XOOPS_URL."/".$xoopsModuleConfig['path_logo']."/stock/logo.png";

To this:
$logourl '';


Quote:
If a logo is changed, is old logo removed from the folder?


Entering a new logo will write over the old one. Setting the logo to blank will remove the logo address from the database but leave the image file behind. I will look into making the script remove the old logo when blank address is entered.
WebShow Support Forum Here

Login

Who's Online

247 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits