[solved] strange behaviour with all non-moz-browsers

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

[solved] strange behaviour with all non-moz-browsers

Post by unleash_it » Wed Mar 27, 2013 8:09 am

hello dear joomla-friends, :)

update and note - i will sign the thread as fixed and solved - thanks to the friendly and very su supportive kanor - he deserves a monster congratulation... :)

i have a very strange behaviour on my page

running beez 05
but getting the same error with other templates too

the site: http://www.literaturen.org

running:
book library from ordasoft.com -see the left collumn with the top-books block

it looks strange:

it has a strange issue, I'm using Safari 5 and the Booklibrary top 10 module from left
it's not correctly displayed. Take a look at this screen I've made: http://i.imgur.com/9pfOG3f.png

note; i get this error with all non-mozilla-browsers


what causes this error?
Last edited by unleash_it on Sun Mar 31, 2013 9:34 am, edited 1 time in total.
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

 
kanor
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Wed Oct 17, 2012 7:38 am

Re: strange behaviour with all non-moz-browsers

Post by kanor » Thu Mar 28, 2013 7:43 am

well thats just your content overflowing
the td is stretched because of

Code: Select all

exegetischer/psychoanalytischer/philosophischer
get some spaces in there and you should be fine
kanor

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Thu Mar 28, 2013 6:25 pm

hello dear Kanor

many many thanks for the hint. That is just overwhelming. I love it!

Well by the way: How do you think i should get in those spaces!?
i wonder.... !?

But i will try to find a way: I will try it out.

If you can give me some more hints...!? It would be great!

In Advance: Many many thanks for all you did!
Greetings
unleash :)
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

kanor
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Wed Oct 17, 2012 7:38 am

Re: strange behaviour with all non-moz-browsers

Post by kanor » Fri Mar 29, 2013 5:01 am

well the site appears to be down so could not test this code, but i think you can try to give the table a fixed layout with widths defined for the tds and word-wrap on the tds might help

Code: Select all

table-layout:fixed;
word-wrap:break-word;
wrt inserting the spaces, m not sure where the module gets it data from, if its just the titles of some articles or products i guess you can manually edit them from the backend and add the spaces
kanor

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Fri Mar 29, 2013 11:04 am

hello dear kanor

good day - happy to hear from you!!

kanor wrote:well the site appears to be down so could not test this code, but i think you can try to give the table a fixed layout with widths defined for the tds and word-wrap on the tds might help

Code: Select all

table-layout:fixed;
word-wrap:break-word;
wrt inserting the spaces, m not sure where the module gets it data from, if its just the titles of some articles or products i guess you can manually edit them from the backend and add the spaces
i managed to bring back the site again. Well we can do a test with FireBug - what do you think!?


look forward - many many greetings
unleash_it :)
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

kanor
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Wed Oct 17, 2012 7:38 am

Re: strange behaviour with all non-moz-browsers

Post by kanor » Fri Mar 29, 2013 11:19 am

hey :)
i tried the code and it seems to be working on my chrome
did u get a chance to try it?
kanor

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Fri Mar 29, 2013 12:17 pm

hi dear kanor

great to hear from you.

no not yet

struggle with the FireBug here

how am i able to appy this fix!?

a. with FireFox
b. within the Book-Library-extension ( in the configurations)

or within the template code?
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

kanor
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Wed Oct 17, 2012 7:38 am

Re: strange behaviour with all non-moz-browsers

Post by kanor » Sat Mar 30, 2013 10:51 am

hey there, i see that the table uses the common moduletable class and having no idea is its possible to apply a suffix from the backend to this module, i think we may have to use html override for this

if you are able to give the inner table a class, lets say books-list, then you can add this css

Code: Select all

table.books-list {table-layout:fixed}
table.books-list td {width:80%; word-wrap:break-word}
table.books-list td + td {width:20%}
you may have to modify the code depends on the browsers you are looking to support
kanor

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Sat Mar 30, 2013 11:05 am

hello dear kanor

many many thanks.
well if i got you right i have to apply this code to the css-file-

to a certain css-file!?

Again many many thanks i will try to do it and come back and report all the findings

greetings
Last edited by unleash_it on Sat Mar 30, 2013 11:18 am, edited 1 time in total.
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

kanor
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Wed Oct 17, 2012 7:38 am

Re: strange behaviour with all non-moz-browsers

Post by kanor » Sat Mar 30, 2013 11:12 am

yes you can add that to beez5.css [or any of the included css files]
but before that you will need to modify the template of the Booklibrary top 10 module and give the table a class of "books-list"
kanor

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Sat Mar 30, 2013 11:34 am

hello dear kanor

