Hot answers tagged

6

Hacksaw is also a great plugin for that. It has a few more options than Snippet, like the ability to omit HTML tags and more refined cutoff parameters.


5

I try to always prefix custom fields with the channel name like so: projects_fieldname case_studies_fieldname articles_fieldname about_fieldname Swap out "fieldname" for the actual custom field name of course. Aside: I often start with the channel, then custom field type, then name. For example about_textarea_summary. There is a character limit so ...


4

An add-on I've used for this purpose is David Dexter's Snippet. Does just what you're looking for. Keep in mind however that if your full description is a RTE field, you may have to use an HTML stripper before using the shortening tool.


3

I just found the answer. It is a bug: https://support.ellislab.com/bugs/detail/19732


3

If you are having issues with JS interactions in the control panel not working correctly after an EE upgrade, the first thing to try is to reupload your control panel theme folder.


3

Each entry in the fluid field stores the content of whatever fields are defined for that entry from the set of fields assigned to the fluid field. So for each entry in your channel you might have a different set of fields defined - unlike regular fields in EE, what fields appear within a fluid field for an entry are defined when the entry is created rather ...


2

Absolutely - you can use the P&T Dropdown fieldtype (part of the free P&T Field Pack). You'd setup your options in the fieldtype settings like so to create grouped options: : Select your county England County 1 County 2 County 3 Scotland County 1 County 2 County 3


2

Two things to look at: Have your client set an "Expiration Date" on the entries. If show_expired="" is not set to "yes" on the entries tag, then these entries will automatically stop showing on the website at the set time/date. Use the start_on="" parameter to set a start date for the entries tag. Only entries from that date forward to present will show. ...


2

You could create an announcement field along with 2 date fields (start and end dates). {if current_time > announcement_start_time && current_time < announcement_end_time} {announcement} {/if}


2

MX Select Plus is a great fieldtype–you can choose either to populate the menu with plain text or write a SQL query. It's pretty slick!


2

Can you not just use the standard file field and set up a folder for backgrounds? Your client can then either select an already-uploaded image from the list of files, or upload a new one. You can restrict this field to one folder so there's no room for confusion and have it as a field in your pages channel. This way you don't have two separate strands to ...


2

Nope - no hooks exist in the new member form I'm afraid. I suppose you could hide them with some jQuery?


2

You can also just use the 'Word Limiter' plugin by Rick Ellis of Ellis Labs. I believe it comes with the basic install. {exp:word_limit total="50"}{audio_summary}{/exp:word_limit} &hellip; I frequently use with a 'strip HTML tags' plugin, to do this. Personally, I like when people write an actually summary, but there's plenty of time when the first 25, ...


2

If all you need is one field per channel, you could possibly use the oft-overlooked Channel Description field.


2

You can try Allow EE Code {exp:channel:entries channel="my_channel"} {exp:allow_eecode} {my_field} {/exp:allow_eecode} {/exp:channel:entries}


2

Do you have 'Automatically turn URLs and email addresses into links?' set to 'no' in the channel's preferences?


2

Finally managed to fix this issue. First of all, I suspected that the default field in the moblog config could be the culprit. So it became apparent that moblog only supports textarea and textfield by default. So the default field was empty in my moblog configuration. Editing the ExpressionEngine $default_config to include the following '...


2

There are are a number of options open to you: Edit the default member registration template in Design->Templates->Themes->Member Profile Templates Use an add-on like Freemember Create your own custom registration form


2

Relationships are stored in exp_relationships - the exp_channel_data content for a relationship field is irrelevant. So your query would need to do a join between exp_channel_titles and exp_relationships.


2

This MySQL query should give you a list of fieldtypes which are not currently in use as Channel or Grid fields: SELECT name FROM exp_fieldtypes WHERE (SELECT COUNT(*) FROM exp_channel_fields WHERE field_type = name) = 0 AND (SELECT COUNT(*) FROM exp_grid_columns WHERE col_type = name) = 0


1

Yes, you can do this using any FT which can retrieve data by query (for example SELECT+). But will be needed to save entry first after upload images to get it in select field. Other way is to create this field (simple select + little bit JS coding). But take attention on Penzizzle advice - way which you choose is looks little bit unusual.


1

Check the Channel Preferences for this Channel for the Automatically turn URLs and email addresses into links option. It sounds like you have it set to "Yes" and this is causing the malformed HTML. Control Panel Location: Admin > Channel Administration > Channels > Edit Preferences Documentation


1

It appears that logging off, clearing the cache and logging back in did the trick. I just needed to rebuild the publish layouts after that. I don't know what I did different this time, but it's working now.


1

First, just note that it's safe to assume that adding more memory / faster servers for both your EE/Apache and MySQL will make things work better. 100k+ entries is enough to require more horsepower than a smaller site, but that generally can be addressed through reasonable upgrades. That said, I was just working on a site with 75k+ entries--and we were ...


1

You will have to run a query to get the data. You should be able to run the following against the member_group field of the member. SELECT exp_channels.channel_title, exp_channel_fields.field_label, exp_channel_fields.field_name, exp_channel_fields.field_type, exp_channel_member_groups.channel_id FROM exp_channels, exp_channel_fields, ...


1

Your issue is you cant use php inside the query tag sql. If you dont believe me, look at the source code for query module. From memory its in system/module/query. Remove this: BASE64_DECODE(field_settings) 'field_settings', field_label Now this works: {exp:query sql="Select CONCAT('field_id_',field_id) 'field_id', field_name, c.channel_name {!--...


1

You can try like this code example: {custom_fields} {if relationship AND field_name == 'gender'} <select id="{field_name}" name="{field_name}[data][]"> {options} <option value="{option_value}"{selected}>{option_name}</option> {/options} </select> {/if} {/custom_fields} ...


1

Make sure you have Relationships fieldtype installed. Go to Add-Ons > Fieldtypes, check if Relationships shows as Installed. (moved to answer from comments)


1

I just addressed this same issue at http://ellislab.com/forums/viewthread/235757/ Basically you have to output that field value and just set visibility:false on the select tag.


1

Could you see MX Select Plus: http://devot-ee.com/add-ons/mx-select


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