Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial and doc idea thread #59

Open
3 of 6 tasks
justintadlock opened this issue Oct 24, 2018 · 4 comments
Open
3 of 6 tasks

Tutorial and doc idea thread #59

justintadlock opened this issue Oct 24, 2018 · 4 comments
Assignees
Labels
Question Further information is requested.

Comments

@justintadlock
Copy link
Member

justintadlock commented Oct 24, 2018

Just opening this topic to keep a running list of tutorial ideas on things related to Mythic, which includes Hybrid Core and other add-ons.

  • Full tutorial on using Hybrid Breadcrumbs. (Tutorial)
  • Full tutorial on using Hybrid Carbon. (Tutorial)
  • Registering custom widgets the Mythic/OOP way. (Tutorial)
  • Cover using the build scripts in more depth.
  • Working with the Mythic\Customize\Customize class.
  • Using the hybrid-customize project.

Leave other ideas below.

@justintadlock justintadlock added the Question Further information is requested. label Oct 24, 2018
@justintadlock justintadlock self-assigned this Oct 24, 2018
@peiche
Copy link

peiche commented Oct 24, 2018

I would love a clear plan of action on incorporating SVGs. In my fork (not committed), I've added a task inside webpack.mix.js which uses SVGSpritemapPlugin to grab all the SVGs inside /resources/svg and bundle them up in a single sprite. From there, I'm using the sprite with helper functions based on Twenty Seventeen.

@justintadlock
Copy link
Member Author

@peiche - SVGs are the one area we never fully agreed on. There are multiple ways of handling them, depending on the specific circumstance. Right now, I'm not sure that I could appropriately cover a good tutorial on SVG use.


My personal favorite way of using SVGs is to change something like icon.svg to icon.svg.php (make it a PHP file). Then, include it like:

include( get_parent_theme_file_path( 'dist/svg/icon.svg.php' ) );

I'd create something like an svg() function as a wrapper for that, of course.

@JakeHenshall
Copy link

@justintadlock Hi,

Do you have any documentation that you could share on:

  • Working with the Mythic\Customize\Customize class.
  • Using the hybrid-customize project.

Thanks, Jake.

@justintadlock
Copy link
Member Author

justintadlock commented Feb 7, 2019

@JakeHenshall - The Customize class I have planned for my next Mythic tutorial. I've got the beginning of an outline right now.

There are no immediate plans on the hybrid-customize project yet. I'll add it to the above list though. Edit: Nevermind. I already have it on the list. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested.
Projects
None yet
Development

No branches or pull requests

3 participants