Extra Form
PHP PHP 7.2
CMS Rhymix 2.0

lotterylotto.admin.controller.phps

 

이 파일은 로또 모듈입니다 

캡처.PNG

 

이미지를 불러 오지를 못하는데요 ㅠㅠ

 

// 로또복권 설정  이곳에서

        $p_imgfile = 'point.gif';
        $c_imgfile = 'cash.png';    //화폐이미지 설정

 

아래에 쏘스는 이렇게 하면 되는건가? 하고 해봤는데 안됩니다...
$module_config->money_type == 'point' ? $module_config->money_img = '<img src="/xe/modules/lotterylotto/img/point.gif" class="lottery_money_img" />' : $module_config->money_img = '<img src="/xe/modules/lotterylotto/img/point.gif" class="lottery_money_img" />';

 

아래꺼는 순정상태이고
        //$module_config->money_type == 'point' ? $module_config->money_img = '<img src="' . $this->module_path . 'img/' . $p_imgfile . '" class="lottery_money_img" />' : $module_config->money_img = '<img src="' . $this->module_path . 'img/' . $c_imgfile . '" class="lottery_money_img" />';

 

 

 

여기가 잘못이 아니라면 어디를 봐야하나요?

로또복권폴더 전체를 압축해서 올려볼까요?

  • ?
    https://xetown.com/questions/585558
    8번 정독 부탁드려요
  • ? ?

    URL http://bsplus.net/xe/lotterylotto

    주소 남겼는데요...ㅠ 위에 보면 있는데요

  • ? ?
    앗 죄송합니다ㅜ
    제가 잘못봤네요..
  • ?

    제목 없음.png

     

    이미지가 폴더 주소로 되어 나오나봅니다...

  • ?

    {$module_config->money_img}  이런건 어디에 지정되어 있나요? 이거를

     

    맞춰줘야 이미지가 불러 올수 있는거 같은데요

  • ?
    http://bsplus.net/xe/modules/lotterylotto/img/point.gif

    이렇게 나와야 할것이

    http://bsplus.net/xe/E:/xampp/htdocs/xe/modules/lotterylotto/img/point.gif
    이렇게 나오고 있는데
    /E:/xampp/htdocs/xe/
    이 부분까지 어디서 가지고 오는지 찾으셔야할 거 같습니다.
  • ? ?

    저는 위에 사진처럼 나오는데 희안하네요 ㅠㅠ

    a캡처.PNG.jpg

     

     

    혹시 이렇게는 안되나봐요???

  • profile
    저기에 들어갈 이미지 주소가 잘못되었거나, 이미지가 빠져서 엑박이 뜨거나 둘중 하나일것같습니다
  • profile ?

    다 했습니다..

     

    수정 경로 E:\xampp\htdocs\xe\modules\lotterylotto\skins\default

    수정 파일 index.html 

     

    수정 소스

    {$module_config->money_img} 이것을  <img src="/xe/modules/lotterylotto/img/point.gif"> 이것으로 변경....

     

    전 궁금한게 {$module_config->money_img} 이 것이 어디에 저장이 되어 있는지 궁금합니다.ㅠㅠ

    php 같은걸 몰라서 답답하네요 ㅠ

     

    bb캡처.PNG

  • ? profile

    도움이 될까해서 적어봅니다

    해당모듈이 깃허브에 올려져있는데요(https://github.com/bjrambo/lotterylotto)

     

    스크린샷 2022-10-10 오후 7.26.05.png.jpg

    좌측상단 검색창에 원하는 단어를 검색하면, 모든파일을 대상으로 검색어가 포함된 파일을 찾아줍니다.

     

     

     

    스크린샷 2022-10-10 오후 7.28.57.png검색결과를 보면 55번 라인을 보시면 될것같습니다