peterpp
Members-
Posts
67 -
Joined
-
Last visited
Everything posted by peterpp
-
Any solution to this? Regards Peterpp
-
No error and warning on console... Regards Peterpp
-
Hi, I have installed ckeditor addon "LayoutManager". I can view that it is installed properly and enabled in Field's Plugins list. But on page when that field is appears blank. I can't view ckeditor. I am using processwire 2.5.3 version and 1.2.8 ckeditor version. Also, i have installed all dependent add ons. Also i have tested some other addons, they are working perfectly. Plz Help Me. Regards Peter
-
Thanx for reply...
-
Hi, Can i make repeater inside repeater? If yes, how to call it? Plz help. Regards Peterpp
-
Hi, Is there a way to place url for an image? I am uploading images through image field, i want to place some external as well as internal url for image. Second, when i insert image throught image field, i found two rows table like structure named Descritpion. What is purpose of that second row? I am able to call description entered in 1st row. Regards Peterpp
-
DownloadGuard - Module for restricted access on downloads
peterpp replied to backes's topic in Modules/Plugins
Hi Martin, Ok...With my config its not working. I will try on your configuration.. Regards, Peterpp -
DownloadGuard - Module for restricted access on downloads
peterpp replied to backes's topic in Modules/Plugins
Hi Martin, Below are my system details: Apache/2.4.7 (Ubuntu) PHP Version 5.5.9-1ubuntu4 processwire 2.5.3 folder rights i set to 777. I dont think folder issue is their. Because all other pages/attachments are doing well. When i try to save a page under Downloads page, i am getting "session: Could not create .htaccess for at the needed location." error. when i am trying to upload a pdf to this page, i am getting "Session: Could not create .htaccess for filename.pdf at the needed location." error. Regards, Peterpp -
DownloadGuard - Module for restricted access on downloads
peterpp replied to backes's topic in Modules/Plugins
Hi Martin, Below are my system details: Apache/2.4.7 (Ubuntu) PHP Version 5.5.9-1ubuntu4 processwire 2.5.3 folder rights i set to 777. I dont think folder issue is their. Because all other pages/attachments are doing well. When i try to save a page under Downloads page, i am getting "session: Could not create .htaccess for at the needed location." error. when i am trying to upload a pdf to this page, i am getting "Session: Could not create .htaccess for filename.pdf at the needed location." error. Regards, Peterpp -
DownloadGuard - Module for restricted access on downloads
peterpp replied to backes's topic in Modules/Plugins
Hi Martin, Other uploads are working fine. assets folder is writable. Regards, Peterpp -
DownloadGuard - Module for restricted access on downloads
peterpp replied to backes's topic in Modules/Plugins
Hi, I am getting error while uploading a pdf. I tried with several pdfs. Session: Could not create .htaccess for quick_start_guide_for_woocommerce_with_wootax.pdf at the needed location. Downloads page is created . When creating child page i am getting error Session: Could not create .htaccess for at the needed location.. Settings of module are defaults, nothing is changed. Plz help me. Regards, Peterpp -
HI Esrch, Thanx for your help. One client can have multiple categories. Regards, Pravin
-
Hi, I have a parent page named Clients. It has several child pages. I have listed all my clients under Clients. I have another page as named Categories. It also has several child pages. I have placed technologies used for clients , sectors etc. I have created a PageField for Clients child pages, so that i can select Categories child pages. I am displaying all Categories as a button or tab. When i click on any button or tab(Categories child page), i want to display all Clients child pages of that category. For example if i click Processwire tab or button, all pages that have PageField value processwire should be displayed. I am using isotope. My code is as below: page_select is a pagefield. <script type="text/javascript"> $(document).ready(function() { $('#filterOptions li a').click(function() { // fetch the class of the clicked item var ourClass = $(this).attr('class'); var category = $(ourClass).val(); console.log("'."+ourClass+"'"); // reset the active class on all the buttons $('#filterOptions li').removeClass('active'); // update the active state on our clicked button $(this).parent().addClass('active'); if(ourClass == 'all-clients-1') { // show all our items $('#ourHolder').children('div.item').show(1000); } else { // hide all elements that don't share ourClass $('#ourHolder').children('div:not(.' + ourClass + ')').hide(1000); // show all elements that do share ourClass $('#ourHolder').children('div.' + ourClass).show(1000); } return false; }); }); </script> <div class="wrapper"> <div class="row body-padding"> <?php $p=$pages->get(1151)->children("include=all"); $i=1; echo "<ul id='filterOptions'>"; foreach ($p as $k) { echo "<li><a href='#' class='all-clients-$i'>$k->title</a></li>"; $i++; } echo "</ul>"; ?> <div id="ourHolder"> <div class="row item all-clients-1"> <?php $posts = $pages->find("template=clients-detail,include=all, page_select=All"); echo "<ul>"; foreach ($posts as $k) { $image=$k->landing_page_image; echo "<a href='{$image->description}' target='_blank'> <li class='large-2 columns clients'><img src='{$image->httpUrl}' /></li></a>"; } echo "</ul>"; ?> </div> <div class="row item all-clients-2"> <?php $posts = $pages->find("template=clients-detail, include=all, page_select=Processwire"); echo "<ul>"; foreach ($posts as $k) { $image=$k->landing_page_image; echo "<a href='{$image->description}' target='_blank'> <li class='large-3 columns clients'><img src='{$image->httpUrl}' /></li></a>"; } echo "</ul>"; ?> </div> <div class="item all-clients-3"> <?php $posts = $pages->find("template=clients-detail, include=all, page_select=PHP"); echo "<ul>"; foreach ($posts as $k) { $image=$k->landing_page_image; echo "<a href='{$image->description}' target='_blank'> <li class='large-3 columns clients'><img src='{$image->httpUrl}' /></li></a>"; } echo "</ul>"; ?> </div> </div> </div> </div> It is working fine but everytime i have to write a block for each category, like above, i have to write for All, Processwire, PHP and so on.... I want it to happen using foreach loop. So that i dont have write code for each pagefield value. Plz help me.. Regards, Pravin
-
Hi all, I did it as i described in last post.. <?php $posts = $pages->find("page_select=Processwire"); echo "<ul>"; foreach ($posts as $k) { echo "<li>$k->title</li>"; } echo "</ul>"; ?> where page_select is pagefiled type. Thanx for everybody's help.. Regards, Pravin
-
Thanx for solutions. What i am thinking is i will display child pages based on field value. i.e when i click Processwire button, all child pages that have pagefiled value "Processwire". Is it possible and best way to achieve this functionality? Regards, Pravin
-
Hi, I am unable to explain detail requirement in last post. So, i am provoding structure below. Clients(This is Parent page) - Client A (This child page have tags/categories which are selected from page fields. eg. Processwire, Html, Css etc) - Client B (This child page have tags/categories which are selected from page fields. eg. Processwire, Html, Css etc) - Client C (This child page have tags/categories which are selected from page fields. eg. Processwire, Html, Css etc) --so on... (This child page have tags/categories which are selected from page fields. eg. Processwire, Html, Css etc) Tags/Categories (This is Parent Page) -- Processwire (These are the tags/categories i am selecting from page field to assign to Clients) -- Html (These are the tags/categories i am selecting from page field to assign to Clients) -- Css (These are the tags/categories i am selecting from page field to assign to Clients) -- so on (These are the tags/categories i am selecting from page field to assign to Clients) I want to display all clients on clients page bydefault and buttons for Tags/Categories. Then, when i click on any button, i want to display only that tags/categories pages. Plz help me.. Regards, Pravin
-
Thanx Peter and Jan for help. I will try this and let you know..Thanx a crore Regards, Pravin
-
Thanx a crore. Regards, Pravin
-
Hi, I want to list my projects categorywise like by which technology i used for projects. I am placing buttons for each technology. When i am clicking any button, i want to display all projects of that category. Single project can have multiple categories. I have created Category page as parent and created child pages by technology names. I have used page field to select multiple categories to a project. I am going wrong somewhere in writing code. Plz help me with code. Regards, Pravin
-
Ok..I will do it.. Regards, Pravin
-
Hi Adrian, Thanx for you help. I will explain my requirement. I want to display my clients sectorwise, technologywise, Sorting can be done on clients page using checkbox or any other option. Each client will have its individual page. Regards, Pravin
-
Hi, can i add chain of child pages using Page Field Select Creator module...like below Parent - Child A -- child A1 -- child A2 -- child A21 -- child A22 -- child A23 --child A3 - Child B --child B1 --Child B2 --Child B3 Plz help me... Regards, Pravin
-
Hi Gayan Virajith Thanx for your reply. I got the solution. I am using single image field. I am putting url in Description field and in template, i am calling it as <a href='{$image->description}' target='_blank'><img src='{$image->httpUrl}'></a>. Regards, Pravin
-
HI, I am displaying an image of each page on homepage using foreach loop in template. I want to add a url to each image. I want to place url from backend not template. How can i achieve this? Regards, Pravin
-
I solved the issue. I set Maximum Files allowed to 0 in the header_image field setting. Then i removed size from template and placed $header_image = $page->header_image->first(); Thanx for your help. This solved my problem. Regards, Pravin