Hot answers tagged

20

There is no sitemaps.xml out of the box in EE. You can build it using channel:entries module Example 1 Example 2 or you can use one of next add-ons: NSM Better Meta (~ $40) SEO module Sitemap Module ($49) Google Sitemap Lite (free)


12

Adding the following script to the control panel allows one to define a custom state for one or more matrix fields. The following script can be modified as needed and then copy and paste into your custom field's "Field Instructions" box beneath your custom user instructions! Many thanks to @MediaGirl for that trick! Ref: How to add a custom JavaScript to ...


12

This answer is partly based on ExpressionEngine Twitter API v1.1 add-ons. It is a "community wiki" answer, so please feel free to edit it with any extra information available (state sources where possible). Already Updated for API v1.1 CE Tweet 1.3+ ($) by Causing Effect EE Twitter 1.0+ (Free) by Click Rain NSM Twitter ($) by Newism / EE Garage Social ...


10

I have recently used EE templates to make JSON output from channels that contain a range of custom fields, including P&T’s Playa, Matrix and Wygwam fieldtypes. Those that are not familiar with JSON might find this useful. While it is a bit fiddly, all that is really required is a resource who is familiar with the JSON syntax/format to help you craft the ...


10

SEO Lite is always helpful. Dynamic but let's you do page level overrides. No site maps though. http://devot-ee.com/add-ons/seolite Also adds a tab to the publish view so it's readily available.


8

Row IDs in Matrix are unique for the whole site, like entry IDs. So there only will ever be one row with a row_id of '1' – the first row you ever created. If you’ve deleted that row, then no row exists with the ID '1' anymore. If you just want to grab the first row, use limit="1" instead, which will limit the output to only the first row. If you want to ...


7

I'm personally using RSS Graffiti on Facebook to parse in my RSS feed and post it as Facebook entries. Has worked brilliantly and was dead simple to set up. -Lisa


7

To workaround the issue, I followed the advice from this EE Support thread by renaming the system/expressionengine/third_party folder to something else immediately before carrying out the upgrade. The upgrade then worked fine, and I renamed the third_party folder back afterwards and all was well. The explanation for having to do this (from the same EE ...


6

That's a great idea. Currently there are no hooks or settings in place to do that. I could also see a setting in place to store the number of times an email has been sent (for re-occurring emails). That way, you could say do not send after X times. I will add this to the list of features to implement. If you need this immediately, I am available for an ...


6

this is because on the first request to a folder, Assets will create thumbnails appropriate for your screen (retina or not). For 100+ files, that's 100+ requests that aren't instant and browsers limit simultaneous requests to the same server, so it's browser hitting the limit because of the initial processing required. After this, though, the images will ...


6

I'm pretty sure you can do it with MX Notify Control and it's free: http://devot-ee.com/add-ons/mx-notify-control I've never tried it before so, consider it an option vs a recommendation if that makes sense :) And just for the sake of being thorough there is also Postmaster though, it of course isn't free: http://devot-ee.com/add-ons/postmaster


6

This is a bit of an undocumented feature, but it works like this. In your extension, add a class variable called $required_by, with an array of values: $required_by = array('module'); ('module' is actually the only acceptable array value here, as neither plugins nor accessories have installation routines, which are needed for this to work.) Note that ...


6

I would recommend this approach with Stash: http://www.jamessmith.co.uk/articles/expressionengine-stash-tutorial-level-1#meta I dislike add-ons that purport to "do" metadata for you, because unless your site is a very basic static page-based affair (where one entry always translates to one page) they can never cover all the possibilities for how metadata ...


6

dashEE - is fully customizable ExpressionEngine control panel dashboard alternative. Module comes with 8 default widgets but you also have the ability to develop your own tailored to your needs. In addition to developing your own stand along widgets you can also incorporate dashEE widgets into your existing custom EE modules instantly making your ...


5

I'm not quite as trusting with the way the fields labels handles JavaScript over say the way it handles HTML which, by the way, handles nicely. Anyways, I will add another option here for future reference as I think it could be helpful either way: As I mentioned in a comment on another question you could write an extension which uses the cp_js_end hook ...


5

By default the member variables use the logged in member, but the hooks API gives developers the ability to override that, which Profile:edit does. Each hook inherits the same rules, but they can break them at will. I will try to improve documentation on special exceptions. So when you register or edit a profile, the member data that gets passed to the ...


5

Go to EE --> Store --> Settings --> Email templates There's quite a lot of information, nicely described. I think the tag you're looking for is {order_status_message}


5

Make sure you’re running the latest version of Matrix. Matrix 2.5 came with a pretty drastic performance boost. http://pixelandtonic.com/matrix/releasenotes


5

The themes/third_party/wygwam/lib/ckeditor/config.js file actually comes with the code necessary to do this – you just need to uncomment it. Have you tried that?


5

Okay here is what I did to get this working correctly. This by no means solves the initial problem but it does get you up and running again. I basically did what Brandon suggested in his comment—about setting the server paths directly and bypassing the config file. I did this before I ran the module updater or any indexing, so that none of those extra, ...


4

Instead of modifying CK Editor files which would likely get nuked if you update the add on you are best to make a customConfig in the Editor Configurations. Change this and save this out to where you keep your front-end templates. var typkitID = 'XXXXXX'; CKEDITOR.on( 'instanceReady', function(ev) { var $script = document.createElement('script'...


4

Store has built in dynamic price variables you can use. You can see all of the avilable variables here. You would want to use <span class="store_product_price"></span> To adjust the price when modifiers are changed.


4

You can share content, but all navigation and page data is site-specific, so you can't call from one into another unfortunately. It's just an EE/MSM limitation.


4

Can you copy/paste a code snippet? Basically, what you have to do is search for theme_folder_url and replace it with url_third_themes - plus you also have to remember to drop the third_party on the path. so: $this->EE->config->item('theme_folder_url').'third_party/field_editor/css/field_editor.css becomes: $this->EE->config->item('...


4

Answering my own question as I think this is useful. Adrian at Expresso helped me out. Basically, we output the menus and also output custom buttons. Then we just hide the menus with CSS. This presumably avoids writing lots of new custom Javascript or introducing new dependencies to the way the form is processed by Store. See this jsFiddle EE code {!-- ...


4

Yes, that table is the only place extensions are registered (as long as the extension doesn't also include a "Module"). You can safely delete those rows. You could also just set enabled to n which will disable the extension.


4

That should be as simple as this, using the correct channel_id: Update exp_channel_data set field_id_46 = concat(field_id_41, '|', field_id_42) where channel_id = 1 For the Maps table, it's something like this: Insert into exp_mx_google_map (entry_id, lat, long, some_example_field) Select entry_id, field_id_41, field_id_42, 'Some example value' from ...


4

As you mentioned Store does not currently support recurring payments with any of the gateways. It is a bit more complicated then just adding a gateway that allows recurring subscriptions to actually have them execute in Store. Currently there isn't a way in Store to store the customers CC details or Payment Token that would allow the payment details to be ...


4

It's a combination of Store's philosophy and ExpressionEngine's internals. Leaving out the action attribute in a form tag is valid HTML5, and simply means "post to the current page". We've tested this back to IE6 and have found no compatibility issues. Store used to use EE's native methods to get the current page URL, and use that when generating the form ...


4

Jim Pannell and I worked out a solution, making Copee Pastee work in EE 2.7. Add the following to /system/expressionengine/third_party/copee_pastee/ft.copee_pastee.php, at line 77. public function display_field($data) { //nothing }


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