Jump to content

Recommended Posts

Posted

Hi @adrianlambert,

It seems to be working for me (see sample attached)...

We would probably need to see your Publisher file and associated CSV file to figure out why it's not working for you but take a look at the attached to see if the setup is any different...

2024_afpub_calendar_UK.afpub

2024_afpub_calendar_UK.csv

Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted

Hi @adrianlambert,

Change the Layer order within your Group so the Month appears below your Data Merge Layer... I had to update the CSV file in the Data Merge panel but I think that's only because it didn't automatically link the file when I opened your Publisher document so you may not need to do that...

LayerOrder.png.4e99621ed206c6a795f92a3c439a05e2.png

Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted

It works for me too on Windows.

But I would organize the calendar a little differently. I would make the numbers that do not apply to the current month gray.
There's no need for line breaks. Use top, middle, and bottom alignment.
Put frame on frame, specify a different column in Libreoffice, and you can make your calendar in different colors.

 

 

Posted

Hi @anto,

Your months are incorrect but if you move the Month in the layer stack (as mentioned above) it will be correct...

Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted
Just now, Hangman said:

Your months are incorrect but if you move the Month in the layer stack (as mentioned above) it will be correct...

yes, I have already seen it.

Posted
1 hour ago, anto said:

It works for me too on Windows.

But I would organize the calendar a little differently. I would make the numbers that do not apply to the current month gray.
There's no need for line breaks. Use top, middle, and bottom alignment.
Put frame on frame, specify a different column in Libreoffice, and you can make your calendar in different colors.

 

 

Thanks, great idea!

Posted
1 hour ago, Hangman said:

Hi @adrianlambert,

Change the Layer order within your Group so the Month appears below your Data Merge Layer... I had to update the CSV file in the Data Merge panel but I think that's only because it didn't automatically link the file when I opened your Publisher document so you may not need to do that...

LayerOrder.png.4e99621ed206c6a795f92a3c439a05e2.png

Thanks @Hangman, I'm on it now.

 

Posted
1 hour ago, anto said:

It works for me too on Windows.

But I would organize the calendar a little differently. I would make the numbers that do not apply to the current month gray.
There's no need for line breaks. Use top, middle, and bottom alignment.
Put frame on frame, specify a different column in Libreoffice, and you can make your calendar in different colors.

 

 

I'm wondering how the <Date> field would deal with the two columns? It looks to me that I'd need to manually specify a bunch of dates and set the fields to be <date_prev>, and that the number of days would vary month to month. Or is there a way that the field in AP could spot an unpopulated cell and refer to the data in another cell?

Posted
1 minute ago, adrianlambert said:

I'm wondering how the <Date> field would deal with the two columns? It looks to me that I'd need to manually specify a bunch of dates and set the fields to be <date_prev>, and that the number of days would vary month to month. Or is there a way that the field in AP could spot an unpopulated cell and refer to the data in another cell?

I used Your file to move data to another column.

Posted

Hi @adrianlambert,

It works as per @anto's screen recording... you don't need to make any special adjustments because you basically have two overlapping fields in your data merge but also empty cells in your source data depending on which column the data is coming from so it works really well...

Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted
7 minutes ago, Hangman said:

Hi @adrianlambert,

It works as per @anto's screen recording... you don't need to make any special adjustments because you basically have two overlapping fields in your data merge but also empty cells in your source data depending on which column the data is coming from so it works really well...

Yes but how does AP know how to split the text style for each column when it's all populating the same repeating field?

 

Posted
1 minute ago, adrianlambert said:

Yes but how does AP know how to split the text style for each column when it's all populating the same repeating field?

It uses different fields. One date_prev field with a gray style, and a date field with a black style.

Posted
1 minute ago, adrianlambert said:

There are 42 days in my sheet in AP. The field is set to refer to the Date column in the csv. How can it know that there is a different requirement if I split the columns up as per @anto's video?

The fields are located one after the other. Where there is no data, it leaves the field empty, and where there is data, it fills it in.

Posted

Hi @adrianlambert,

I've attached an updated version of your Publisher file using an adjusted CSV as per @anto's video so you can do the Data Merge for yourself to see how it works...

2024 calendar side by side.afpub2024-afpub-calendar_uk.csv

Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted
11 minutes ago, adrianlambert said:

BTW these are for my daughter to raise money to travel to Kenya as part of a an initiative to get children to contribute to building schools there. SO we're really grateful to you for this help.

That's fantastic, you must be very proud of your daughter and what an amazing cause... I wish her every success... You are very welcome, @anto did all the heavy lifting, I just threw in a little bit but I hope the project turns out to be extremely rewarding for all involved... 😄

Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.