Jump to content

kuba2

Members
  • Posts

    109
  • Joined

  • Last visited

Everything posted by kuba2

  1. Hi I deleted the Navigation and the sidebars, beacause I don't need them. Example: http://jakubdegler.ch/user3/nojs/ BUT! The paginantion on the bottom does not work, and it also didn't before I deleted the other objects. Is the pagination-code in blog-main.inc? Thanks a lot kuba FOUND SOMETHING: The Pagination doesn't work anymore, when I integrate the code below in my template.... In the Blog Demo it works fine. What am I missing? Thanks I included this Blog-Markup on my ownTemplate: <?php /** * Blog Home template * Demo template file populated with MarkupBlog output and additional custom code for the Blog Home Page * */ //CALL THE MODULE - MarkupBlog $blog = $modules->get("MarkupBlog"); //subnav //we expect only one such page. we do it this way in this demo to accomodate different blog styles $categories = $pages->get('template=blog-categories'); $subNav = $blog->renderNav($categories->title, $categories->children); //main content //number of posts to show on Blog Home Page (pagination kicks in if more posts than limit) $settings = $pages->get('template=blog-settings');//we get this from the settings page. In your own install you can use a more specific selector $limit = $settings->blog_quantity; $content = ''; //Render limited number of posts on Blog Home Page $content .= $blog->renderPosts("limit=$limit"); //include the main/common markup require_once("blog-main.inc"); ?>
  2. Hi I tried, but can't completely delete it. I figured out the problem I had, so there is no need anymore for it. All it takes is a lot of concentration and staring at the the screen until a solution pops up. Thanks for the blog module Kongondo!
  3. .
  4. I can I try there, thanks. https://processwire.com/talk/topic/7403-module-blog/page-27#entry106717 Great! Thanks for the link! This forum is super!
  5. Hi there My question is a very basic one. I am new to processwire and PHP, so there are big gaps in my understanding of the bigger picture, therefore my question is very elementery. I thougt I knew how to implement this, but I got confused and now I could use some guidance. I managed to create my first website using processwire. It is a website for a musician and he had his previous one on wordpress, which included a blog. Now I want to install processblog and integrate it into my website. MAIN QUESTION: How do I integrate the blog into an existing template file of this website? The blog has to be here: http://olikehrli.ch/nojs/ (the posts are made manually in a textarea field for the moment) Do I use the default style of the blog and then change the CSS according to my design? Does anybody know a tutorial about the required PHP? I am not yet skilled enough to be sure. I can't wrap my head around the problem, don't even know which the right questions are. I would be glad for any suggestions Thanks a lot Jakob
  6. Hello there I have a quick follow up question. With PW everything is totally new for me, so I apologize for the stupid questions in advance. Do I import the xml file into the Blog Module from PW? I am wondering what I have to prepare in advance before importing. I guess there are a lot of obvious things in PW, but not yet for me. Thanks a lot kuba
  7. Hi I am a complete beginner with PW. Can anybody give me a hint how to transfer a 10 pages ( around 50 entries ) long worpress blog to a processwire blog. Is it at all possible, so that the dates and everything else will match. Thanks for all suggestions kuba
×
×
  • Create New...