many many thanks for the reply - i currently prepare a file that can replace the beez05 css-file.
But i d o not know how to do the corrections / settings / fixes in the admin-area of the book-library.

i have sent you a pm with some more details...

if you can give a helping hand i would be glad.

in the meantime i prepare the file - and will get ready to upload it - if you give the okay.

greetings
unleash
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Sat Mar 30, 2013 5:20 pm

hello dear kanor

ahhhh - now i see the option for uploading the files. i tried out to send you the
files that you want.... but the joomla-mail-system does not allow tar nor zip-files,

so i tried another solution see below

i created two versions tar.gz and zip - choose one of the following

the Download-Links


http://netload.in/dateifyz6lJyrQJ/mod_b ... tar.gz.htm

http://netload.in/dateivDKyo0vr9n/mod_b ... 10.zip.htm

i reallly look forward to hear from you

many many greetings
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

kanor
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Wed Oct 17, 2012 7:38 am

Re: strange behaviour with all non-moz-browsers

Post by kanor » Sat Mar 30, 2013 5:42 pm

have provided a modified php file, kindly replace the one in mod_booklibrary_top10 with the new one, remember to backup the original file

next thing is to add the css
kanor

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Sat Mar 30, 2013 6:02 pm

hello dear kanor -

many many thanks for the support -
i am downtown in a internet-cafe - and do not have access to the server via ftp,
but later the evening i will have access again - then i will replace the files of the book-library-top-ten

i will notify you when i am done with it.

meanwhile many many greetings
unleash it
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Sun Mar 31, 2013 1:32 am

Hello dear Kanor, good evening ;)

first of all - many thanks for all you did!

i took the file from here:

http://netload.in/dateiVh2zqJMnD7/mod_b ... di.zip.htm


i uploaded it to the site http://www.literaturen.org

see what / which file i have put there - see the code

http://pastebin.de/33596

relsults: with the mozilla it looks good. with konquerer it looks as damaged as before

the next steps:
well after that i did the following instructions.

at the bottom of beez5.css add the following code and upload it onto the server

Code: Select all

table.books-t10 {table-layout:fixed;}
table.books-t10 td {word-wrap:break-word;}
relsults: with the mozilla it looks good. with konquerer it looks as damaged as before

to make sure that i did what you adviced - i pasted the last few lines of the beez5.css - file here

http://pastebin.de/33597


dear kanor -what can we do now-. i am pretty sure that we are able to fix the things...


i look forward to hear from you

greetings

unleash_it ;)
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

kanor
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Wed Oct 17, 2012 7:38 am

Re: strange behaviour with all non-moz-browsers

Post by kanor » Sun Mar 31, 2013 4:24 am

m srry but there was a mistake made by me in the file i sent
kindly make this change

Code: Select all

mod_booklibrary_top10.php - line 51

<table cellpadding="0" cellspacing="0" class="moduletable" width="100%" class="books-t10">

to

<table cellpadding="0" cellspacing="0" class="moduletable books-t10" width="100%">
kanor

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: strange behaviour with all non-moz-browsers

Post by unleash_it » Sun Mar 31, 2013 9:32 am

Hello dear kanor - you guy rock!!!! :)

update and note - i will sign the thread as fixed and solved - thanks to you dear kanor - you
deserve a monster congratulation... :)


you found the bug - and had an excellent idea to work around:

id did the replacde in the file mod_booklibrary_top10.php - line 51

from

Code: Select all

<table cellpadding="0" cellspacing="0" class="moduletable" width="100%" class="books-t10">
to

Code: Select all

<table cellpadding="0" cellspacing="0" class="moduletable books-t10" width="100%">
and now it works like a charme - i testet it with the browsers

-mozilla
-konquerer

[by the way - perhaps some can test it with microsoft explorer or safari!?

and it runs very very good - no bugs and no nasty views in the view of the side collumn with the display of the top10 books.


many many thanks - have a great day.

best regards ;)
greetings
unleash_it



ps: your fix - this made the trick!!!
note - i will sign the thread as fixed and solved - thanks to you dear kanor - you
deserve a monster congratulation... :)
kanor wrote:m srry but there was a mistake made by me in the file i sent
kindly make this change

Code: Select all

mod_booklibrary_top10.php - line 51

<table cellpadding="0" cellspacing="0" class="moduletable" width="100%" class="books-t10">

to

<table cellpadding="0" cellspacing="0" class="moduletable books-t10" width="100%">
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions

kanor
Joomla! Guru
Joomla! Guru
Posts: 600
Joined: Wed Oct 17, 2012 7:38 am

Re: [solved] strange behaviour with all non-moz-browsers

Post by kanor » Mon Apr 01, 2013 10:45 am

glad to help :)
kanor

 

Locked

Return to “Templates for Joomla! 2.5”