Recommendation on best way to implement Comic Easel?
Post count: 6richardmathisApril 10, 2016 at 10:40 pm #19510
hello, I am migrating a custom webcomic I programmed in ASP years ago. Through the use of your great forums, I have resolved all of my issues (thus far). I believe jmag will handle everything I need content wise except my 300 webcomics I need to migrate over.
I was thinking of implementing Comic Easel (http://comiceasel.com/faqs/installation/integration/) but I was hoping to get some advice as to whether there was anyone who had implemented something else with jmag with better success?
Otherwise, if I do implement Comic Easel, it requires me to edit themes to add <?php do_action(‘comic-area’); ?> where I want to display the comic. Could you give advice on which file to edit if I want to add a section to show the comic then modify the menu to link to this new area.
Thank you in advance!Post count: 2581JegbagusApril 11, 2016 at 1:01 am #19511
hi richardmathis, may i know where you want to add those code? i mean on what section of website.
i don’t really understand what is webcomic. so you will need to tell me detail where you want to add it so i can point out what file you will need to edit.
Thank youPost count: 6richardmathisApril 12, 2016 at 12:10 am #19543
Hello. My goal is to have a new link to a page that will run that code.
In this case, this page: http://dorksidecookies.net/dndorks/
My thought was that I’d copy and paste a template, put in the code they ask for
<?php do_action(‘comic-area’); ?>, and it’d mostly be done. I guess I’d like to make sure whatever I do, I don’t somehow block future upgrades.Post count: 2581JegbagusApril 12, 2016 at 6:55 am #19557
hi richardmathis, are you want to only add those code on 1 page? or it will show on every page?
1. if you want to add it only one page, you will need to create file named as “page-1051.php” (1051 is your page id) and put it on your jmagz themes folder.
2. and after that copy everything on file page-default.php to your newly created file.
3. and than on line 18, you can add those code.
but if you want to show it on every page, i will need to know on which section of website you want to show it. so i can point you where to add those code.
Thank youPost count: 6richardmathisApril 14, 2016 at 12:18 am #19591
What I am trying to do, is to create a new section call Dndorks located here
http://dorksidecookies.net/dndorks/ and have it display the first comic from the comic easel plugin.
Then URLs specifying an individual comic should show the comic. An example is here: http://dorksidecookies.net/comic/dndorks-the-college-years-the-invitation/
The comic shows up, but it shows up above the content because I figured out I could put this code,
<?php do_action('comic-area'); ?> <?php do_action('comic-blog-area'); ?>into the header-nosidebar.php file. I know this is incorrect, but I don’t know which file the /comic/ path is linked to.
I found an article talking about integrating the Easel plugin into a theme, http://comiceasel.com/2014/05/14/editing-a-theme-to-support-comic-easel/, but the blog article assumes an understanding of the theme files which I couldn’t figure out. I tried editing a dozen different files and the header-nosidebar.php was the first that made any change whatsoever.
I would appreciate any advice you could give me. I’d also be interested in whether you had time to implement this functionality for a service fee on my website. If so, I’d be interested in a quote.Post count: 2581JegbagusApril 15, 2016 at 12:52 am #19644
hi richardmathis, i will simplify your question. you want to add those shortcode on comic page path right?
my question is how you create comic path? by using permalink? or by using parent page? or using custom post type?
if you are using custom post type (i believe you use this one), you will need to simply do this.
create single-comic.php and put those action hook on place you need.
Thank youPost count: 6richardmathisApril 15, 2016 at 2:47 am #19651
I believe I am using custom post type, based on the example from the easel plot developer.
Wow, ok, I’m very close. I copied single-post to single-comic, and I’m 90% of the way there, The rest I’ll just have to experiment with.
I have another question, but I’ll make it a separate post that others who might try to integrate comic-easel with jmag can easily find the solution in the future. Thank you so much for your help!Post count: 2581JegbagusApril 15, 2016 at 3:29 am #19652
ah sorry, i miss step to copy single-post.
you are welcome richard.
You must be logged in to reply to this topic.