a:2:{i:0;a:1:{s:4:"data";a:2:{s:7:"entries";a:10:{i:0;a:6:{s:5:"title";s:45:"Notes From Our Default ExpressionEngine Build";s:4:"slug";s:45:"notes-from-our-default-expressionengine-build";s:2:"id";s:2:"60";s:10:"typeHandle";s:15:"externalArticle";s:4:"body";s:233:"
I put together some notes about Viget’s default ExpressionEngine build in the hopes that you can find some tips and tricks in all of my nonsense.
";s:7:"website";s:64:"http://www.viget.com/inspire/our-default-expressionengine-build/";}i:1;a:6:{s:5:"title";s:31:"Is Ajax ExpressionEngine Plugin";s:4:"slug";s:17:"is-ajax-ee-plugin";s:2:"id";s:2:"61";s:10:"typeHandle";s:4:"blog";s:4:"body";s:520:"For a recent project, I needed to detect whether a request was an AJAX request or not. MX Ajax Detect already existed, but I didn’t like that you needed the extra set of tags.
{if {exp:is_ajax} == "true"}
OH YEAAAH
{if:else}
OH NOOO
{/if}
You can find the plugin on Devot:ee and GitHub.
";s:10:"bodyBlocks";a:0:{}}i:2;a:6:{s:5:"title";s:59:"Styling HTML5 Elements: An Irresponsible Choice…Right Now";s:4:"slug";s:45:"html5-elements-irresponsible-choice-right-now";s:2:"id";s:2:"62";s:10:"typeHandle";s:15:"externalArticle";s:4:"body";s:250:"I figured it was time to post about a controversial topic that had come up recently. I just don’t see the value in using most HTML5 elements right now.
";s:7:"website";s:75:"http://www.viget.com/inspire/html5-elements-irresponsible-choice-right-now/";}i:3;a:6:{s:5:"title";s:25:"A Couple of Presentations";s:4:"slug";s:25:"a-couple-of-presentations";s:2:"id";s:2:"65";s:10:"typeHandle";s:4:"blog";s:4:"body";s:627:"I’ve given a couple of presentations recently, so I thought I would share them.
An internal presentation given to all of Viget to give an overview of EE and why I love it.
A presentation given to Clarksburg High School students with a supporting demo site to introduce them to some HTML5 and CSS3 features.
";s:10:"bodyBlocks";a:0:{}}i:4;a:6:{s:5:"title";s:41:"My New Best Friend: CSS Generated Content";s:4:"slug";s:21:"css-generated-content";s:2:"id";s:2:"66";s:10:"typeHandle";s:15:"externalArticle";s:4:"body";s:191:"I’ve started to use generated content more and more these days. Here are a couple of examples from a recent project.
";s:7:"website";s:51:"http://www.viget.com/inspire/css-generated-content/";}i:5;a:6:{s:5:"title";s:45:"So You Want to Use .htaccess files with MAMP?";s:4:"slug";s:28:"use-htaccess-files-with-mamp";s:2:"id";s:2:"67";s:10:"typeHandle";s:4:"blog";s:4:"body";s:1014:"Well, this was easy in the older version of MAMP that I had. You would just drop them in place, and they worked. I was having a problem with something, so I thought maybe there was an updated version of MAMP that would solve the problem. Sure enough, there was. So I installed it and went along my way. Then, I went back to the local version of my site, and it was completely busted.
I finally tracked it down to .htaccess files being ignored. So I opened up my http.conf file and went down to line 378, and sure enough this is what I saw:
<Directory />
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
In the older version of MAMP that I had, the default for this value was All. In order to get .htaccess files working in the new version, I just had to change None to All, restart the server, and everything worked normally. Just thought I would share in case anyone else runs into this problem.
";s:10:"bodyBlocks";a:0:{}}i:6;a:6:{s:5:"title";s:40:"ExpressionEngine Config Variables Plugin";s:4:"slug";s:23:"config-variables-plugin";s:2:"id";s:2:"69";s:10:"typeHandle";s:4:"blog";s:4:"body";s:1148:"As I was in the process of moving this site into Git and having a local version, I have been trying to move as many paths as possible into the config.php. One of them included the cache path for image sizer. Since the local and production paths are different, I wanted some way for them to be dynamic. In my config.php file, I am using $_SERVER['DOCUMENT_ROOT'] to set the base_path. I could have enabled PHP in the template and then use the $_SERVER['DOCUMENT_ROOT'], but that seemed like a silly reason to enable PHP.
So I made a plugin that gives you access to everything in the $config array without having to use PHP.
{exp:config:vars value="base_path"}
To see all possible values, just pass in “all”:
{exp:config:vars value="all"}
You can download from GitHub or Devot-ee. As always, let me know if you run into any issues.
";s:10:"bodyBlocks";a:0:{}}i:7;a:6:{s:5:"title";s:43:"Creating a Google Map with ExpressionEngine";s:4:"slug";s:45:"creating-a-google-map-with-expressionengine-1";s:2:"id";s:3:"793";s:10:"typeHandle";s:15:"externalArticle";s:4:"body";s:595:"As Richard Tape has begun to show in his part 1 and part 2 articles on Becoming an ExpressionEngine Superstar, EE is a flexible and easy to customize CMS. Now that everyone has some understanding of how EE works, I thought I would take this opportunity to show a relatively real world example of creating a dynamic Google Map powered by EE.
";s:7:"website";s:83:"http://net.tutsplus.com/tutorials/cmss/creating-a-google-map-with-expressionengine/";}i:8;a:6:{s:5:"title";s:51:"Building an ExpressionEngine Mini Calendar Scroller";s:4:"slug";s:51:"building-an-expressionengine-mini-calendar-scroller";s:2:"id";s:3:"795";s:10:"typeHandle";s:15:"externalArticle";s:4:"body";s:438:"I recently decided I wanted to add a calendar of blog entries on my personal site. Luckily, ExpressionEngine has a tag for that, the Calendar Tag. The functionality that I wanted was a little bit different from the two examples in the EE user guide. I wanted to show a calendar by month, and link the days that had an entry to that specific entry.
";s:7:"website";s:81:"http://www.viget.com/inspire/building-an-expressionengine-mini-calendar-scroller/";}i:9;a:6:{s:5:"title";s:10:"URL Design";s:4:"slug";s:10:"url-design";s:2:"id";s:2:"70";s:10:"typeHandle";s:4:"blog";s:4:"body";s:146:"Great article about designing URLs. It really is an art and is so easy to do so wrong.
";s:10:"bodyBlocks";a:0:{}}}s:5:"total";i:270;}}i:1;O:25:"yii\caching\TagDependency":3:{s:4:"tags";a:4:{i:0;s:7:"element";i:1;s:29:"element::craft\elements\Entry";i:2;s:40:"element::craft\elements\Entry::section:4";i:3;s:7:"graphql";}s:4:"data";a:4:{s:40:"CraftCMSce35088bdfe0816226cd17fd051a4803";s:21:"0.70573500 1736501960";s:40:"CraftCMS2743a789e8993267a348eee1ee7e4450";s:21:"0.67537500 1713205687";s:40:"CraftCMS2ac34726f299f7e18e449d8e536c67f8";s:21:"0.84529700 1741778847";s:40:"CraftCMS3817d4a648fcfac939af46605323feb0";s:21:"0.36746500 1735923287";}s:8:"reusable";b:0;}}