You are here

index_urlchannellogo.modify {replace(NULL)...

3 posts / 0 new
Last post
dariofol
Offline
Donator
Joined: 5 years
Last seen: 10 months
index_urlchannellogo.modify {replace(NULL)...

hello, i would mod a ini file to change only some logo channel for a group of channel...
i try this line but dont works:

index_urlchannellogo.modify {replace(NULL)|https://***otherurl.org/mlbextrainnings.png|https://*****altervista.org/LOGO/MLBEXTRA.png}

what mistake I make
thanks

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 51 min

did you check manual for what null means>?


null
: the operation will only be performed if the element is empty
(in the case of addstart and addend commands)

notnull
: the operation will only be performed if the element is not empty in the case of addstart and addend commands : the operation will not be performed if the element will become empty during/through the operation in the case of replace and remove commands

based on that the null argument should do nothing in your case but remove it anyway.
you don't need a argument because the replace will only be performed if the specific url is present,if the element is empty or anything else the replace is not peformed.

dariofol
Offline
Donator
Joined: 5 years
Last seen: 10 months

i remember to try without argument but i remember not a good results... maybe i made some other error...
i try now and works fine.
thanks for support!!

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl