Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. chcs


    We'd like to send email from WireMailSMTP using G Suite. Google offers three different options: https://support.google.com/a/answer/176600?hl=en We've tried every variant we can, without success. For anyone using G Suite, which Google option works for you? What settings have you used in G Suite admin, and which settings have you used in the WireMailSMTP config? (We have enabled the "allow less secure apps" option, and are not using 2-factor authentication.) Your help is much appreciated.
  3. Today
  4. Well, @androbey it seems pretty descriptive to me to be honest, where N:1 is the spot to insert the meta tags for robot indexing, where you have the chance to add: noindex, nofollow, disallow etc. The second option is to add any extra meta tags that your markup or optimization plan would need. It could be anything that by default is not added. If the fields are created by some module (I am sure you would find quite a few really good SEO modules in the modules directory that would help you avoid some manual work ) I would try not adding anything to the field and see what comes up in the page source by default. If something is missing, then you know now where it could be added.. In regards to the canonical link, this might help you better understand its purpose.
  5. I have the same issue. @theoretic Could you please open an issue on the repo https://github.com/noelboss/AdminThemeBoss
  6. A tip, if your all code php in your template, you don't need to clode php tag. And no need to close and open tag again again <?php $content .= "<div class='uk-child-width-1-1 uk-child-width-1-3@m' uk-grid>"; foreach ($entries as $entry) { $content .= "<div> <a href='{$entry->url}'> <h2>{$entry->title}</h2><h4>{$publish_date}</h4></a>"; $content .= shortText($entry->body, 100); $content .= "<br><a href='{$entry->url}'> Read More </a></div>"; } $content .= "</div>";
  7. got it working now by doing this - really need to learn php basics <?php $content .= "<div class='uk-child-width-1-1 uk-child-width-1-3@m' uk-grid>"; ?> <?php foreach ($entries as $entry) { $content .= "<div> <a href='{$entry->url}'> <h2>{$entry->title}</h2><h4>{$publish_date}</h4></a>"; $content .= shortText($entry->body, 100); $content .= "<br><a href='{$entry->url}'> Read More </a></div>"; } ?> <?php $content .= "</div>"; ?>
  8. Hi Dragan thanks for your help. <div class="uk-child-width-1-1 uk-child-width-1-3@m" uk-grid> wont output above the php tag. but adding the inline div was helpful just need to get the tag above to work. Pulling my last hair out ha
  9. dragan

    PW Review

    Well, that's easy to spot: For some reason there's a margin-left override: @media (min-width: 1200px) { .uk-grid-large { margin-left: -70px; } } default being -40px or... make the body background color white
  10. I love tools close to the core. They get so much more done easily.
  11. @tthom_pw - thanks for the updates. Looks like this is going to be an ongoing problem, so I have separated it out into its own module: http://modules.processwire.com/modules/process-terminal/ It can be run standalone, or via the Terminal panel in Tracy. Hopefully this will help to make it available if you run your own server / VPS, but not cause problems for those Tracy users on shared hosting.
  12. A terminal for running server commands: http://modules.processwire.com/modules/process-terminal/ https://github.com/adrianbj/ProcessTerminal NOTE: It does not support interactive commands like vi, nano, apt, etc. DO NOT attempt to use these as they may result in you needing to restart apache. This is a bash terminal that lets you quickly execute commands on a server. In addition to normal commands like: ls, cd, cat, mkdir, rm, chmod, chown, etc, you can also do mysql command line calls which is very handy if you need to add a new user, create a mysqldump etc. Note that for mysql commands you need to issue them individually - you can't simply start "mysql" and issue commands from there - each call needs to include your username and password and the command to be run, eg: mysql -u root -p mypassword -e "CREATE DATABASE newtablename"; There is also an upload and download command, eg "upload test.txt" which will spawn a file selector dialog on your machine to upload that file to your server with the given name. It also has arrow up and down for command history as well as tab autocompletion of commands and file names. This module was separated from Tracy because some shared hosts were flagging it as spam. This is because it uses system_exec to run server commands. This can certainly be dangerous, but in my opinion it is no more dangerous than the HannaCode module or the Tracy Console panel which both allow you to run system_exec. The key thing is that ProcessWire's htaccess rules prevent the shell.php file from being run directly and because this is a process module it uses PW's permissions to restrict usage to superusers.
  13. horst


    Hi @androbey many thanks for pointing me to this. I add it to my todo list with an urgent flag.
  14. oh, and for accessibility's sake, don't jump over heading hierarchies, i.e. don't use an h4 right after an h2. Use h3 instead. https://www.w3.org/WAI/tutorials/page-structure/headings/ Plus, I'd suggest to place your anchors inside h2, not outside.
  15. Thanks for the reply ukyo Do you mean like this? sorry if Im being silly here. <div class="uk-child-width-1-1 uk-child-width-1-3@m" uk-grid> <?php foreach ($entries as $entry) { $content .= "<a href='{$entry->url}'> <h2>{$entry->title}</h2><h4>{$publish_date}</h4></a>"; $content .= shortText($entry->body, 100); $content .= "<br><a href='{$entry->url}'> Read More </a>"; } ?> </div>
  16. You can surround your list with grid component. <!-- 3 columns, for 4 columns, uk-child-child-width-1-4@m --> <div class="uk-child-width-1-1 uk-child-width-1-3@m" uk-grid> <div> Blog Title 1 </div> <div> Blog Title 2 </div> <div> Blog Title 3 </div> <div> Blog Title 4 </div> <div> Blog Title 5 </div> </div>
  17. Hi, I have the PHP code below which creates my blog list into rows. How can I use UiKit to create the content output into say 3 colums or 4? A point in the right directions would be helpful thanks. <?php $entries = $pages->find('template=blog-entry')->sort('-created'); $publish_date = date('Y-m-d', $page->created); foreach($entries as $entry) { $content .= "<a href='{$entry->url}'> <h2>{$entry->title}</h2><h4>{$publish_date}</h4></a>"; $content .= shortText($entry->body,100); $content .= "<br><a href='{$entry->url}'> Read More </a>"; } function shortText($text, $maxlength = 100) { // truncate/shorten to max length $text = substr(strip_tags($text), 0, $maxlength); // check if we've truncated to a spot that needs further truncation if(strlen(rtrim($text, ' .!?,;')) == $maxlength) { // truncate to last word $text = substr($text, 0, strrpos($text, ' ')); } return trim($text); }
  18. I guess what you want is: $planet->planet_foto->httpUrl instead of prepending url it with $_SERVER['SERVER_NAME'] ? (not sure)
  19. Okay, thanks for the report. I'll take a look next week. Probably going to be hard to combine.
  20. No segments defined, "just Allow URL Segments?" option checked. When i uncheck it, it start counting Edit: Otherwise works great, thank you for this module
  21. Right, I haven't tested it yet. Can you send me your sample configuration? Or did you just activate the option without defining segments?
  22. It doens't work if you have have "Allow URL Segments" option enabled on the template, at least not in my case. Can this be fixed?
  23. In addition to @louisstephens response: I think number 2 is more likely to be an input place for other meta tags (see overview). There you can also find info about what "robots" tag is used for and also info about "canonical". As for your other question on how to "improve your SEO": you may find more info when looking up the meta tags. Not all of them are used by search engines for the ranking (if this is your primary concern).
  24. 1. I would assume that the Robots field is where you could insert "noIndex or noFollow". This tells web crawlers to basically ignore the page from crawling. 3. The canonical link tag ie : <link rel="canonical" href="path_to_page" /> tells search engines where the original version of the content is located. This comes in handy when you are utilizing AMP, so google can differentiate the desktop version (canonical) and the accelerated mobile page. As for number 2, it looks like you can input schema tags . However, do you know if these fields were created from scratch, or are these generated by a certain module like SEOmaestro?
  1. Load more activity
  • Create New...