Problem with contact list after upgrade 2.5 to 3.3
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 12
- Joined: Mon Oct 07, 2013 5:58 pm
Problem with contact list after upgrade 2.5 to 3.3
I'm upgrading my site from 2.5 to 3.3.6. Before upgrading my live site, I'm testing on an offline site. Everything looks ok except my contacts list and I can't understand what's the problem.
I had a list of contacts showing name. position and phone number on a single line. This was displayed in table form with cell borders and each alternate row with a different background colour. Clicking on any name displays a full page with photo etc.
After upgrade, I get a bulleted list with phone, name and position displayed on consecutive lines. Different background colour for each contact is retained however and clicking on a name works as expected.
Can anyone tell me how I can get the list back into tabular form please?
Thanks
Neil
I had a list of contacts showing name. position and phone number on a single line. This was displayed in table form with cell borders and each alternate row with a different background colour. Clicking on any name displays a full page with photo etc.
After upgrade, I get a bulleted list with phone, name and position displayed on consecutive lines. Different background colour for each contact is retained however and clicking on a name works as expected.
Can anyone tell me how I can get the list back into tabular form please?
Thanks
Neil
-
- Joomla! Apprentice
- Posts: 12
- Joined: Mon Oct 07, 2013 5:58 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
Further analysis
After comparing page source html from the pre and post joomla upgrade contact pages, I can see that an HTML table is used in the pre upgrade page whereas there's no table in the post upgrade page.
The template/style hasn't changed, so I think the difference must be in the way the Contact Module does the formatting. Problem is I can't see a way of changing either the order of the fields for each contact or of making the presentation more table-like in the Contact Module options
Any suggestions please?
Thanks
Neil
After comparing page source html from the pre and post joomla upgrade contact pages, I can see that an HTML table is used in the pre upgrade page whereas there's no table in the post upgrade page.
The template/style hasn't changed, so I think the difference must be in the way the Contact Module does the formatting. Problem is I can't see a way of changing either the order of the fields for each contact or of making the presentation more table-like in the Contact Module options
Any suggestions please?
Thanks
Neil
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Sun Oct 14, 2007 7:16 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
This looks like the same problem I have. I had a contact list in tabular form in 2.5 but migrating to 3.4.4 (using j2xml) all I get is a list of the three items on different rows for each contact:
The List Layout menu settings are all 'Use Global' and they are:
But even changing these, I can't get the contacts into a table with one contact per line:
...and this repeats for each of the contacts.Phone: <phone number>
<name> [which links to the contact form]
<position>
The List Layout menu settings are all 'Use Global' and they are:
But even changing these, I can't get the contacts into a table with one contact per line:
Any ideas?<name> <position> <phone number>
You do not have the required permissions to view the files attached to this post.
- Per Yngve Berg
- Joomla! Master
- Posts: 30940
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problem with contact list after upgrade 2.5 to 3.3
It can be your template is missing some css to style the list.
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Sun Oct 14, 2007 7:16 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
Wow, that was quick!Per Yngve Berg wrote:It can be your template is missing some css to style the list.
I'll check that - I'm using Artisteer and I would have thought it would have had the necessary styles. But if the contact list works on other sites, then it must be something to do with the template (although it worked on the 2.5 site also with an Artisteer template).
I'll let you know...
Thanks for the quick reply.
- Per Yngve Berg
- Joomla! Master
- Posts: 30940
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problem with contact list after upgrade 2.5 to 3.3
The output of 2.5 and 3.x is not the same. Try to add "?template=protostar" to the url and see if it's improve.
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Sun Oct 14, 2007 7:16 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
I didn't know you could force a different template like that! Very useful.
However, I essentially get the same thing (except the phone number is right aligned) with the contact details on separate lines.
However, I essentially get the same thing (except the phone number is right aligned) with the contact details on separate lines.
- Per Yngve Berg
- Joomla! Master
- Posts: 30940
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problem with contact list after upgrade 2.5 to 3.3
Do you have a link to the site?
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Sun Oct 14, 2007 7:16 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
The contact list on the (j3 test site) is here: http://www.friends-at-the-end.org.uk/j3 ... ntact-list
The equivalent page on the j2.5 site is here: http://www.friends-at-the-end.org.uk/co ... -list.html
The equivalent page on the j2.5 site is here: http://www.friends-at-the-end.org.uk/co ... -list.html
- Per Yngve Berg
- Joomla! Master
- Posts: 30940
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problem with contact list after upgrade 2.5 to 3.3
Put this in template.css
Code: Select all
.pull-right {
float: right;
}
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Sun Oct 14, 2007 7:16 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
I used Custom CSS module to add this CSS and that has helped - the phone number is now on the same line as the name, but the position is still on the line below. It's probably OK at that, but it might be good to make it the same as it was in j2.5.
Any further ideas? Or is this really a template issue rather than a joomla issue?
Any further ideas? Or is this really a template issue rather than a joomla issue?
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Sun Oct 14, 2007 7:16 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
I'm not an expert, but as far as I can tell, the contact list in j2.5 is formatted as a table and as a li in j3. Does that mean that it's joomla rather than the template that's making the difference?
- Per Yngve Berg
- Joomla! Master
- Posts: 30940
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problem with contact list after upgrade 2.5 to 3.3
A table is not responsive. That is why it's changed.
Try this:
Try this:
Code: Select all
.list-title {
display: inline-block;
}
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Sun Oct 14, 2007 7:16 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
Ah. That would explain it.
I tried that CSS but it didn't seem to make any difference (either with or without the previous CSS mod).
I think I'm quite happy with your previous suggestion of adding:
...so I'll stick with that.
Thanks for your help, Per.
I tried that CSS but it didn't seem to make any difference (either with or without the previous CSS mod).
I think I'm quite happy with your previous suggestion of adding:
Code: Select all
.pull-right {
float: right;
}
Thanks for your help, Per.
- Per Yngve Berg
- Joomla! Master
- Posts: 30940
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problem with contact list after upgrade 2.5 to 3.3
It will make all in one line. I have corrected the syntax. The leading dot was missing.
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Sun Oct 14, 2007 7:16 pm
Re: Problem with contact list after upgrade 2.5 to 3.3
Ah, thanks for that.