Jump to content

JeevanisM

Members
  • Posts

    223
  • Joined

  • Last visited

Posts posted by JeevanisM

  1. Hello there,

    I been using Gnu/Linux as my primary OS and only OS I use in my Work/Personal Laptop ( before that I used to have dual boot with Windows, the last version of MS OS I have used was Windows XP ). I been totally satisfied with the performance  of Linux and everything I needed was there. For the development, I use the Geany editor ( now I am using Atom ), GIMP for some few image editing, XAMPP for the STACK.  Right now I am on Manjaro Box with Kubuntu as the second OS. 

    linuxbox.thumb.jpg.39bab6ce27accb55218fdba192737828.jpg

     

     

     

     

     

     

     

     

     

    How many others here use GNU/Linux as the primary OS setup ? 

     

    • Thanks 1
  2. On 8/14/2019 at 8:00 PM, elabx said:

    For what I understand you don't really need a plugin even though one could do it, from the last time I implemented something like this it's just javascript placed on the header/footer and placing the right HTML element. 

    Can you please share the code you have used to achieve this ? 

  3. On 8/12/2019 at 5:55 PM, wbmnfktr said:

    Had two calls last week from people who wanted to know if I can help re-animate their dead sites. They had issues with plugins during an update in their WP sites which locked them in a maintenance mode or something. Still weird but at least it was kind of easy to fix. So this seems to be a real issue in some circumstances.

    But back to the topic...

    As @szabesz and @elabx already mentioned... the workflow can quite easily be implemented. Maybe you just setup a small site and test the user and publishing workflow. In terms of upgrade issues and performance ProcessWire is way ahead and the better choice - in everything else as well.

    I am leaning to Processwire only but can you tell me whether there is a good way of Facebook comment system implementation on Processwire ?

    21 hours ago, Zeka said:

    Definitely, I would recommend PW.

    In my case, the client didn't like the tree structure of pages, so I had to create separate Process modules for managing news, tags, banners, categories. I have found that it's much easier to control permissions and workflow via custom modules.

    chrome_RXeVFNQZPO.png

    Nice to know that you have such a good experience with PW. But did you ever use a Facebook Comment system on Processwire ?

  4. On 8/12/2019 at 5:44 PM, elabx said:

    The validation/publishing is easily setup with users that can create and edit, but not publish permissions. 

    About Jetpack, that I don't know, maybe just Google Analytics?

    I'd use AdminOnSteroids adjustments for CKEditor. 

    I have a magazine project with some friends running around a 1,000 articles for a couple years, 30k visits a months or more, and the only maintenance I give is new features, in a Wordpress site you'd have to be updating everything like every couple weeks or less and praying nothing dies (maybe it's an exaggeration by this point? but has happened to me when I still used WP for a couple project. ) 

    thank you for  sharing your experience. I too had a similar situation about another project done in wordpress, it came to me after the original creator stopped support to the client. Btw, Is there any good facebook comment plugin system in Processwire ?

  5. On 8/12/2019 at 5:06 PM, szabesz said:

    Hello,

    It all depends on your experience, but naturally I would recommend ProcessWire ? If you pick PW, ProDrafts is worth considering: https://processwire.com/store/pro-drafts/

    Quote: "With ProDrafts installed, such users can now edit a draft of the published page, even if they can't publish the draft. This provides some very useful workflow potential for sites having multiple editors and access levels."

    There are some (one or two, perhaps?) basic free modules for basic analytics, and they can be used as the bases of further development, or you can integrate Matomo with PW, for example.

    Until you get more answers to this question, you might want to browse these sources:

    Hope this helps.

    thank you for your suggestions

    • Like 1
  6. Hello All,

    I have a new project in hand, which is a new magazine news website. I am just giving a thought about to choose whether wordpress or processwire to build this website. This website will have many editors ( multiple users ) and each of them need a login and they can post the articles. Once the article posted, the main editor should check and validate and confirm for the publishing. Another feature I would want is some thing similar Jetpack in Wordpress, the analytics of website articles ( most read, visitors from which country etc ) . I know wordpress has so many plugins for all these, but I am always a bit hesitant about the Wordpress Plugin system because of their non-linear update cycle.

     

    So any one of you have done a professional news magazine website in ProcessWire yet ? What are the features / concepts for a news website project in Processwire ?

    expecting your replies.

     

    thank you

     

     

  7. On 8/6/2019 at 2:28 PM, Tom. said:

    Hi Jeevanish,

    For the most point some of these are just buzz words.

    Headless CMS is basically the CMS exists away from the website and talks via an API such as JSON / XML / GraphQL (This allows you to use the data anywhere on the web or an internet connected drive, lets say for an APP)

    Hybrid CMS is something that seems relatively new, and it seems to be that Headless CMS doesn't have great editor functionality, hybrid seems to be a buzz word around it's a great easy to use CMS with Headless functionality, I guess if you installed GraphQL to ProcessWire it would be considered hybrid.

    Digital Experience Platform seems to be a platform that all talks to each other using different mediums. Lets say you have a train station, that system lets you book a ticket, that then updates a message board letting them know how many tickets are left, which updates their website and also sends to the ticket attendents which shows that the ticket is for that train. This is just an example. This system can be accomplished with Headless or Hybrid.

    thank you very much @Tom. for your insightful reply. Now I understand it better

  8. Hello All,

    Recently I have read a series of articles about some new terms like Headless CMS, Hybrid CMS and Digital Experience Platforms ( DXP). I cannot get a clear picture of these but I could understand that these are different from the traditional CMS as we use now, at least in theoretical level. Does any one here have any better understanding on these topics ? may be what / how we can apply these on the processwire CMS ?

     

    just for the talk

     

  9. Hello,

    Please help me on the below issue. I am creating a school text book website, simply displaying the PDF files of books to download by the visitor. Here I have created a new single page for a chapter and added a PDF file to that page from Admin Dashboard. But in the front I am not able to get the File Download url link to that PDF using API / Page references. Steps I followed as below :

    1. created a new fields item as PDFFILE

    2. added this filed into the  Page template for Book

    3. uploaded the PDF file to that page in Admin page edit

    4. Saved and tried to use the API reference to get the full URL to the PDF file.

     

    I used this  below api to get the download PDF url but this code is not working.  when I load the page in browser, it keeps loading and loading and on.....

    $string = $pagefile->httpUrl();

     

    Is there any other options available ? I simply a need a download PDF button to the attached PDF to that page itself


    thank you

    Jeevan S

     

  10. On 5/24/2016 at 2:33 PM, psycho666 said:

    Anyone else looking for a solution for bootstrap navigation?

    I have found this wiki but it´s not working:

    http://wiki.processwire.com/index.php/Bootstrap_Navbar#The_Navbar

    Here is my modified solution, I hope there are no bug´s.

    The Navbar

    
    <nav class="navbar navbar-default">
          <div class="container-fluid">
            <div class="navbar-header">
               <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
             <span class="sr-only">Navigation ein-/ausblenden</span>
             <span class="icon-bar"></span>
             <span class="icon-bar"></span>
             <span class="icon-bar"></span>
           </button>
           <a class="navbar-brand" href="#"><img src="#" alt="Logo"></a>
         </div>
              <div lass="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
    <?php include("topnav.inc"); ?>
              </div><!--/.nav-collapse -->
            </div>
        </nav><!-- /navbar -->

    The Menu

    content of ('topnav.inc')

    
    <?php
    
    /*
    
    Navigation for ProcessWire using the Bootstrap 3.5 markup
    
    This menu was written by Soma based on work by NetCarver and a bit thrown in by Joss | modified by David Schmidt
    
    */
    
    function renderChildrenOf($pa, $output = '', $level = 0) {
        $output = '';
        $level++;
        foreach($pa as $child) {
            $atoggle = '';
            $class = '';
            if ($child->numChildren && count($child->parents) == 1) {
                $class .= 'dropdown';
                $atoggle .= ' class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" ';
            } else if($child->numChildren && $child->id != 1){
                $class .= 'dropdown-menu';
            }
            // Makes the current page and it's top level parent add an active class
            $class .= ($child === wire("page") || $child === wire("page")->rootParent) ? " active" : '';
            $class = strlen($class) ? " class='".trim($class)."'" : '';
            if ($child->numChildren && count($child->parents) >= 1) {
               $output .= "<li$class><a href='$child->url'$atoggle>$child->title<span class='caret'></span></a>";
            }
            else{$output .= "<li$class><a href='$child->url'$atoggle>$child->title</a>";}
            
    
            // If this child is itself a parent and not the root page, then render it's children in their own menu too...
            if($child->numChildren && $child->id != 1) {
                $output .= renderChildrenOf($child->children, $output, $level);
            }
            $output .= '</li>';
        }
        $outerclass = ($level == 1) ? "nav navbar-nav" : 'dropdown-menu';
        return "<ul class='$outerclass'>$output</ul>";
    }
    
    // bundle up the first level pages and prepend the root home page
    $homepage = $pages->get(1);
    $pa = $homepage->children;
    $pa = $pa->prepend($homepage);
    
    // Set the ball rolling...
    echo renderChildrenOf($pa);

    ...do something great with it.

    Regards David

    Thank you,

     

    this code works like charm....

  11. Hi All,

    I have some web application projects ( not website, but custom application lots of admin management). So is it possible to use ProcessWire as a framework ? I mean, just like Laravel ?  Since these projects are  web application, the existing PW Admin panel is not sufficient, I will have to create many options from the scratch.  I am thinking of doing such projects in Laravel but if PW can handle such tasks, then I would stick with PW. I checked out another framework called SilverStripe but it seems a lot of more closer as Laravel. Please let me know if I can use ProcessWire as a framework, if yes, pls point me to the Getting Started.


    thanks in Advance

     

  12. 22 minutes ago, JeevanisM said:

    Something similar happened to me also, my error codes as below

    
    
    Loading failed for the <script> with source “http://localhost/site/modules/MarkupPwpswpGallery/photoswipe/photoswipe.min.js”. gallery:299
    
    Loading failed for the <script> with source “http://localhost/site/modules/MarkupPwpswpGallery/photoswipe/photoswipe-ui-default.min.js”. gallery:300
    
    Loading failed for the <script> with source “http://localhost/site/modules/MarkupPwpswpGallery/pwpswp.js”.

    so the issue is with wrong url pointing to the file,  as you can see, in the UR, the projectfolder name is missing ; my foldername is ' mcp '  but its not in the provided URL. The url is generated from a file modules/MarkupPwpswpGallery/MarkupProcesswirePhotoswipe.module   The line number is 87, code is as below

      

    
        $this->moduleUrl = '/'.str_replace([$config->paths->root, $this->className.'.module'], ['', ''], $reflector->getFileName());

    I dont know  how to change  the code to pickup correct URL with project folder name. I guess, the existing code will work, if there are no subdirectories, but for me,  I have projectfolder as subdirectory.

     

    I will try to put a fix later, now this is all I can share

     

    btw, I made really quick dirty ugly fix as below ?  but the result is not as expected.

    //$this->moduleUrl = '/'.str_replace([$config->paths->root, $this->className.'.module'], ['', ''], $reflector->getFileName());
                $this->moduleUrl =  $config->urls('MarkupProcesswirePhotoswipe');  

     

  13. On 5/9/2018 at 7:42 PM, Anton said:

    Hi ! Thanks for the module. I tried to install it in a local MAMP setup. But it does not load everything...

    Any idea ?

     

    Capture d’écran 2018-05-09 à 16.08.22.png

    Something similar happened to me also, my error codes as below

    
    Loading failed for the <script> with source “http://localhost/site/modules/MarkupPwpswpGallery/photoswipe/photoswipe.min.js”. gallery:299
    
    Loading failed for the <script> with source “http://localhost/site/modules/MarkupPwpswpGallery/photoswipe/photoswipe-ui-default.min.js”. gallery:300
    
    Loading failed for the <script> with source “http://localhost/site/modules/MarkupPwpswpGallery/pwpswp.js”.

    so the issue is with wrong url pointing to the file,  as you can see, in the UR, the projectfolder name is missing ; my foldername is ' mcp '  but its not in the provided URL. The url is generated from a file modules/MarkupPwpswpGallery/MarkupProcesswirePhotoswipe.module   The line number is 87, code is as below

      

        $this->moduleUrl = '/'.str_replace([$config->paths->root, $this->className.'.module'], ['', ''], $reflector->getFileName());

    I dont know  how to change  the code to pickup correct URL with project folder name. I guess, the existing code will work, if there are no subdirectories, but for me,  I have projectfolder as subdirectory.

     

    I will try to put a fix later, now this is all I can share

     

  14. 1 hour ago, Autofahrn said:

    is there a 'not' missing? You still may use a repeater for your purpose, there is no need to output repeater's content in consecutive blocks. Never tried it, but a repeater effectively is a WireArray and should provide the method getIterator(). So in your output code you may fetch the first element whereever you like to place it, fetch the second later etc.

    If the content of the separators repeat over pages, you may also use a completely different approach and manage those separators as individual pages (with an own template) in some hidden section of your pagetree. On your "content" template you simply place a field of FieldtypePage (named Page Reference) and point to the separator to use. You still need two such fields, one for the header and one for the footer. Downside is, that the separators are managed separately.

    There are so many options, but I'd still prefer RepeaterMatrix for such purposes. And when I say "for such purposes" I don't mean to only define the separators with a RepeaterMatrix but the complete page layout (including text content, images, rows of blocks etc.. That way you are able to control layout, section order etc. from the GUI and do not need to modify PHP code for each change.

    Sounds like a workable hack... Will try and update

  15. I will explain my issue again : As you can see my HTML Design, there is a page division block  between different sections in layout.  Example - in the design here you can see a background image with text on top div bar just above Our Message. The same block is used just in the footer ( above footer log, supporr , learn more menu ) . So, in Processwire, we create fields to manage dynamic content right? Now, this division block, I want to do different text content in different places. For example, in footer, the text content would be , " hello this is footer " , an on top side, the div will have "Hi, this is not a footer". I know I can create a field for this in PW Admin, display the content, but I can only add this Field only one time in a Template right ? I mean, I am adding this in my Home Template. What to do, if I need to use same  field twice or multiple times in same Page template. Right now, I can create two fields to solve my issue , one field for top side, one field for footer side, but I just wanted to make sure that I was not doing a dumb method, if a better approach is available in PW.  Note that I  know  I can use Repeaters, but it should be in a consecutive blocks, I already implemented that in the section "Our Message" .


    this is was query, hope no more confusion

  16. Just now, Macrura said:

    No, you can't use the same field multiple times on a template...

    There are repeatable fields, like Profields Multiplier, Repeater, PageTable, or even Profields Textareas, etc, for when you need to have multiple iterations of a field on the same template...

    thanks for quick reply, yes I was reading about Repeaters but I could not figure how to use it in two different place in a same  Page Template. I understand that I can use Repeater to convert  3 static HTML  col-6 Blocks, but this is in a consecutive manner. For example ( 3 block divs, showing one image with small descr in Homepage ). But my situation is different. I need to show a content block in different places in a Page, its not in a consecutive way. Say, I have a field <Simple Quote Display > , I want to display Different Quote in different places in my home page. Right now I am creating field Quote 1, Quote 2 etc. I wanna know is there any another method to achieve this ? 

×
×
  • Create New...