Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Hero Area image not displayed

10 years 11 months ago
  • Alex's Avatar
    Topic Author
  • Alex
  • Offline
  • Fresh Boarder
  • Posts: 30
  • Thank you received: 2
Licenses:
JomSocial Active

If a user is not logged in and attempts to Create Event, the Hero Area Background image is not displayed. The src is returning "/_". See this example:

<img class="hero-area-bg" src="/">

Attachments:
10 years 11 months ago
Licenses:

Hi Alex,

this issues will be fixed at our next release.

Regards,
Albert

10 years 11 months ago
Licenses:

Hi Alex,

for temporary fixes please do this step:
components/com_community/templates/default/frontpage.guests.php put this code at line 12:

$heroImage = JURI::root().'components/com_community/templates/default/images/guest-bg.jpg';
if(file_exists(COMMUNITY_PATH_ASSETS.'hero-image.jpg')){
    $heroImage =  JURI::root().'components/com_community/assets/hero-image.jpg';
}else if(file_exists(COMMUNITY_PATH_ASSETS.'hero-image.png')){
    $heroImage =  JURI::root().'components/com_community/assets/hero-image.png';
}

components/com_community/views/frontpage/view.html.php at line 81, remove this code:
                //hero image
                $heroImage = JURI::root().'components/com_community/templates/default/images/guest-bg.jpg';
                if(file_exists(COMMUNITY_PATH_ASSETS.'hero-image.jpg')){
                    $heroImage =  JURI::root().'components/com_community/assets/hero-image.jpg';
                }else if(file_exists(COMMUNITY_PATH_ASSETS.'hero-image.png')){
                    $heroImage =  JURI::root().'components/com_community/assets/hero-image.png';
                }

at line 91, remove this code:
   ->set('heroImage', $heroImage)

Let me know the result.

Regards,
Albert

10 years 11 months ago
  • Alex's Avatar
    Topic Author
  • Alex
  • Offline
  • Fresh Boarder
  • Posts: 30
  • Thank you received: 2
Licenses:
JomSocial Active

It did not resolve the problem. I was able to upload the images as before, and the hero images disappeared after the files were uploaded to S3. A side note: the Community login page displayed the copied code instead of the hero image until the user successfully logged in. I reverted the changes to the original code.

10 years 11 months ago
Licenses:

Hi Alex,

about cover with S3 storage. I confirmed this is a valid bug.
please wait our fixes.

Regards,
Albert

10 years 10 months ago
  • Alex's Avatar
    Topic Author
  • Alex
  • Offline
  • Fresh Boarder
  • Posts: 30
  • Thank you received: 2
Licenses:
JomSocial Active

Any update on this issue?

10 years 10 months ago
Licenses:

Hi Alex,

Our developer decided will fix it in next version (Jomsocial 3.3). Because database change required.
Sorry for this inconvenience.

Regards,
Albert

10 years 9 months ago
Licenses:
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW