Friday, 22 March 2019
  7 Replies
  1.5K Visits
0
Votes
Undo
Hello everybody!

I am currently designing the new Wegpage of my Dad's company. I am new to Joomla and especially JEvents, so I ran into some trouble while working with the Lastes Events Module!

I designed to Custom Format String to my needs and everything looks as I want it to be. But when I try to add a Custom Header or Footer to the Module the Format changes. Especially the separators are not shown anymore and the bootstrap-formatting is also not loaded correctly. I documented this with some pictures.
Same thing happens when I try it with the header.

I guess it is something obvious I am missing, so I would be glad if anybody could point out to me what I do wrong.

thanks in Advance
Mares
5 years ago
·
#209766
0
Votes
Undo
Hey Mares,

That sounds like an awesome project :D

Can you try adding just a <br> for the header too please? I think if I recall correct we expect there to be a header if the footer is set and vice versa.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#209783
0
Votes
Undo
Hello Tony!

Thanks for the quick answer,
unfortunately that didn't solve the issue :(
5 years ago
·
#209793
0
Votes
Undo
If you remove the footer it reverts back is that correct? Can you then provide logins as that does seem like a bug, to the Site Details (Private) please.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#209804
0
Votes
Undo
Hey Tony!

Yes that is 100% correct, if both fields (header and footer) are empty it looks nice, once there is any content in one of them, it gets messed up.

Unfortunately I cannot provide you this information, since I am developing on XAMPP/Apache local server.
Do you think that the issue is in some sort related to the XAMPP/Apache thing?

Mares
5 years ago
·
#209819
0
Votes
Undo
I remember now, it's because it's a wrapper field not just a input field.

So in the top enter:

<div class="mylatestwrapper">

in the bottom enter:

<br> Your text here.
</div>

That should work for you.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

5 years ago
·
#209849
0
Votes
Undo
Hi Tony!

Although your solution didn't work for me, it certainly gave me the right hint, of what is going wrong. This is clearly a bug on the side of the Module.

What i figured out by comparing HTML Codes: When there is no Custom Header or Footer set, the Module formats its entries with a table. The definition of the table must be hardcoded within the module and gets overwritten once you set the header.
On the footer, the same thing happens => the closing HTML-Tags get lost.

So my solution: I copied the HTML code of the working, well formated version into the Custom Header/Footer fields and it worked.

The following code works fine (for me)

In the costum header field, type:

Add your Header-Text here <br>
<table class="mod_events_latest_table jevbootstrap" width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td class="mod_events_latest_first" style="border-color:#ccc">


and in the Footer:

</td>
</tr>
</tbody>
</table>
<br>
Add Footer-Text here


I hope that helps at least somebody!
Thanks for the help,

Mares
3 years ago
·
#222491
0
Votes
Undo
Dear Mares123, thanks for the suggestion, this helped me a lot!
I was struggling to add a custom hyperlink below the events list, whcih kept breaking the layout.
Based on your code, I got it to work correctly.
  • Page :
  • 1
There are no replies made for this post yet.