Forum Replies Created
-
AuthorPosts
-
Olivier Moreau
ParticipantThanks Steven but the lag in refresh is not coming from the browser. It’s just doing it with the custom css. Well never mind I’m not going to change that often…
Olivier Moreau
ParticipantThanks again Steven.
I added a “max-width” to leave space for the logo when there is long text in the entry :
<h1>cn-cmap .cn-entry-single .cn-left {float: left; max-width: 70%; width: auto; } #cn-cmap .cn-entry-single .cn-right {text-align: right; }</h1>
I know I could loose that code when I make an update but I got a local copy and I prefer to not create one more directory for your plugin because there are already a lot. Plus, I update via FTP and I’m not going to replace a file in the destination if it is not in the source…
I have one last question if you don’t mind. Why a change in the custom css file doesn’t show up immediately? I use no cache plugin.
-
This reply was modified 11 years, 9 months ago by
Olivier Moreau.
Olivier Moreau
ParticipantWell there is a little problem with the template when showing one organization.
The logo is now in the left and the text in the right…
For many entries in my directory the problem doesn’t show up because I use the field organization-unit to display some long text and that correct the problem.
This display is fine : http://rivelo.fr/annuaire/aem/name/madininair/
This display is bad looking : http://rivelo.fr/annuaire/aem/name/rivelo/I added extra CSS to my cmap-custom.css but it’s not creating this problem.
<h1>cn-list span.org {</h1>
font-size: 120%;}
<h1>cn-list span.organization-unit {</h1>
color: green; font-weight: bold; padding-bottom: 10px;}
Olivier Moreau
ParticipantWonderful ! It’s just what I wanted. Maybe you could but that in a option in the shortcode because other users could like it…
Thanks a lot.-
This reply was modified 11 years, 9 months ago by
Olivier Moreau.
Olivier Moreau
ParticipantI found the template in the sample directory. Cool the new fields to import.
Olivier Moreau
ParticipantOK I see, I just took the wrong fields : Last_Names instead of Contact_Last_Names.
Good because I realize I have to redo the all import because the category fiel is not OK…I cannot find the spreadsheet used as a model for import. I got one from 2013 but it’s probably not complete. There is no column “entry-type” for instance.
Thanks in advance
Olivier Moreau
ParticipantHi Steven
Thanks for your lengthy reply.
I didn’t realize I was not up to date :(
I’m setting up a database for environmental associations.
We are talking about organizations, not individuals. Yet the main contact in the association is very useful.
Well I’ll put these names in some other fields if there’s no other way.Olivier Moreau
ParticipantI took a look at the code (that’s the nice thing with open source) and it seems the selection is done by :
Connexion\Plugins\connections-csv\submenu\csv.php
I modified line 253 and all records imported as Organizations :)
BUT unfortunately I lost all the last names :(Please help…
Olivier Moreau
Participant“you might have also had the fields for First Name and Last Name set and mapped, yes? This would force the entry type back to individual because an organization entry can not have a first and last name.”
Why not?
“I’m guessing you imported a CSV file with a Entry Type column set to organization”
If you want to force importing Organization that would override the automatic selection based on “Last Name”. I just tested it and it’s unfortunately not working. I’m going to click 200 times to change records one by one before importing :-(
The best would be to have a relational database with 1 Org. to n Ind.
-
This reply was modified 11 years, 9 months ago by
Olivier Moreau.
Olivier Moreau
ParticipantThis reply has been marked as private. -
This reply was modified 11 years, 9 months ago by
-
AuthorPosts
