ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Several technical issues

June 01, 2010 11:01am

Subscribe [4]
  • #1 / Jun 01, 2010 11:01am

    Hello,

    We are working on a web-site for the University of Miami Hospital and we have several technical issues, we are using ExpressionEngine 1.6.9 Build:  20100430.

    1. whenever we add an e-mail address in a post it adds a lot of strange JavaScript code, which malfunctions in Internet Explorer. We understood this feature is good against spammers, but can we disable it?

    2. We have a News section and we are trying to show only certain events based on the timestamp:

    {exp:weblog:entries weblog="sylvester_news" search:Date>"1260000000" search:category="Press Releases" disable="categories|member_data|trackbacks" dynamic="off"}

    Yet it still shows all events, if we use “=” instead of “>” it works fine.

    3. Is there a way to search in a field without using the default search engine, but to look for part of the field instead of the entire field? (instead of using “=” using something similar to the PHP “LIKE %...%”.

    Would appreciate your help,
    Thank you!

  • #2 / Jun 01, 2010 11:14am

    Sue Crocker

    26054 posts

    Welcome to the ExpressionEngine forums, Slankman.

    1. There is a per weblog setting for turning on automatic linking of email addresses. You can certainly turn it off.

    2. Have you seen the start_on parameter?

    http://expressionengine.com/docs/modules/weblog/parameters.html#par_start_on

    3. On that same document, there’s an example of Contains searching.

    Does that help?

  • #3 / Jun 01, 2010 1:32pm

    Thank you for the very quick reply,
    I still have a question about 3 if you don’t mind,

    I followed the instructions and ended up with this simple query:

    {exp:calendar:events dynamic="off" search:title="123456"}

    I don’t have that string in any of the titles and it still displays all of them. Tried adding a text which is only found in some of them and still displays all.
    Any thoughts?

    Thank you!

  • #4 / Jun 01, 2010 5:23pm

    Ingmar

    29245 posts

    {exp📆events} is not a native EE tag. Also, the search parameter does not work with titles, only regular custom fields.

  • #5 / Jun 02, 2010 3:30pm

    Oh, you’re right, it’s a calendar module we’re using..

    I have another question, when we add an URL (in a custom field), if we use http EE automatically adds some code to it making it unreadable in the frontend, so we have been adding URLs without http or www and appending it in the frontend, but we now have to add one with https://
    Any thoughts?

    Thank you

  • #6 / Jun 02, 2010 3:41pm

    Ingmar

    29245 posts

    I have another question, when we add an URL (in a custom field), if we use http EE automatically adds some code to it making it unreadable in the frontend

    I am not sure what that means. EE does turn your URLs into links by default, yes. You can turn this off at Admin > Weblog Administration > Weblog Management > Edit Preferences.

  • #7 / Jun 03, 2010 3:52pm

    Thank you, that worked,

    Have another question if you don’t mind, we have a query and have added two filters, but would like an OR between them, not AND:
    {exp:weblog:entries field1="value" field2="value"}

    so, we would like to list all items containing “value” in Either field1 or field2, not in both as it normally does..
    Any ideas?

    Thank you

  • #8 / Jun 03, 2010 4:09pm

    Ingmar

    29245 posts

    You can try the search parameter, but there is no Boolean AND. Your best option might be a custom SQL query, in fact.

  • #9 / Jun 04, 2010 11:34am

    Thank you for the quick reply,
    Also, we have a custom dropdown field in the admin for the weblogs, getting its content from the sections (so it basically shows all sections and allows you to choose one. Is there a way to sort them in the field by name? right now they are shown in a random way,

    Thanks

  • #10 / Jun 04, 2010 11:54am

    Ingmar

    29245 posts

    I am afraid there is no built-in way to specify a custom sort order here; it should sorted by date, though. If this is important to you, you could either use an extension, or a Stand-Alone Entry Form where you have full control over your forms. Makes sense? Moving to Howto.

  • #11 / Jun 04, 2010 11:58am

    danieljohnbarnes

    151 posts

    Hello,

    1. whenever we add an e-mail address in a post it adds a lot of strange JavaScript code, which malfunctions in Internet Explorer. We understood this feature is good against spammers, but can we disable it?

    How is it malfunctioning in IE? Apologies for dragging this up, but it certainly should work in IE (shouldn’t it?), so rather than disable a perfectly useful feature wouldn’t it make more more sense to fix it?

    If an advertised feature did not work with a major browser like IE, I’d be looking to get it fixed, not simply be aided in switching it off.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases