Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would be nice to be able to include fonts in features and this should also be useful for creating a unified set of font tags.
Comment | File | Size | Author |
---|---|---|---|
#12 | 1080038-12_exportables-for-7.x-2.0-beta1.patch | 11.6 KB | patcon |
#9 | exportables_changes.patch | 3.86 KB | BarisW |
#9 | plugins.zip | 3.46 KB | BarisW |
Comments
Comment #1
bforchhammer CreditAttribution: bforchhammer commentedI agree, would be great if we could export font settings! *subscribing*
Comment #2
drupal_was_my_past CreditAttribution: drupal_was_my_past commentedsubscribe
Comment #3
sreynen CreditAttribution: sreynen commentedThis should happen in 7.x-2.x now.
Comment #4
BarisW CreditAttribution: BarisW commenteddoubleclick..
Comment #5
BarisW CreditAttribution: BarisW commentedWe probably have to use strings as identifiers in the database instead of serials (like Rules does). If we keep using numbers as ID's, it will be hard to keep track of fonts across multiple environments. We could use identifiers like: [provider]_[font_path]
eg: google_fonts_api_ubuntu_mono
Comment #6
sreynen CreditAttribution: sreynen commentedI was thinking the URL field could work as a UUID across environments, since that's already specific to the provider-font combination.
My vague plan without looking at this much was to use Chaos Tools exportables functionality, just because that seems to be how most modules are handling exportables.
Comment #7
BarisW CreditAttribution: BarisW commentedComment #8
sreynen CreditAttribution: sreynen commentedHey Baris,
You mentioned in IRC that the Chaos Tools exports you did don't show up in Views. If you can post the code you have for the exports, I'd like to look for a solution to that problem.
Comment #9
BarisW CreditAttribution: BarisW commentedSure! See attached files. The plugins.zip should be extracted in the fontyourface_ui folder.
Comment #10
BarisW CreditAttribution: BarisW commentedPosted a support request here as well: #1315086: How to combine Views and Ctools Exportables?
Comment #11
BarisW CreditAttribution: BarisW commentedFixed and committed to 7.x-2.x-dev.
The solution was not to use ctools (as it has some limitation, see #1315086: How to combine Views and Ctools Exportables? but to use custom feature hooks, like described in http://treehouseagency.com/blog/thomas-wysocki/2010/10/28/making-your-mo...
Comment #12
patcon CreditAttribution: patcon commentedThis is awesome guys! For anyone who needs a patch against 7.x-2.0-beta1 for a makefile, here it is :)
BarisW, you are a hero
Comment #15
davideads CreditAttribution: davideads commentedWill there be a 6.x backport of this functionality?
Comment #16
sreynen CreditAttribution: sreynen commentedWe're not doing much more than maintenance on D6 at this point. That said, I'll add this to the long list of "to be ported" issues and if someone makes a patch, I'll review it.
Comment #17
davideads CreditAttribution: davideads commentedThanks. I'm in my final week of work on this project, so I probably won't be able to roll a patch myself, but if I have a few minutes I'll give it a whack.
Comment #18
Neslee Canil Pinto