15

I can recommend Focus Lab's EE Master Config. It's easy to set up and easy to add options to as needed and it is perfect for multi server environments. I usually don't bother with the multi server set up, and am just building the site on a subdomain and then just transferring to the live domain. But even in this basic case, the master config makes going ...


12

Solutions mentioned in the thread are all nice, but I think you learn a lot by creating your own config bootstrap. To that end, I found the following resources can help a great deal: DRY applied to EE2 config Three in-depth articles by Jamie Rumbelow on the EE config file Hidden Config variables in EE2 Armed with those, it is easy to create bootstrap ...


10

You should put the closing </row> outside your channel entries tag, to be consistent, and use a switch statement to add the middle rows every third entry: <div class="row"> {exp:channel:entries channel="channel_name" dynamic="no"} <div class="span4"> ... </div> {switch='||</div><div ...


6

Many options are available as stated in other posts. To add to that here is the default config.php & database.php file templates for ExpressionEngine we use.


6

The NSM Bootstrap technique has never let us down in multi-server environments.


5

So I'm inferring from the forum post you linked that you're bootstrapping your config with something like NSM bootstrap or similar in order to reduce the pain of moving EE between multiple environments (local/staging/production etc.). That's a great idea, and how I roll with EE myself (though take a look at FocusLabs Master Config for another, more in depth ...


4

I'll second tidy's vote for the Focus Labs EE Master config. We are using it in a multi server deployment set up and it's awesome. Saves lots of time and I no longer worry about code deploying out with the wrong environment configs.


4

I built my own config file, because I had a setup that most of the prebuilt configs didn't have... My normal setup is, Local, Staging (Located on subdirectory, inside a folder) and then Production. A lot of hooks were added for NSM .htaccess, CE Image, CE Tweet etc... Just pushed the latest version of it to my Github. https://github.com/madebymayo/...


4

I too might go for the {switch} method. But I would also question if using Bootstrap's CSS classes are the best way to mark up your page. Have you considered using their LESS classes? You could then possibly keep your EE and HTML as separated from the design as this... <section id="section-name"> {exp:channel:entries channel="channel_name" ...


4

It's a common task to want r rows of x items, and I've sometimes got myself tangled with switch and conditionals etc still finding I end up with empty or unclosed tags. I find the EEGrouper add-on http://devot-ee.com/add-ons/eegrouper is a quick and easy way to handle all cases.


4

I managed to find a simple solution as I wrote the question. This just uses a combination of {switch} and a {if count != total_results} conditional: <div class="row"> {exp:channel:entries channel="channel_name" dynamic="no"} <div class="span4"> ... </div> {if count != total_results} {switch='|</div><!-- /row --> ...


3

There is a contact form bundled with ExpressionEngine: https://docs.expressionengine.com/latest/add-ons/email/contact_form.html


3

I'd like to add that with the Modulus Operator added to EE in 2.7.1 that this can be easily achived now with the following code, based on Bootstrap 3 (example using a Grid fieldtype for the output): <div class="container"> <div class="row"> {gallery} {if gallery:index % 3 == 0 OR gallery:index != 0} </div> ...


3

My approach to handling this issue is to use the SurgerEE addon which provides (among many other useful things) modulo operator support via a plugin call, so you can then do something like this: <div class="row"> {exp:channel:entries channel="channel_name" dynamic="no"} <div class="span4"> ... </div> {if '{exp:surgeree:modulo ...


3

Focus Lab's Master Config also supports MSM (with the aid of this gist).


3

Agreed with building your own. I built my own then modified FL's EE Master Config to suit my needs. Super flexible and it is really nice having a plug-and-play EECMS install ready to be loaded on to any server. If you are using multiple environments then use something like Deeploy Helper to get URL's/Paths stored in the DB updated when you migrate http://...


2

Probably the most direct (although not necessarily the most efficient) way is something like the following: {if '{matrix_field:total_rows}' == 1} {exp:ce_img:single src="{profiel_fotobestand}" width="600" height="350" crop="y" allow_scale_larger="yes"} {/if} {if '{matrix_field:total_rows}' > 1} <div id="myCarousel" class="carousel slide"> ...


2

The Focus Lab config will only override variables in config.php and database.php by default. You could add an additional require xxx/config.master.php to mimes.php if you wanted to, but since that requires editing the file anyway, and it unnecessarily complicates things, you're better off just adding the new mime types directly. // Custom mime types 'kml' ...


2

I suspect there are some sessions/cookies referenced in the DB that that exist on the production server, but not the other environment; removing said references from the DB could resolve it.


2

This usually happens with duplicate jquery files. You can add either of these parameters include_jquery="no" include_assets="no"


2

After days or trying to work it out and then finally posting my question on EESO I actually stumbled across the answer (literally minutes after posting my question). Brandon Richards posted the answer on The Outfit, Inc forum (https://getsatisfaction.com/booyant/topics/twitter_bootstrap#reply_14550626). Below is how you can achieve Bootstrap 3 navigation ...


2

There is also a free version of Freeform. https://solspace.com/expressionengine/freeform


2

This is because Calendar uses ExpressionEngine's built in jQuery UI bundle to build the mini calendar popup. You will probably have to use some combination of the two with jQuery's noConflict method: http://api.jquery.com/jQuery.noConflict/


2

You are using relative addressing for the tag that loads your javascript elements: in the page source you see tags that look like this: <script src="V2/js/clean-blog.min.js"></script> which will cause the browser to try and load the scripts from a URL relative to the current one the browser is at, rather than the site root. In your first ...


2

Yes you could use switch also. {exp:channel:entries} <div class="wrap {switch='col-lg-4|col-lg-8'} col-sm-12 content-item"> ... </div> {/exp:channel:entries} Would output alternating containers with the correct col-lg class: <div class="wrap col-lg-4 col-sm-12 content-item"> ... </div> <div class="wrap col-lg-8 col-sm-...


1

Maybe you should use css instead of bootsrap... You can use the column feature of css. There's many option/parameters.. Look here : https://developer.mozilla.org/en-US/docs/Web/CSS/columns or here https://www.w3schools.com/cssref/css3_pr_column-count.asp


1

This has nothing to do with Low Alphabet. It's a layout issue where you're not taking two lines of content into account with floats. See this screenshot: You can see that Simon's description spans 2 lines, which makes the containing box larger, mis-aligning the box below. In the source, I edited the description to be only one line: Voilà, everything lines ...


1

From the additional comments it seems you don't know how many tabs will be output. This isn't a problem as you would simply loop through each row and create a tab for each. By using the {count} variable it is possible append a unique value to an id or class attribute. Do you have any existing template code?


1

In the end this isn't really an ExpressionEngine question at all (you don't need to use any EE variables here). A few things: You cannot have two elements with the same ID on each page (so, using <a id="switch"> within a loop is a no-no). CSS class names cannot be purely numeric (e.g., class="{entry_id}). You don't have an href value or closing tag ...


1

Actually, I found a fork that supports EE2.5.2: https://github.com/rsanchez/ExpressionEngine-Bootstrap I am leaving this question for reference and will accept my own answer when avail. <?php if (!isset($system_path)) { $system_path = './na_cms/'; } $assign_to_config['enable_query_strings'] = TRUE; $assign_to_config['subclass_prefix'] = 'EE_'; if (...


Only top voted, non community-wiki answers of a minimum length are eligible