Jump to content

Christophe

Members
  • Posts

    646
  • Joined

  • Last visited

Everything posted by Christophe

  1. Hello, From where I am located I can't access your homepage correctly. Be it in Firefox, Chromium, or Opera (GNU/Linux versions), the homepage takes a bit of time to load and when it does it appears without the css rules applied to the website. At least one time, I've had a blank page. But if I go to the contact page, for instance, it is complete. Perhaps because of netdna.bootstrapcdn.com... > This must be for Font Awesome... * The homepage loads fine now. * In firefox, on the contact page for example, but not only, the right side of the left vertical menu goes below the image and above the main content area. On the Sites (portfolio) page, the url is http://test.pixlbendr.com/ Have a nice week!
  2. Hello, I know almost nothing about php. I've looked a bit a the API docs and tried to find answers in the forum these last hours. I've seen different styles, one of them being for example the use of <? foreach(...): ?>...<? endforeach; ?>. It's the first time I want to do something like this with Processwire. Let's say I have a horizontal menu, and one of it's first-level links is something like Projects. At first the sub-sub links/pages where directly under Projects, but then I created 3 "categories" (level 2), and so each sub-sub page (level 3) is under one of these categories The categories and sub-sub pages are "Hidden". The Projects page uses a template file that has a name like projects.php (so the code needs to be inserted here normally). The sub-sub pages use a template file named for exemple projects_childen.php (or it could be projects_grandchilden.php). For the pages that use projects_childen.php as a template file, there are several fields including images (Image type) and external_url (URL type). So I want something like a porfolio list/gallery using for example the headline, the images and the external_url fields. Later on I will perhaps link the image to the url of the corresponding page for each image, and/or try other variations. But for the moment I'd like to have for example the headine (before or after the image), then the thumbnail image inside a link pointing to the external url entered in the grandchild page. I've tried to "merge" some pieces of code but it doesn't work for the moment, and also I hadn't taken into account the creation of the categories. I know that I probably need to use include=hidden. I don't know if I need to use something like a double foreach... I've tested some things, starting from the following code at http://processwire.com/api/fieldtypes/images/: foreach($page->images as $image) { $large = $image->width(500); $thumb = $image->size(100, 100); echo "<a href='$large->url'><img src='$thumb->url'></a>"; } The image inserted in each grandchild page is 640 X 400. The images in the Projects page need to be for instance 320 x 200. I've ended up with this: <div class="gallery"> (because I'm using HTML Kickstart) <?php foreach($page->children('include=hidden') as $child) { $external_url = $child->get('external_url'); $thumb = $child->images->size(320); echo "<a href='$external_url' width='320' height='200' target='_blank' rel='nofollow'><img src='$thumb->url' width='320' height='200' /></a>"; } ?> I can just imagine or am perhaps close to or far from the solution, but as I said I know nothing about php. Perhaps the $external_url part shouldn't be inside the foreach part, or this part or another one is not good. It's possible that some of the old versions were better . And also it doesn't take into account the fact that now the pages are grandchildren, not children. Single or double quotes also sometimes have to change depending on the style, etc. The headlines need to go somewhere... Perhaps the "get" is not necessary where it is, but it could be necessary elsewhere. A lot of "perhapses" . I have impressions, not more... There are so many variations possible. Thanks in advance for your help . I need external (re)views as I can't seem to concentrate anymore and/or step back... NB: I've seen that I can specify the name of the template used only by the grandchildren pages (in order to "avoid" the categories).
  3. Hello, I suppose this is you: Napolitano & CO Napolitano And Company, 90 W Wieuca Road NE # 103 Atlanta, GA 30342 - View Map Phone: (404) 843-8038 Web: Napolitanoinc.com Domain Name: NAPOLITANOINC.COM Registrar: NETWORK SOLUTIONS, LLC. Whois Server: whois.networksolutions.com Referral URL: http://www.networksolutions.com/en_US/ Name Server: DNS2.EARTHLINK.NET Name Server: DNS3.EARTHLINK.NET Status: clientTransferProhibited Updated Date: 04-feb-2013 Creation Date: 15-mar-2001 Expiration Date: 15-mar-2015>>> Last update of whois database: Wed, 28 May 2014 10:19:01 UTC <<< Earthlink hosting services seem quite expensive for what they offer and (what could be) your needs. Can you precise how many pages (more or less) you would like please? What would be the interaction/functionalities you would need or desire? Mobile-friendly website (or not), contact form, image/photo gallery, slideshow...? Do you want to redesign the logo that we see at napolitanoinc.com? On which media does the logo need to appear? Is the content already ready/available (texts/copy, images/photos...)? For when (more or less) do you need the project to be "live"? I'm not sure if you would work with people from Europe (apart from email, instant messaging, and skype for instance, in France we can have free phone calls - including to mobile phones - to the USA, Canada, China... with some of the competing ISPs). I have to precise that depending on your requirements/needs, I may, or may not, be the one you need or who is qualified enough for the project, as I'm quite new to Processwire, that is an incredible Content Management Framework/System. I'm currently redesigning my website with it and the form builder, among other functionalities, is awesome. I could perhaps help for Search Engine Optimization later (but like many, I often optimize the website from the very beginning and improve it later on). For the logo, it wouldn't be a problem as we all know, including myself, good graphic designers. I'm writing this message to help, be it me or probably someone else that will take on the project. Have a nice day ! NB: it's "incredible", if we enter Melanie Simington VP of Media Services in the google search field, your post is in first position... I have the impression I have already seen you, perhaps on Linkedin or somewhere else on (the) Internet... PS: I'm thinking that I really need to make my website bilingual/multilingual later on, and why not also in Spanish . NB 2: by the way, this may interest you (I found this service a few days ago): mailerlite.com PS 2: and perhaps this responsive HTML email framework too (mentioned on the forum): zurb.com/ink/ [Complementary: templates.mailchimp.com/ + templates.mailchimp.com/resources/inline-css/ + github.com/mailchimp/Email-Blueprints + campaignmonitor.com/templates/ + "We recommend using an ESP like ... or ..., since some mail clients strip out the responsive formatting when you send an email."]
  4. Christophe

    Macaw

    Hello, I also found this the other day: https://www.google.com/webdesigner/ Have a nice week!
  5. Hello, There seems to be so many topics about newsletters that I don't really know where to post. I was thinking of perhaps using the Newsletter plugin with Seo Panel one day, for some particular use cases. I've just found mailerlite, while reading a blog article/interview. It seems to be already integrated with some well-known and less known CMSs. It could be interesting to also have something like: "MailerLite plugin for ... is here. Download it and receive a 50% discount for subscription. Boost your email marketing!" Just wanted to share what I've found . Their services are apparently very affordable. Updates: https://www.mailerlite.com/international http://docs.mailerlite.com/
  6. Hello, In google: site:www.charleswuorinen.com "salmon rushdie" or "salmon rushdie" site:www.charleswuorinen.com
  7. I think I wasn't trying to find the simplest way . I also remember having seen that piece of code in the API but surely haven't inserted it the right way and/or to the right place at that moment. I've done this now: <li><a href="<?=$config->urls->root?>"><?=$pages->get('/')->title?></a></li> Thank you again Joshua !
  8. Hello, Can someone tell me how to add/prepend the homepage link to this code from Ryan's html-kickstart-processwire archive/profile? Thanks in advance . <!-- Menu Horizontal --> <ul class="menu"><?php function topMenu($currentPage, $startPage) { $out = ''; foreach($startPage->children as $page) { $class = ''; if($currentPage->id == $page->id) $class = " class='current'"; $out .= "<li$class><a href='$page->url'>$page->title</a>"; if(count($page->children)) { $out .= "<ul>" . topMenu($currentPage, $page, $level+1) . "</ul>"; } $out .= "</li>"; } return $out; } echo topMenu($page, $pages->get('/')); ?></ul>
  9. Hello, I had read a bit about the custom fields in Processwire. Customizations/Customisations made easy . I am going to continue to look at the API documentation with Fields. I have read all that was before, except Hooks that can wait a little apparently. I am also going to look at the wiki. I should probably practice on a real project I guess. I want to create my new website with the Foundation 4 profile (even if the third level of the top menu is on the left for "mobile" reasons I suppose, with arrows on the right). But I could do it with Bootstrap, Skeleton, or any other "framework". But, sometimes, the more choice we have the harder it is. (I had used a bit Bootstrap on a Joomla! website and have also on a ImpressPages CMS website.) I want to be able to create, in a few months, or less, something like here: http://www.espacepolygone.com/aep-2100.php and here: http://www.espacepolygone.com/entreprise/62/allianz-g-et-j-azais-assurances/. With GPS coordinates also if possible (but perhaps it's enough on a map), a map (see what happens when we hover it. Not sure if it's a good idea), one or several images (I've seen in the forum that it could be a single static image or, if more, a lightbox "solution", for instance), one or more videos (optional), etc. I want it to be mobile-friendly(, and "upgrade-friendly"). I will look at the demo website/profile also to learn more. Thank you all .
  10. Thank you . I've just found that I had an answer after connecting to the forum again. I didn't receive any notification in my email account, so I've come back here to check. I wasn't (totally) sure if custom field "inputs" would be added to the administration area automatically. I am starting with this tutorial: http://processwire.com/api/tutorials/development-getting-started/, also present in the wiki.
  11. Hello, I'm just starting to learn Processwire. If needed, I would like to be able to specify a Page Title (<title>) different from "Title" in Processwire. For Headline, it is written: Use this instead of the Title if a longer headline is needed than what you want to appear in navigation. Often we also need a Page Title different from the menu link. Page Titles can be different/longer for SEO or other reasons, and menu links shorter for convenience for instance. How can this be done and a "field" input be added to Processwire's Admin? And/or the Page Title could use the Headline value (if it exists of course) instead of the "Title" value. This would be easier to implement I suppose. Thanks in advance
×
×
  • Create New...