texts: ReferenceError: EE is not defined error on page with Grids

texts:
I am on EE 2.7.2

Here is my channel form tag that has grid data

{exp:channel:form
    channel="xxxxx"
    class="form-horizontal"
    datepicker="no"
    dynamic_title="[email]"
    edit_member="yes"
    entry_id="{embed:entry_id}"
    error_handling="inline"
    id="basic_information"
    include_assets="yes"
    include_jquery="yes"
    member_id="CURRENT_USER"
    rules:profile_name="required"
    rules:user_provided_address="required"
    return="/xxxxx/"
}

In the page I am using Grid, I have tried doing various permutations of include_assets and include_jquery to make an JS error go away because it blocks Grid from working properly(Grid relies on JS)

CASES

include_assets="yes", include_jquery="yes"

I have this JS error in the console

ReferenceError: EE is not defined

This is the script being included

 http://xxxxx.com/?ACT=7&ui=core,widget,mouse,position,draggable,resizable,sortable,button,dialog&plugin=markitup,toolbox.expose,overlay,tmpl&file=cp%2Fsort_helper,cp%2Fgrid,underscore&v=1381722060&include_jquery=y

include_assets="yes", include_jquery="no"

I have this JS error in the console

ReferenceError: jQuery is not defined
ReferenceError: jQuery is not defined

This is the script being included

http://xxxxx.com/?ACT=7&ui=core,widget,mouse,position,draggable,resizable,sortable,button,dialog&plugin=markitup,toolbox.expose,overlay,tmpl&file=cp%2Fsort_helper,cp%2Fgrid,underscore&v=1381722060

http://xxxxx.com/themes/third_party/mx_lonestar/js/jquery.mx_lonestar.min.js

include_assets="no",include_jquery="yes"

I have this JS error in the console

ReferenceError: EE is not defined

This is the script being included

http://xxxxx.com/?ACT=7&ui=core,widget,mouse,position,draggable,resizable,sortable,button,dialog&plugin=markitup,toolbox.expose,overlay,tmpl&file=cp%2Fsort_helper,cp%2Fgrid,underscore&v=1381722060&include_jquery=y

include_assets="no",include_jquery="no"

I have this JS error in the console

ReferenceError: jQuery is not defined
ReferenceError: jQuery is not defined

This is the script being included

http://xxxxx.com/?ACT=7&ui=core,widget,mouse,position,draggable,resizable,sortable,button,dialog&plugin=markitup,toolbox.expose,overlay,tmpl&file=cp%2Fsort_helper,cp%2Fgrid,underscore&v=1381722060

http://xxxxx.com/themes/third_party/mx_lonestar/js/jquery.mx_lonestar.min.js

NOTE: There is a jquery script at the bottom of the page included

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>

Is there any solution to this problem? I have tried to debug this for a week already but to no avail.


texts: Expresso Store Stripe integration - "The Token field is required." problem

texts:
I've got a payment form set up with all the requisite stripe javascript in place. I can see that at the point of submission, the stripeResponseHandler is getting fired and is coming back with a token, which is being inserted into my form before it's finally submitted.

<input type="hidden" name="stripeToken" value="tok_...">

So I can't understand why I'm getting this error on my payment form:

  The Token field is required.

I mean, it's there, plain as day. I'm getting returned to the checkout page, with that error, instead of going to the final 'order' page. No order is being created in the CP, so something's definitely not working, but it all looks good according to the Stripe docs.

Is this a known issue? Have I made a silly error somewhere?


texts: EE Language files, best practice for maintaining changes?

texts:
I'd like to make some of EE's built-in error messages more helpful to one site's users. And I know I can change these messages in EE system language files like system/expressionengine/language/english/myaccount_lang.php.

But since these files are part of the EE system (not 3rd party), what's the best way to maintain these changes so that they don't get overridden on EE updates, etc.?

For some context, these particular users are having some trouble understanding how to respond to error messages like The email you chose is not available (an error that appears on registration). And, we're looking at a lot of things on the site other than EE system messages to prevent confusion / help site users.

But, as one small part of the overall strategy, we'd like to change some of these EE error messages.

Have you done this on any of your sites? How did you maintain these changes over time?

Or, if you have an alternative approach in EE (template-based? add-on-based?) that allows you bypass or override the EE system language files, I'd be interested in hearing about that too.


texts: Focus Lab Config (bootstrap) working with MSM - still problems

texts:
OK, first question on SE so bear with me. I'm trying to setup an older site (after going through the EE2 upgrade process) on a virtual private server the client has running WHM and cPanel. The sites have been running for quite a while, including ecommerce and as such each site/domain has their own cPanel for managing unique SSL's (and thus unique IP addresses). In this case then, I'm not really in a position to change the setup for the server's directory structure and I'm attempting to get this setup from that point of view.

Ref: https://github.com/focuslabllc/ee-master-config/issues/12#issuecomment-11874743

/home/account1
    /_templates
        /default_site
    /config
    /public_html
        index.php
        admin.php
    /system
    /third_party
/home/account2
    /_templates
        /site2
    /public_html
        index.php
        admin.php
/home/account3
    /_templates
        /site3
    /public_html
        index.php
        admin.php

Now I have checked out the referenced GIST (https://gist.github.com/d27570a3e52bdf656f54) for trying to make Focus Lab Config work with MSM, with mixed results, but my main concern comes down to the fact that the paths are being set based on the URL being accessed. This is all fine and good if you're accessing the website from the front end using it's assigned URL, but if you use the site switcher within the EE control panel, it all falls apart.

e.g. I log into the default sites admin (http://site1.com/admin.php). All path references for template directories, upload preferences, system assets are correct for that site. Now if I switch to site2, my URL still begins with 'site1.com' so any uploads while editing site2 from the same URL will result in the incorrect paths being used.

So this is essentially where I'm at, and wondering if smarter heads here can assist in getting a final solution. My thinking at this stage, is that I need to be able to set a variable for the main server directory (in my case above it might be '/home/' which could be derived from the location of '$_SERVER['DOCUMENT_ROOT']'. The next is the ability to assign an account directory for each of the sites in the MSM (exp_sites) that can then be set as a conditional on the config depending on which site is being viewed within any or all of the possible EE control panels that could be logged into. I'm not sure if the config.master.php is reloaded each time a page is refreshed.

And there you have it. A problem without a solution and not enough expertise in my own head to solve. Any and all help would be appreciated.

Regards
Brendan

BTW, in the config.php and database.php files, I updated the reference to the config master using 'APPPATH' rather than '$_SERVER['DOCUMENT_ROOT']'.

/**
 * Require the Focus Lab, LLC Master Config file
 */
require APPPATH . '/../../config/config.master.php';


texts:
I have a Grid field and in the grid I have relationship field.  I can not seem to get anything to display for the relationship entry. I am using a custom status for my products and in the relationship setup in the grid I have chosen a custom status, not the Open status, this seems to return no results but if I setup products status to Open instead of the custom status then it returns the product information.

The following works if the status is set to Open but not if it is a custom status

{exp:channel:entries channel="video_gallery" dynamic="off" url_title="{segment_3}"}
    {video_gallery}

            <a class="youtube" data-id="{video_gallery:video_id}" data-title="{video_gallery:title}" data-description="{video_gallery:description}" data-product="{video_gallery:product search:status='wall'}{video_gallery:product:product_display_title}{/video_gallery:product}">

{title}

    {/video_gallery}
{/exp:channel:entries}

What do I need to do to get this to work? Any ideas?


texts: Dates before 1900 (even 1800) in EE 2.6?

texts: With the changes to the way dates are handled in EE 2.6, can dates be set prior to 1900 (or even 1800) using the Date form field?


texts: I have a Solspace FreeForm 4 form (free version) which I need to submit using Ajax. I can handle all the field validation in my JS but how do I handle a captcha error?


texts: Assign Credits between different member types

texts:
Im a EE newbie and looking to use zoo visitor and credits as badge system to users.  How I want it to work is Member Group A is able to assign credits to Member Group B so lets say a teacher is able to assign credits to students so their is two kinds of member groups.

I would create two types of dashboards for the member group and the Group A could award any member in Group B.

Is this possible with Credits?

Sorry for the repetition up there!

Best,
Mario


texts: Solspace Facebook Login - Dynamic Return with {segment}

texts:
Might be an odd scenario, but i'm looking to use Solspace's facebook Login with a dynamic return by using segments in the url.

Currenttly fbc:login throws an error when I use any {segment} tags in the parameters.

Here's how they say to use the module:
{exp:fbc:login
    permissions="email|publish_stream|read_stream"
    return_when_logged_in="site/home"
    return_when_logged_out="site/home"
    return_to_register="site/register"
    return_on_failure="site/fail"
}
{/exp:fbc:login}

Here's what i'd like to do

{exp:fbc:login
    permissions="email|publish_stream|read_stream"
    return_when_logged_in="{segment_2}/{segment_2}"
    return_when_logged_out="s{segment_2}/{segment_2}"
    return_to_register="site/register"
    return_on_failure="site/fail"
}
{/exp:fbc:login}


texts: How to protect a digital directory but allow downloads?

texts:
First time setting up a digital purchases online and would like some pointers/tips on how to protect the directory where all the digital items are stored so someone can't access the file directly like: http://domain.com/some/digital/file.zip?

I'm using CartThrob, so I will either use the get_download_link or download_file_form tags which will handle link protection & obfuscation.

I just want to make sure I have all my ducks in a row. Thanks!

Update

I have directory browsing turned off with .htaccess rules, so this fixes listing any files. I saw a couple solutions with adding rules to the directory, but wasn't sure if this would allow CT tags to access the file since I can't access it over the browser:

Order Deny, Allow
Deny from all


texts: Freeform Lite, input error message translation

texts:
The main message error could be translated through template code:

 {if form:has_errors}
            <div class="callout alert">
                There was an error submitting this form..
            </div>
 {/if}

But the input message error: This field is required could be translated only by translating 'This field is required' inside this file:
system/user/addons/freeform_next/Library/Composer/Components/AbstractField.php

 $errors[] = $this->translate('This field is required');

So, how to translate the "This field is required" message error without to modify the AbstractField.php file ?


texts:
So I am having trouble with a simple feature. I am running 2.8.1 and I have a channel file field that uploads an image. The image is only 200k.

I pick the image, click upload and the upload window just hangs. If I cancel and relaod the page, the file I was trying to upload is listed in the available images list so it made it to the server, the upload page just never closed. Happens on all images.

Any ideas what I can check?

Thx!


texts: Comparing the siteURL variable to the current URL

texts:
I am quite new to Expression Engine and am trying to get a handle on the template system. I have a nav with items that I want to set to active if they link to the current page

I have the link built like this so far:

   {menu_label}

The comparison I want to do is as follows:

if ((site_url + 'ranges/view' + url_title) == current_url) -> output class="active"

I have tried the following but I get a Parse/Syntax Error:

   {menu_label}

What am I doing wrong?


texts:
I'm following this guide for sending email in my local environment for testing my freeform's form, but I'm not using Focus Lab config overrides

I configured the email settings as in the screenshot, but it doesn't work

Have you any idea what the problem is? I'm on Windows 7 and I'm using WAMP

Thanks in advance


texts:
Very confusing error: When the Wygwam field is edited with anything beyond one paragraph - or anything else such as an email link is added - the EE "Udpate" button causes a 404 error page. This happens both with a new entry or if the entry is being updated.

This error only started happening when I transitioned the site to a new server so maybe there are some Wygwam paths I need to update? JS files not loading? HTACCESS issues? I am pretty sure Wygwam is causing the entire entry to error because if I leave it blank there is no error.

This problem is, of course, making it impossible to edit content since Wygwam is ideal for body text fields. Please advise?

-Brandon


texts: javascript error on tagger autocomplete EE3

texts:
After an upgrade to EE3 using Tagger 4 by DevDemon, I'm getting javascript errors in the console when Tagger is trying to autocomplete/suggest a tag to use.
The error is:

https://domain.com/undefined&ajax_method=tag_search?term=paint

Any suggestions on how to fix this?


texts: Zoo visitor registration form hidden member group

texts:
Does anyone know how to have a hidden field within a zoo visitor registration form which automatically chooses which member group they will go in? This is my code, which doesn't work:

{exp:zoo_visitor:registration_form error_handling="inline" return='supporters/support-us/success' allowed_groups="9"}
<input type="hidden" name="group_id" value="9" id="group_id" />

My default options set in the control panel under member preferences are for 'self-activation via email' and they go in to the 'members' member group. But for this particular form I want anyone completing it to go to a different member group, called 'supporters', group id is 9. At the moment they're just going in to the 'members' group after activating through their email, so I guess it's ignoring my hidden field?

Any help would be very much appreciated.


texts: How do I add a Grid row using a Channel Form?

texts:
I've been experimenting with ExpressionEngine 2.7.0, attempting to replace my use of Matrix with Grid and updating my Safecracker forms with Channel Forms.

Currently, I have a template where users are able to create a channel entry in a SafeCracker form, which includes populating the first row in a Matrix field within that entry.

I'd like to replace that with a template where users are able to create an entry using a Channel Form and populate a row in a Grid field. I've successfully changed it to a Channel Form, but can't for the life of me figure out how to populate a Grid field. I'll share the code I was previously using:

        {exp:safecracker channel="routine" return="" json="yes" rules:field_id_3[row_new_0][col_id_1]="valid_ee_date"}
            <input name="RET" type="hidden" value="/" />
            <input name="title" type="hidden" value="New Routine" />
            <input name="routine_catalyst" type="text" />
            <input name="routine_reaction" type="text" />

            <input type="hidden" name="field_id_3[row_order][]" value="row_new_0" />
            <input type="hidden" name="field_id_3[row_new_0][col_id_1]" value="{entry_date}" />
            <select style="display: none" name="field_id_3[row_new_0][col_id_2]">
                <option value="n" selected="">NO</option>
                <option value="y">YES</option>
            </select>

        <select name="category[]" id="routine_category" size="4" multiple="multiple" style="display: none;">

            {categories}
           <option value="{category_id}"{selected}>{category_name}</option>
        {/categories}

        </select>

        {/exp:safecracker}

and what I currently have below

    {exp:channel:form
        channel="routine"
        return=""
        json="yes"
    }

        <input name="RET" type="hidden" value="/" />
        <input name="title" type="hidden" value="New Routine" />
        <input name="routine_catalyst" type="text" />
        <input name="routine_reaction" type="text" />

        <input type="text" name="routine_occurence[row_order][]" value="row_new_0" />

        <input type="" name="routine_occurence:date" value="{entry_date}" />
        <select style="" name="routine_occurence:complete">
            <option value="false" selected="">false</option>
            <option value="true">true</option>
        </select>

        <select name="category[]" id="routine_category" size="4" multiple="multiple">

        {categories}
            <option value="{category_id}"{selected}>{category_name}</option>
        {/categories}

        </select>

        <input type="submit" value="submit" />

    {/exp:channel:form}

I know it's still new, but I was wondering whether anyone had had any success with this? The docs are pretty lacking in the area at the moment.

EDIT: I should add that when I use the above code, I receive PHP errors with the message:

Severity: Notice

Message: Undefined offset: 0

Filename: libraries/Grid_lib.php

Line Number: 238

And the entry is created, without the Grid row being entered

EDIT2: Solution below


texts: "Undefined Index" PHP errors after upgrade from 1.6 to 2.9

texts:
After upgrading from 1.6 to 2.9, I’m getting a set of the errors below when displaying a page containing images, one set for each image. I’m running PHP 5.4.x and it says “Fast CGI” after the 5.4.x.

A PHP Error was encountered
Severity: Notice
Message: Undefined index: upload_date
Filename: file/ft.file.php
Line Number: 303

A PHP Error was encountered
Severity: Notice
Message: Undefined index: modified_date
Filename: file/ft.file.php
Line Number: 304

I also had Mark Huot’s File extension running in 1.6. I “resubmitted” or updated the field type for one custom field as “File” and I also ran the fix in this thread on this one custom file field, but only the part regarding the line breaks:

https://ellislab.com/forums/viewthread/218268/

and to see those in my template, I have to use the tag pair, or else nothing is output:

{myFileFieldName}{url}{/myFileFieldName}

I didn’t run the part about including the file directory, because EE is not parsing my {filedir_x} tag.

In all other cases of file fields, where I didn’t run the fix or update/resubmit the custom field type as File, I can get output by just using the stand-alone tag, but I still get the errors:

{myFileFieldName}

UPDATE:

I did some more digging. So this error/warning is taking place at lines 303 and 304 of expressionengine/fieldtypes/file/ft.file.php in a function called:

replace_tag($file_info, $params = array(), $tagdata = FALSE)

and here’s where it chokes in that function:

$date_vars = array(
   'upload_date' => $file_info['upload_date'],
   'modified_date' => $file_info['modified_date']
);

I know next to nothing about PHP, but I reckon $file_info has a problem, so I did an echo on $file_info and it returns what looks like just a string: “Array”.

Not sure where to go from here to fix that. The upload_date and modified_date columns in exp_files table are filled with data, so I can't imagine what's up.


texts:
This thing drives me nuts. There is no reason this thing should be so small. I'd love to:

Make it larger, both vertically and horizontally; and
Style the text inside. I don't necessarily want it to adopt the style of the element it creates, either.

Are these options I have any control over?


texts: What is the Wildcard for expression engine?

texts:
I am trying to use the wildcard for my {if} statement. Where I could have P12,P24,P36,48, etc.

{if segment_4 !="" && segment_4 !="P*"}

But The wildcard is not working for me, does the queries need to be turned on or something?

Thanks for the help in advance.


texts: Outputting a Matrix inside of a Playa field

texts:
I've found a couple other posts regarding same issue, but can't seem to resolve with any solutions out there.

Everything is outputting fine except content in tag pair {studies_outline_block}, which is a matrix field inside a playa field inside of a matrix field.

Any help is much appreciated.

<?php $i = 1; ?>

{exp:channel:entries channel="pages"}
    {studies_projects}

{cat_name}

                {playa_projects}
                    <?php $count = $i++; ?>

<a class="fancybox" href="#inline-<?php echo $count; ?>" title="{studies_caption}">{title}

                    <div id="inline-<?php echo $count; ?>" style="display:none;">
                        <div id="slider<?php echo $count; ?>" class="flexslider slider-js">

{project_name}

                                {studies_outline_block}

Project Size

                                            {content_1}

Project Cost

                                            {content_2}

Project Use

                                            {content_3}

                                {/studies_outline_block}

                                {studies_image_gallery}

                                {/studies_image_gallery}

                        <div id="carousel<?php echo $count; ?>" class="flexslider carousel-js">

                                {studies_image_gallery}

                                {/studies_image_gallery}

                {/playa_projects}

    {/studies_projects}
{/exp:channel:entries}


texts:
I just updated an EE v2.x single site to EE v5.24. The update went fine and the primary site is working as it should. I then enabled MSM and setup a second site.

Note: Both sites are setup under subdomains.

The second site's index page is blank no matter what I do. I have verified the correct info in the 2nd site's admin.php & index.php. Also, when I try to access the CP using the 2nd site's URL, I get the following error:

Parse error: syntax error, unexpected '[' in /nfs/c11/h03/mnt/196778/domains/sanborns.thedesigncore.com/html/engine/ee/EllisLab/ExpressionEngine/Boot/boot.php on line 70

I also noticed that when I try to change the Default Base URL for the 2nd site in the URL & Path Settings to the 2nd site's subdomain, it keeps switching it back to the 1st site's subdomain.

Any help is appreciated.


texts:
I've never been able to get the required parameter to work with a select input. Any ideas why?

            {exp:freeform:form
                ...
             required="full_name|email|organization|telephone|country"
                ...
                }

Then the input code as follows:

<select id="countries" name="country[]"  required>
<option value="">Please select</option>
...


texts:
I'm trying to create fontend channel form page with a Grid field that has 3 columns.  I've tried different variations but don't seem to get it working correctly.  I have the css linked in my header

<link href="{path='css/_ee_channel_form_css'}" type="text/css" rel="stylesheet" media="screen">

The docs say to use

{field:my_field_name}

or if you are using {custom_fields} it says to use
    {if grid}
        {display_field}
    {/if}

But then it says "Manual construction of grid type fields is not supported. Most customization of grid fields can be done by overriding the CSS."


texts:
I'm currently trying to do quite a few things with Channel Form - unfortunately all of a sudden I'm starting to get some odd things happening. Instead of the page submitting nicely the url is doing this:

http://networkleeds.local/content?RET=http%3A%2F%2Fnetworkleeds.local%2Fcontent&URI=content&return_url=%2Fcontent%2Fpayment%2FENTRY_ID&author_id=1&channel_id=7&entry_id=0&ACT=2&meta=qDIxJOIvLN55gCICn%2BLSWCpg6AAVGjQOM38I8s7BJOTAv9ca1mKfPShy1s5pi8UjB58zSLf%2Br6nVBM6P4Q2Wb%2BiZhxRZCj8hlOnzhfICIRzA0s9M6ZGAn4IrnM2k7xr7XcvveK%2BnIVzajgE7x57v4PyY8ugnFm1lDsKTUZoEokwflILWFqjQf7Tf7odrx34V4NjbhHRkMRcYHzfgqdwHobi7hd%2BoAU7%2BGtq2wIywsZtvqKfsb4V7j7RuL%2BJUNgDDuCgDqz9VY4IGPjBJej2bjr63ljfaLAx2X36cwbJU4Pp5HQAA1VdVeS4xdj%2FAuWx6U2zzP8%2Bfnz%2BNP966nHBvXmbeplvj%2F0nqxJQEmJ4E%2BliY7bcaqh4zgmiVKWbVYZsMig9Yu8QGGGgo1JuDARJXb1hNeMzFNOWEQDyYwheQ0me%2BTS%2B1TjgfwujJ6xL%2FXwut82UWCN6CVzvRr0UdmaqnBg1tGHljXpcZ3lMcH646nbrGsuDs95eIu2Qwxt2wh6yLYzxhIruTC655JVNei2r9xhTpsmqd3DkiTJqW5cXh5tbyRvhnXpsBqjglqhxiu6Zis42bT1XQ4L73L5miVIxuGwwpv7szfgWCmKn7thwInPIKs8H4N%2F95dxdXLBu6XSsSPNYdfnZXgOx2ciM%2FCqxDaZyCOeXMOlFrhItnXgzCzp4%3D&return=%2Fcontent%2Fpayment%2FENTRY_ID

For some of my channels it is working fine - but as far as I can tell I haven't changed anything for the other ones. If I look at the code produced it seems to be that the action on the generated form tag is creating this error.

Any ideas?

Thanks.


texts: Expressionengine: How to display single category information

texts:
OK, I have a very simple task ahead, which, somehow got complicated.

I'm creating a simple blog in EE, with categories. Filtering posts by categories works just fine, however, I'm trying to display additional category information ("category_description" field), when I open specific category.

like: www.example.com/apples/ or www.example.com/oranges/
(i don't want to use reserved word like category, because it looks ugly :)

So what I want is, to pull my category info from url (eg. apples) from segment_2, - i got that working, and display the information from apples on the page.

Tried:

{exp:channel:category_heading category_id="1"}

{category_name}

{category_description}

{/exp:channel:category_heading}`

Displays NOTHING

Tried:

{exp:channel:categories category="20"}

{category_name}

{category_description}

{/exp:channel:categories}

Displays ALL categories with "list" tags (I just want ONE without list)


texts: How to update database templates from files?

texts:
I am working on an Expression Engine site where the "save templates as files" has been disabled.

// config/config.master.php
$env_config['save_tmpl_files'] = 'n';

I'm assuming this means that the templates are stored in the database instead of being served from the files. I have made changes to some template files (header and footer partials). How can I load those changes into the production database?

Part 2 of this question is whether or not this is the right approach and how best can I deploy these changes.


texts: Freeform: submit results in system error message without a message

texts:
weird problem. I have a website with freeform that suddenly broke. When you submit a form a basic ExpressionEngine error message is shown but without an error message.

After discovering the problem i upgraded the system from ee2.3.1/freeform3.1.5 to ee2.6.0/freeform4.0.12 but the exact same problem keeps happening. I've already stipped down a test form to the bare minimal but that doesn't change anything.

{exp:freeform:form
    form_name="adwords"
    return="homepage/verzonden"
}
    <label>E-mail</label>
    <input type="text" name="email"/>
    <button type="submit">Verzenden</button>

{/exp:freeform:form}

Anybody got a clue where to look next?


texts: Basic question re creating sectioned lists

texts:
Please pardon the basic question, but I'm rather new to ExpressionEngine and hoping to be pointed in the right direction in using the proper tags for creating lists of items separated into sections by headers. The markup for each section would be along the lines of the following:

Coffee Shops

Coffee Shop 1 logo image

Coffee shop 1 description text

My questions for creating the proper EE markup are as follows: (1) With which tag pairs can I achieve this sort of list divided by section? (2) How can I specify the order of the sections? (3) For each bit of information for each item, I'm using a separate block level element with a class, e.g.
 or
 corresponding to each relevant channel field-- is it possible to not have one of these blocks appear if the corresponding image/info is not entered for the field? For example, if a logo image is not available, and thus not entered/published for the channel field, that the div with class logo would be omitted altogether from the entry?

Thanks for any guidance here.


texts:
I need to display a message if an entry is more than 90 days old. The below code doesn't appear to be working, any tips on how to get this done?

{if {current_time} > {entry_date} + 7776000 }

Your safety training is out of date.

{/if}


texts: Exp:resso Store not sending email order confirmation

texts: Not receiving emails from Exp:resso Store 1.65 when order completed. Nether order conformation to the buyer or the notification to the store manager are generating, you can see the order when I login. It seemed to start when I migrated the site to hosting on nexcess.net. Any ideas, lost.


texts: Initialize Wygwam within Custom Fieldtype

texts:
I'm developing a fieldtype add-on and within the fieldtype, I would like to include the option to let users choose Wygwam as the text element, if they have it installed.

Is there some sort of a "build" method in Wygwam I can use within my fieldtype? Similar to the way the native RTE has the following, which you can use to initialize and assign it to text areas:

ee()->rte_lib->build_js(0, '.textarea_class', NULL, TRUE);

Anyone know if Wygwam has something similar, or anyone have experience in using Wygwam within their own fieldtype?


texts: Expresso Store/USPS plugin and multiple services/methods

texts: I recently purchased the USPS plugin and wanted to know if it's possible to run more than one service (I'd like to offer priority or express to my customers) without using the "All" option.  Is this possible?


texts:
Has this been done before?
I'm in a situation where I need a column hidden from content managers and only visible to the super admin.


texts:
I have some templates in a group called 'client area'

they include

client_area
  - profile
  - editprofile

so these resolve to

client_area/profile
client_area/editprofile

I want edit profile to resolve to

client_area/profile/editprofile

without having to create a sub group of proifile. Is this possible?


texts: Create a link to add Matrix stored event to iCal using Easy iCal

texts:
Sorry if this is obvious but we have an entry which contains multiple venues and dates for a specific event.

I want the user to be able to add a specific venue and date to iCal by simply clicking on a link.

The Easy iCal docs are a bit light so can someone explain the best way to do this.

PS. Using Stash if that makes it easier!


texts: Check for channel entry seo data or use template code instead of defaults

texts:
I am using stash on a client site and was pushing over data from the entry itself for SEO meta, but want to provide the user the ability to customize it with the SEO Lite tab. Is there a way I can check for the SEO Lite custom entry specific values only? It seems that the default values are being checked against as well. Currently, I was trying to use the tag pair to do things like this:

{exp:seo_lite use_last_segment="yes"}
    {if title}
        <title>{title}</title>
    {if:else}
        <title>{exp:stash:seo_title strip_tags='yes' trim='yes'}</title>
    {/if}
    {if meta_description}
        <meta name="description" content="{meta_description}">
    {if:else}
        <meta name="description" content="{exp:stash:seo_desc strip_tags='yes' trim='yes'}">
    {/if}
    {if meta_keywords}
        <meta name="keywords" content="{meta_keywords}">
    {/if}
{/exp:seo_lite}

Does anyone know what I should be doing in order to accomplish this? Or if it's even available?

EE3, Stash 3.0.0, SEO Lite 1.5.1


texts: Category Filtering from two groups - relationships (?)

texts:
Does anyone know a way to create a category based naviagation which has two category groups that need to relate to each other in order to build out a basic list?

I have channel with two category groups assigned to it:

Type
Brand

I then have categories in said groups like so:

Type

Guitar
Amplifier

Brand

Guitar Brand 1
Guitar Brand 2
Amplifier Brand 1
Amplifier Brand 2

Now, I'd like to display a list of categories from the Brand category group. That of course is easy but, I'd like to filter that by each of the Type group categories as well.

For example: I'd like to display a list of Brands which, based on my above example cats, would display Guitar Brand 1 and Guitar Brand 2 as those are both guitars and have been assigned the Guitar category as well. I'm filtering Brands categories based on the Type (Guitars in this case).

Note: this is a global navigation so there isn't anything I can do with URLs.

Any ideas on an approach? Is this even possible with native EE? Any add-ons which would make this possible?

Thanks for your input and ideas!


texts: ExpressionEngine API - Adding a category

texts:
I am wondering if it's possible to dynamically create a category using the Expression Engine API?

To explain my issue a little, I'm reading a 3rd party SOAP API which returns me a list of categories which could change so I can't really pre-create my categories in EE. Within each of those categories are some articles.

Now I need to insert these articles into Expression Engine through the API which is fine but wanted to "tag" these articles based on their original categories.

Failing that the only way I can think to keep track of the article's original category is to make sure a channel exists for each category I find in the API, then insert into that channel.


texts: Addon for placing pinpoints on an image?

texts:
I'm looking to do something similar to the pink pinpoints seen on the screenshots here: http://ee-garage.com/nsm-live-look

I want the client to be able to add pins at a certain point on the image and optionally add some content to that pin.

I tried looking through Devot-ee, but couldn't find anything.


texts: CP access: admin.php or system/index.php

texts: A site that I built last autumn had the CP url set as system/index.php (I think I was following Ryan Irelan’s advice in that regard). It works fine. However, last night I did a quick install of EE Core and the bit of the installation wizard specifying ‘URL to your control panel access file’ pre-filled itself with admin.php. Either method seems to work (provided I appropriately specify the $config['cp_url'] parameter in my config.php file) but I am left wondering which is the ‘correct’ way? mydomain.com/system/index.php or my domain.com/admin.php? And is one way more secure than the other?


texts: What I do wrong with Low Search and Tag in result page?

texts:
I try to understand how Low Search works and been trying to get Solspace Tags as human words instead of ID's in my result page like: Your search keywords were: foo, bar.

But I dont understand what I need to do to make this happen.

Here is example with what I have tried a lot of different setups with no luck.

Would be thankful if someone point me what's wrong, thanks.

Your keywords: {exp:low_search:param:loop get="tag_id" as="tag_name" query="{segment_3}"} {exp:tag:tag_name}{tag}{/exp:tag:tag_name}{/exp:low_search:param:loop}


texts: CE Cache or Solspace Static Page Caching: One Faster than the Other?

texts:
I've been developing CMS and now EE websites for so long I forget how fast a static website it. Had to save a CMS website as static earlier. Speeds went from approx. 200 to 300ms to 30ms.

My own site I get approx. 150ms speeds with EE caching.

I installed CE Cache and now get approx. 50 to 100ms speeds, so it does help.

My own site as a static site is approx. 30ms.

Speed is extremely important! So important I am wondering whether to ditch EE and go for static. But I am not giving up! Surely there are ways to make a EE site comparable to static.

I then found Solspace's "Static Page Caching". I have not tried this as I have to purchase it and already just purchased CE Cache.

So... I wondered if anyone has any experience with the two, if one is faster than the other?


texts:
Banned by my own cPanel ?

Recently I wished to delete some members email addreess's for spamming. This seemd to go OK and when I

searched for the banned email address it was no longer found. But, I also tried to change the default

website that people are redirected to if they are from a banned ISP. It currently defaults to Yahoo.

I was presented with the error message below, and no change was made. Can anyone help ?

Forbidden

You don't have permission to access /admin.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the

request.


texts:
I have one channel called E.
I have another channel called B.

I am trying to get my head around relationship in ee.

fields in channel E

title
url_title
e_name
e_description

fields in channel B

title
url_title
e_tag_b(relate to event e_name or title)
b_url

What I am getting in my last_segment is a url_title of channel E.Only this as my resource I want to get all the entries for channel B.

I read this doc,but i found it too confusing.

What I am doing :

{exp:channel:entries channel="B" }

{e_tag_b:title}

{e_tag_b:b_url}

{/exp:channel:entries}

I get consfused about what to loop when and which tag is to be related where.Any help?


texts:
I've just upgraded from EE 2.5.3 to 2.6.1 and am fighting through all the damage it's done to my site.
At the moment I'm stuck on the seeming failure of WYGWAM (3.1.1).

I'm having the same issue which is mentioned here but which wasn't resolved in a public or global way.

Whether editing existing content, creating new content, or even creating a new field group and channel and then creating new content with that, I see the same behavior:

The WYGWAM field flashes once quickly (blank white for new content, white with raw source content visible for existing content) and then disappears to show only the grey background of the console.

My production site still uses WYGWAM 2.3.5 but there is no evidence of a skin.js file in that package, so that "fix" mentioned in another post is not applicable.

Anybody have any ideas where I can look, or what I can do to debug this?

I haven't yet tried un-installing and reinstalling, because there doesn't seem to be a way to do that without losing all the data, which I very much want to avoid.

[brief update: just discovered that WYGWAM 3.1.2 is available. Installed it, problem remains.]

[Sorry, forgot to list my installed addons]
ab_pagination, assets, ce_cache, ce_str, child_categories, force_ssl, freeform, matrix, my_title_control, playa, primary_category, sitemap, str_rexp, taggable, tagstripper, trunchtml, url_encode, wygwam

Andy


texts:
is there a way to upload an big images -> resize the big image to a small one -> delete the original images.

I`m not talking about Image Manipulations function, but an direct resize.


texts:
EE 2.4.0
Matrix 2.2.4

I've got a big problem with expression and a matrix field.
Matrix field:
- celtype: text
- formating: none
- content: all

The field is for a facebook address. And one way or an other my client puts a double slash in the address. The result is that the entry, if you want to change that, gives:
Fatal error: Call to a member function row_array() on a non-object in /home/sites/site38382/web/system/expressionengine/libraries/File_field.php on line 314

I can't delete the entry the checkbox is grey. I found out what went wrong by cloning the entry and saw the double slash. But when I clone the entry I get twice the entry. The only way to get rid of this entry is in the database.

How can I delete the entry / how can I precvent this in the future / is this a matrix error?

greetings,

Franka


texts:
I'd like to import a custom channel layout into another channel that uses the same fieldset. Is there an easy way to do this?

Using EE 5.2.2.


texts: Unable to use price:plus_tax with Matrix field

texts:
I've got a matrix for my price modifiers. I don't map the base price field because I want to use the modifiers price as the full price.

So when I use my {price} variable I get the price without tax. I've tried {price:plus_tax}, but that doesn't seem to work.
Everything is ok when I view my cart, but I really want the option to show the price with or without the tax in the step before.


texts: Trigger to Change Author's Member Group on Channel Status change?

texts:
Is it possible? Basically the scenario is this:

1) Member in default Member Group submits Channel form to make entry.
2) Entry automatically set to status 'Under Review'
3) Admin reviews and - if necessary - marks 'approved'
4) Author/Member automatically changes group from 'Members' to 'Approved'

Is there anyway of doing this? I'm thinking perhaps not. Looked at Zoo Visitor but don't think it's the right fit. Any suggestions?


texts: Limit relationship field options to those authored by current member group

texts: I have a channel field that has a relationship to another channel. In cPanel, in the dropdown of the relationship field, I want it to only display the items in the other channel that was authored by the current member. Is this possible?


texts:
My original EE setup had it where if you mistype a url (eg. www.site.com/carrers) it is set to load in an empty template. Just recently, if you mistype URLs, you get a blank page of nothing.

Any ideas as what's going on and a remedy?

EE 2.6.1


texts: {segment_category_ids_piped} only returning one cat id

texts:
EE3

first_segment = /cycling

I've added the following to a template:

{segment_category_ids_piped}

But it only returns a single category, even though 'cycling' is present in 2 category groups, and twice in one group!


texts: Channel entry not showing up on homepage

texts:
For some reason my channel entry stopped working on homepage (index.html) template. I am calling the same channel entries in the header and footer and I am completely stumped as to why it stopped working. Any ideas what the issue is?

UPDATE: I just took another look at code in embed header, head and footer and anything in channel entry {exp:structure:entries channel="pages"} is not being called, however working on all other pages and templates.

ANSWER: The issue was caused because "Make Entry Sticky" was unchecked. By checking that, all of my entry data outputted correctly.

Here's a look at code:

{embed="embeds/head"}
{embed="embeds/header"}

                        {exp:channel:entries channel="pages"}
                            {homepage_main_images}

{content}

{title}

                            {/homepage_main_images}
                        {/exp:channel:entries}

            {embed="embeds/sidebar_nav_left"}

{embed="embeds/footer"}


texts:
I 'm using Discussion Forum having millions of posts due to which search in forum in much slow. Could anyone please share a way to optimize the forum search.

Thanks,


texts: Limit related_categories_mode to last child category

texts:
I'm working on a site that sells maps, and I'm using related_categories_mode="yes" to display similar maps to the one you're viewing. Maps can be assigned categories such as:

Europe

United Kingdom

England

Scotland

France

Germany

United States

New York
... etc ...

My problem is: If a map is marked as "Europe > United Kingdom > Scotland", EE displays any maps from "Europe", rather than "Scotland". I need it to be more specific and find ones in the highest category that's been assigned.

Does anyone know of a way to do this? I'm on EE 2.5.2.

Thanks!


texts:
Is it just me or is it very difficult to just pick this add-on up and get it working. I've been trying to follow the documentation on the site for a couple of hours now and I still can't get my first map to display. What I feel is missing from the docs is a simple "How-to" on setting up.

Sorry for the mini-rage but I've wasted a lot of time reading docs that just seem to get straight into using the tags but no intro or walkthrough for what you need to set up in your channel to get it working.


texts:
I have a pretty simple template set up that has one image and a block of text, but for some reason the page takes 3 seconds to load at 37 queries. I have tag caching set so subsequent loads of the page are around 2 seconds at 21 queries. What's causing this lag in data being returned? The image that's being called is on Rackspace Cloud Files CDN and only 140kb in size. Here's the applicable chunk of info from Template Debugging:

(0.026589 / 11.08MB) -> Method Called: entries

(1.552342 / 19.17MB) -> Data Returned

Related to this is the homepage which takes 90.5082 seconds to load at 103 queries on first load. Though this is probably due to the fact I'm calling 100 images with Channel Images :)

Any thoughts on how to optimize? The caching works great, but it's the initial load that I'm worried about.


texts: Shortlist - Multiple list validation and removal not working

texts:
I have tried to use this below peace of code to auto add list for all the users.

Then based on user action try to remove entries from any existing list and add to new one that i wanted.

But multiple parameter passing with pipe is not worked, so tried to duplicate the parameter and no success.

any idea of how i can achieve this out of the box. or its simple not possible with shortlist.

Have this in "Blist"
 Move to Your "B list"

My requirement is to build workflow of moving entries from one stage to another with single user action.

Appreciate any help on this - try to get some idea from add on developer but no success sofar.

let me update here if i get anything in the meantime

Thanks,
sus


texts: Creating a button in module control panel to manually perform module action in EE 2

texts:
I have a module with an action that is in the actions table.
I need to be able to click a button in the module control panel which will perform the action(which usually takes about 15 seconds to complete) and then show a success message on completion.
I've been through the module tutorial and could not get it working.
Some help and guidance would be GREATLY appreciated.
Thanks.


texts: Grid Fields - Alternative ways to display editable Grid

texts:
I see in the documentation that the grid editable fields is outputted using the tag {field}

{exp:channel:form
    channel="xxxxxx"
    ...
}
    {field:foobar}
{/exp:channel:form}

This displays the rows and columns, some controls for adding, etc.

My question is, are there ways or custom addons that will allow me to manually output the markup?

The problem with the native solution is that I am not given control on how the markup is done, which means that it looks pretty out of place for my site


texts: Structure nav to show only specified entry ids?

texts:
Is it possible to have a structure:nav tag that only brings in the entry ids that are specified? I've tried the other way round and excluding all other ids but it seems a bit overkill and doesn't actually work.

Any help would be awesome.

Thank you.


texts: Search not rendering excerpt (or full text)

texts: anyone ever run into an issue with the simple search form where it won't render the excerpt or the full text?  I'm using the simple search form from the search module (EE module, not a 3rd party) ... I'm getting results with the title of pages but nothing more.


texts:
I'm trying to get the checkout template working with SSL. When I set the Require SSL parameter to YES in CP / Store / General. loading the checkout template (https://www.mydomain.com/nl/store) fails and returning an error page: "The requested URL /nl/store/checkout was not found on this server".

I've used a multi language set-up where each country has it's on folder in the root, containing a separate .htacces and index.php file. Other then the SSL issues the site and store functioning properly.

.htacces:

RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /nl/index.php/$1 [L]

index.php:

$assign_to_config['site_index'] = '';
$assign_to_config['site_url'] = 'http://www.mydomain.com/nl/';
$assign_to_config['site_404'] = 'site/404';
$assign_to_config['global_vars'] = array(
    "country_code" => "nl",
    "language" => "Nederlands"
); // This array must be associative


texts: Configure wygwam configuration via field parameter?

texts:
Within a channel form, is it possible to override/specify the editor configuration that wygwam uses?

For example:

{exp:channel:form channel="post"}
    <label>Post Content</label>
    {field:wygwam_field editor="basic"}
{/exp:channel:form}

Basically, I want the users in the CP to have access to the "Full" editor. But users submitting content via the front-end/Channel Form to have a "basic" editor load.

Is this possible?


texts:
I'm a newbie to Backup Pro / Backup Pro(ish), and also to Cron jobs, and was hoping someone could help as this is happening on every site I've tried to set up.

I have Backup Pro(ish) installed on a site now (I'm hosting with A Small Orange).  If I go and click on the Backup Database tab, everything works great and a backup is created in the correct folder (above root).  If I use the URL given to me under the "Cron Commands", it will create a backup.  However, my Cron jobs are not creating backups.  To create the Cron job, I went in and selected the frequency to create them, then pasted the full command (wget ?ACT=xx&type=db) into the command line.

It runs, as I get an email.  Here is the message that I get (IP and correct URL are removed)

--2013-09-20 12:00:01--  <MYSITE>?ACT=xx Resolving <MYSITE>... xxx.xxx.xx.xxx Connecting to <MYSITE>|xxx.xxx.xx.xxx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
Saving to: `index.html?ACT=xx.5'

     0K                                                        0.00 =0s

2013-09-20 12:00:02 (0.00 B/s) - `index.html?ACT=xx.5' saved [0/0]

Any other suggestions on what to look at?

Thanks in advance!


texts: How to check if an Asset field is empty within a Matrix row

texts:
How can you check if there is an image within an Asset field within a Matrix field.

I have tried

{matrixField search:asset="not IS_EMPTY"}

and

{matrixField}
{if asset != ''}

But it still does it anyway. I have updated to the latest Matrix but still have issues.


texts: Using {switch} to Repeat Divs at Intervals

texts:
I have a loop of entries using a playa field to show multiple entries. I would like certain formatting to happen every 3 intervals. I found what I believe to be the solution to my issue here:
https://stackoverflow.com/questions/13050550/how-can-i-insert-html-at-repeating-intervals-in-expressionengine

But something isn't working right. When I look at the result of my loop, there are too many closing divs. It looks like my opening switch statement is working the way i'd like, but the closing switch statement is incorrect. Could someone tell me what I'm doing wrong?

Here is the code in my template:

{playa_field show_future_entries="yes" show_expired="yes"}
    {switch="

||"}

    {if row_count != total_rows}{switch="||

"}{/if}
    {if row_count == total_rows}

{/if}
{/playa_field}

Here are the results in the browser:

Here is what I would like the outcome to be (lets say the total results are 5 in this case, but this number could be more or less depending on the channel entry):


texts:
I'm trying to build a conference schedule and I would like each time slot entry in my channel to be ordered by the time designated in a custom field. My first approach used a text field {start_time} to enter the time the event begins. Then I set the entries tag to orderby="start_time" sort="as". Unfortunately, the output was as follows:

11:00am - 11:15am | Break
11:15am - 12:30pm | Breakout Session II
12:30pm - 12:45pm | Break
12:45pm - 2:15pm | Lunch & Keynote
2:15pm - 2:30pm | Break
2:30pm - 3:45pm | Concurrent Session III
7:30am - 12:00pm | Conference Start Time
8:00am - 9:00am | Breakfast Buffet
9:00am - 9:45am | Opening Welcome and Remarks
9:00am - 9:45am | Break
9:45am -11:00am | Breakout Session I

I understand why this is happening and have looked into Low Reorder as a possible solution. But before I purchase I was wondering if there was another solution to this that would not involve entering the times in this format: 07:30am.

Thanks!


texts: Display content customized by member type?

texts: How do you display content by member type?


texts:
EE 5.1.1

On the home page of the site I am pulling in the latest 3 blog entries with this code:

{exp:channel:entries channel="blog" dynamic="no" limit="3"}

        {title}

{/exp:channel:entries}

However instead of the latest 3 blog entries I get one entry titled homepage, which is the most recent entry in the system.

Have triple checked that the channel name is correct and have dynamic="no" parameter set so would expect this to work correctly.

Please advise.


texts:
We sell clothing items on one of our websites and I'm trying to update the error message a customer would receive if they tried to add a product to their cart without selecting a size from the size modifiers. Right now when a user tries to add an item without selecting the size modifier, they are redirected to a new page that reads:

The form you submitted contained the following errors:
Store: Can't find product (entry ED: 190, modifiers {"56":"Select"})

I've tried looking into having the error displayed inline on the page, but I don't think I'm able to use error_handling="inline" in either of the following tags:

{exp:channel:entries

{exp:store:product

We aren't running the {exp:store:checkout tag on this particular page. Any ideas on how to accomplish this? I am also open to updated the default error message templates. I just need the error message to be more useful and say "Please select a size before adding the item to your cart."

Any help would be appreciated. Thank you!


texts: I am updating my Terms and Conditions page in the footer of my website and it won't let me add any more words in the back end. As if I have reached my page, word limit. How do I increase this?


texts: system overrides for session timeouts -- deprecated?

texts:
There's a note in the docs (here) talking about cp_session_ttl and user_session_ttl overrides being replaced as part of the 2.8 update. But I can't see anything about it in the changelogs. Am I misunderstanding the note in the docs? Can somebody clarify this for me?

(I'm using those overrides as part of my MasterConfig setup and want to know if I should remove or change them).


texts: Adding Cidoc Sphinx theme to my documentation

texts:
I am following instructions given here

I get the following error when entering $ git submodule add git@github.com:adrianmacneil/cidoc.git user_guide_src/_themes/cidoc in the terminal:

fatal: Not a git repository (or any of the parent directories): .git

Help?


texts: I've just updated EE to 2.5.5 only to find that matrix images aren't showing. Apparently I need to update matrix from 2.1.2 to 2.5.3 to solve this, but when I do all of the site's pages go blank. Any idea how to solve this?


texts: The CP Dashboard from the Forms Module is only visible for de admin. I would like to make it visible for a member group. The member group can access the module but they don't see the dashboard on de CP home page.


texts:
I just updated to EE 2.8 & MSM 2.1.6 and now when I try to edit a channel field, I get a blank page.

Any help is appreciated.


texts: What (and when) to expect from EE6 (and from updates of EE5)?

texts: For example: since EE acquired by the Packet Tide, should we expect features of EEHarbor addons in EE core?


texts: Freeform, Entering a value and inserting the value in another field in same form

texts:
Is it possible to use the value that a user inputs into another input on the same form on submit.

The idea is that they input their phone number, in the phone_number field and on submit of the form it prepends phone_number infront of some other text in a seperate field on the same form.

So end result is : 07231923738(prepended text)

Cheers.


texts:
In this case I'm using switchee to test if a product exists in a cartthrob order (could be 1 item or 100 in the order) and should a particular product be found then load a snippet.

The issue is the test continues running for all items in the cart, spitting out multiple snippets if the condition is met more then once, obviously. You could replace cartthrob data with channel:entries data and same behaviour persists.

What I suppose I'm asking is there someway with switchee or normal if syntax to exit when any condition is met?

I am already using stash which may be useful but at a bit of a loss ATM.

UPDATE#1

{exp:cartthrob:cart_items_info}
{switchee variable="{channel}" parse="inward"}
    {case value="event"}{!-- There is an event, look it up and show results --}

            {stash:embed:upsell:emb_get_upsell stash:entryid="{entry_id}"}

    {/case}

    {case default="yes"} {!-- If no event exists then add generic upsell snippet --}

Need a generic products upsell here

        {stash:embed:upsell:emb_generic_upsell}

    {/case}
{/switchee}
{/exp:cartthrob:cart_items_info}

Looking at that code, I can see why it's repeating and adding multiple, what I really want is to look through all :cart_items_info & if an event IS found, load the desired snippet and EXIT OR if no event exists then load generic snippet AND exit.


texts: Everytime I save a low variable, it returns the home page

texts:
Everytime I click save on low variables page I end up on this url (below) but the homepage of my website is shown and the low variables are not saved.

http://locantro.com/admin.php?S=0&D=cp&C=addons_modules&M=show_module_cp&module=low_variables&method=save


texts: All new entry tabs are blank (date, categories etc)

texts:
I wonder if anyone else has had problems with all the fields disappearing from new entry tabs?  I have the tabs but no drop downs etc.  I've also stopped receiving comment notifications? I'm on EE 2.10

Cheers

Andy


texts: Remove segment and segment parts out of url

texts:
Alright I seem to hit rock bottom, and can't figure this out.

I've googled and read several solutions here, and can't seem to implement them in my situation.

This is probably an .htaccess solution, which is another reason why I'm asking the question because I don't know how to come up with a solution myself.

So I'd like to take a segment/parts of segment out of my url.

domain.com/one-day/one-day-denver and like it to be - domain.com/denver

I'm using structure to give me my url structure. I could recreate the page and make it name how I want it, but it would defeat my relationships that I have with playa.

Whats a quick and dirty way that I could write in my .htaccess?

I currently have these rules on there.

<IfModule mod_rewrite.c>
  RewriteCond %{HTTPS} !=on
  RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
  RewriteRule ^ http://%1%{REQUEST_URI} [R=301]
</IfModule>

and

RewriteCond $1 !^(notes|api|cms|fw|themes|uploads|favicon\.ico|robots\.txt|index\.php|speakers\.json|ads|email) [NC]
RewriteRule ^(.*)$ index.php?$1 [L]

How do I write it to remove what I asked about and still and have the inner workings still poiting to /one-day/one-day-denver

I appreciate any help.

Thanks!


texts: Solspace Super Search - Export Search Log

texts: Is there a way to export the search log from Solspace Super Search's control panel to save as a file? I'd like to be able to save previous results before clearing the log.


texts: Trouble with Relationship content displaying

texts:
Following a recent upgrade to EE 2.6.1 I am having trouble with relationship navigation content showing up correctly here. The content in question is the right sidebar where is says: Sub Navigation.

Here is the code:

Sub Navigation

                                {exp:channel:entries channel="customer_services" orderby="entry_date" dynamic="off" sort="asc"}
                                {if parent_page=="0"}

                                        {title}
                                        {reverse_related_entries weblog="customer_services"}
                                            {if count==1}
{/if}

{title}

                                            {if count==total_results}
{/if}
                                        {/reverse_related_entries}

                                {/if}
                                {/exp:channel:entries}

I would appreciate any guidance for getting this to display correctly.

Thanks!


texts: Solspace Facebook Connect passive registration use email as username so it matches User

texts:
I'm using Solspace Users as well as Facebook Connect.

For all new member registrations through User I have username set to always use email address.

I'm also creating new members with passive registration through Facebook Connect's login button. However, when members are registered passively it looks like the username is being automatically created based on screen name with underscores, rather than using the email address.

I want all members, including those created with FBC's passive registration, to use email as username - otherwise if someone logs in with facebook and then later tries to login with email and password, they won't be able to login the traditional way because their username is not properly set as their email address.

What do I change in FBC to get it to behave this way, so that passive registrations have the same format as if they were manual registrations through User?


texts: Matrix: possible to customize in SafeCracker?

texts:
I'm displaying a Matrix in a Safecracker form. Is there a way to customize the way it is outputted? For example, it seems that I need to have include_jquery="yes" and safecracker_head="yes" in order to make it work. This mucks up the markup as it injects JS in the middle of my page. For the JS, I'd like to have it as an external file so that it can be cached.

The styling of the table also clashes with my design. And a big problem is that the matrix table is not responsive. I'd like to set my own classes (I'm using Twitter Bootstrap) to make it responsive.

I'm happy to do the markup myself. I just need to somehow let Safecracker/Matrix know that the table I create is for a particular matrix field. I'd also need to support those Matrix options like "Delete row".

Is this possible?


texts:
In a Catch-22 situation where SagePay won't approve a merchant account for client unless we have a working dev site for them to test a transaction on which is set up to integrate with … SagePay.

Anyway, have set up a CartThrob install using Twitter bootstrap to keep things simple with the gateway at checkout set to 'SagePay Europe Offsite (Server)'. However, on checkout I get the following error message:

Error
<url> malformed (3)

Not sure how to troubleshoot or debug. My immediate guess is that the vendor name (which I don't yet have as the merchant account is pending approval) is required for sending a user to SagePay during checkout. Is that correct?

Cole


texts: Login issues on front end - what to do now?

texts:
Situation:

Expression Engine v2.6.1 - Build Date: 20130506

I have a live server and a dev server. They are identical.

The problem

On the live site, members cannot login on the front end. I can login with my admin un/pw to the control panel, but I cannot via the front end. When I try to login I am taken to the homepage of the site and I am not logged in.

The front end doesn't recognise that I am logged in in the control panel either.

All of this has just started today. No changes have been made.

The dev server works as it should (logs in fine)

I have tried

To solve this issue I have tried:

Changing the session options security settings
Deleted cookies and browser history etc
Setting a cookie name .example.com
Checking to see if the front end recognises me as logged in to the control panel (it doesn't)
I have set up a basic form to test logging in away from the main front-end code. Here is the form:

{exp:member:login_form return="http://www.exmaple.com/some_test"}

            Username

            <input type="text" name="username" value="" maxlength="32" size="25">

            Password

            <input type="password" name="password" value="" maxlength="32" size="25">

<input type="submit" name="submit" value="Submit">

{/exp:member:login_form}

Everything works on the dev site as expected. On the live site (using the test above) I try to login and it just re-routes me to homepage and doesn't log me in.

My question

Apart from updating the CMS, what would be you recommend doing next?

This issue exists on Chrome, FF and Safari on Win7 and Mac 10.9


texts: 2 different domains (MSM) frontend problem ONLY. We can not switch site and stay logged in

texts:
MSM site on different domains (NOT subdomains)

When logged in to CP we can switch sites.
When logged in through a frontend form we can not.

Settings for all sites: cookies cookies

Config system:

    $config['allow_multi_logins'] = 'y';
$config['multi_login_sites'] = "http://www.domain_1.org/|http://www.domain_2.org/";

settings in each sites index . php

    $assign_to_config['allow_multi_logins'] = 'y';
$assign_to_config['multi_login_sites'] = "http://www.domain_1.org/|http://www.domain_2.org/";

We do hope to get some advise here, but if this old answer is still true we must accept this situation: Registering/Logging into multiple sites at a time with MSM

Thanks a lot for answering!


texts:
I can't seem to be able to sort Asset files by their title, instead only by their filename through orderby="name".

Is it possible to use the Title field for ordering?


texts: File upload not working in expressionengine 2.10.0

texts:
i just got expression engine 2.10.0 and i made a channel with a file upload field, when i try to upload file i click on Add File> Upload File> Brows, after selecting my file when i click on upload file it does nothing and just waiting. i checked in browser developer area in net> Html tab i have this message:

Reload the page to get source for: mysite.com/system/index.php?/cp/content_files_modal/upload_file&S=1301649de23f656ed526f3d407847484

all permissions are right and upload destination is ok.
any suggestion what could it be??


texts:
I need to set up an order feed to supply order details to a reviews website, it has to have specific field names and be in CSV format.

Is there an option to do this in cartthrob? Or will I need to create a template, if so are there tags available for orders?


texts: Image manipulations with category images

texts: Is it possible to use image manipulations with category images? I have heard conflicting reports and it's not working for me. There is a spot to designate image manipulations for category images, but it does not work to reference {category_image:medium} in a template.


texts: Autofilling existing logged in Expresso Store customer information in checkout fields

texts: Is there some way that when an existing customer is logged in and places something in their cart, that it would autofill their billing information from their existing data, instead of having to re-fill in that information?


texts:
I'm getting these PHP errors with Assets 2.05 installed in EE 2.5.5. When an uploaded image is edited through the File Manager "Edit File" or "Edit Image" actions, these warnings show:

Undefined index: upload_location_id
Filename: assets/ext.assets.php
Line Number: 255

Undefined index: file_name
Filename: assets/ext.assets.php
Line Number: 255

Undefined index: upload_location_id
Filename: assets/ext.assets.php
Line Number: 260

Cannot modify header information - headers already sent by (output started at /home/curvedes/public_html/mercytouch2/system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 809

The image shows up properly in Assets, indexing shows all the upload folders, which have their preferences set to 777.

If I uninstall Assets, the errors disappear. Any ideas on how to solve this?


texts:
I recently moved a site from local to staging and when I go to the front end or the back end (CMS) it throws this error...

Unable to load the requested class: cache

Carl Crawley tried to help me via Twitter (https://twitter.com/madebymayo/status/476274119097733120) by suggesting that it is quite possibly that my .gitignore file is blocking anything to do with cache...

So I checked the .gitignore file and there is no reference to any cache files.

I'm using Tower & Beanstalk to run git and deploy. Is there anything default in these two that is causing a file not to upload.

Is there anyway of knowing which file it needs, so I can just manually upload it?

I'm running EE 2.8.1 and I did notice they added something to do with cache in this version. So maybe thats it. Is there anyway of disabling this?

http://ellislab.com/expressionengine/user-guide/optimization/caching.html#caching-drivers

EDIT: I changed the cache from file to dummy. I also reuploaded ALL the files via FTP without any Gitignore files interfering with the transfer. I still get this error. Is it something on the server I could change?

Thanks!


texts: Are PDFs still an XSS problem with EE uploads?

texts: I keep running into this and I'm hoping there is a suitable solution - PDF uploads by anyone other than a super admin run into the error "the file cannot be written to disk". This persists unless, as I've spotted in the bug tracker, the "solution" of turning off XSS filtering. But as I understand it, XSS is a good thing when it comes to security.  Is there any way around this?  Should I be particularly concerned about security if I turn off XSS filtering on file uploads?  My clients generally LOVE to be able to simply and easily upload a PDF file through the entries screen, but we don't want to create security holes either.


texts: Expression engine search using a numbers

texts:
I'm having this strange thing when I search for items in EE. Whenever I search for an item having the name "89580.32" this doesn't work. If I add a letter to it, it seems to work. The solution is obvious, just add a letter and that's how I was thinking about solving, though I will forever be wondering why this is as it is.

I have already tried:
- Changing the database field type to varchar
- Adding a number to make sure it would be indexed (because of it being to short maybe?)
- Deleting the point
...which all didn't work.

Is there anyone out there who can shed some light on this? I assume it's because of it being looked at as a number instead of text?

Update: It's when searching using the search:customer_field inside the EE channel entries tag


texts: Multilangauge Solution that doesn't require using segments

texts:
I have looked at Multi Language Module and Multi Language Support add-ons as solutions for multi language support.

However, both of them require adding a segment in the url/ Something like

http://domain.com/en/page
http://domain.com/fr/page

Now, I really don't like this because it would break pages which rely on how segments are placed. For example, if I expected segment_3 to be X data in a page without the two-char language code in the url, adding the language code would break that page.

Are there other solutions/addons that don't need to do this? Maybe something like a global variable is set instead.

Or are there ways in the listed addons to circumvent this?


texts: require_entry problems with more than 2 segment

texts:
www.cooking/recipes/apple_pie

The first Expression Engine segment (recipes) represent the recipes channel, and the second segment represent an entry (here apple_pie)

If an entry doesn't exist or is misspelled, i use this code to redirect to the 404 page, and it works fine:

{exp:channel:entries channel="recipes" limit="1" require_entry="yes"}
          {exp:ifelse parse="inward"}
                {if no_results}
                        {redirect="error/404"}
                {/if}
           {/exp:ifelse}
{/exp:channel:entries}

But if I add a segment (dessert), always have redirect to the 404 page, even if the entry exist. Without the redirect code the entries pages like (www.cooking/recipes/dessert/apple_pie) works fine, but i lose the redirect function.

www.cooking/recipes/dessert/apple_pie

What am I doing wrong here?


texts: Simple conditional on embed variable in exp:channel:entries

texts:
Trying to do this:

{exp:channel:entries channel="main{if embed:inttest=="yes"}_inttest{/if}" limit="1" disable="member_data|pagination" status="{tv_status}"}

Am I misunderstanding the channel entries tag parse order? I've stuck to simple conditionals testing only a Stage 1 embed var (right?) so I thought this would work, but nope. Thanks in advance for setting me straight.


texts: Possible to display fields in the EE interface conditionally?

texts:
An EE feature I’ve always wanted. I’d love to be able to show/hide fields in a field group conditionally, based on the values of another field.

For instance:

One field asks which image type you would like to use for a post: Fluid, Fixed Height, or Fixed Size. If choosing “Fluid” or “Fixed Size” no other fields are displayed. If you select “Fixed Height” you’re presented with the field “Image Height.”

Does an add-on exist for EE3 that offers this kind of feature?


texts:
I am attempting to create a repeater list for all the items in the cart, however I am having trouble generating the title and and custom fields.

{items}
                            {exp:channel:entries channel="product" entry_id="{entry_id}"}

{title}

Size: Large

                                <input style="width: 40px;" type="text" name="items[{key}][item_qty]" value="{item_qty}" />

{price}

{item_subtotal}

                                <input type="checkbox" name="remove_items[{key}]" value="1" />

                            {/exp:channel:entries}
                            {/items}

All the short-tags used by the store function as expected, however all the titles and custom fields will only grab the data from the newest entry and repeat.


texts:
I have added Playa field to the channel and then assigned entries from another channel to an entry which contains Playa field, but I'm not getting anything from Playa tag.

Code:

{exp:channel:entries channel="collection" category="84" url_title="{segment_3}" status="open"}
    {title}

    {collection_description}

    Collection contains:

    {collection_products_list}

{title}

    {/collection_products_list}

{/exp:channel:entries}

For me it looks like {collection_products_list} playa tag is not parsed. Any clue?

Thanks


texts: Expresso Store and inventory limit message

texts: I ended up selecting an item that had only 1 item in inventory.  I selected 2, but it automatically selected 1 because of the inventory level. Is there any way to have displayed a note explaining that? Something like available X in stock?


texts: How to show recent entries restricted to one per author?

texts:
I would like to show a list of recent entries, restricting the list to one per author. Essentially the logic I'm looking for is "show 10 recent articles, but if the author of the next article already has an article on the list, skip it."

I'm thinking I'll have to use PHP to add a second level of logic, but I'm hoping someone else has an idea.

A possible kink: I'm using Solspace's User.


texts: Adding interest groups when using SL Mailchimp Subscribe

texts:
I know there are alternatives but does anyone know how to set up the interest groups field when using SL Mailchimp Subscribe?

I've currently got a checkbox field containing the different Interest groups set up on the Mailchimp Mailing list but I'm unsure what values to use for each checkbox.

There is nothing in the documentation about this feature and an old video I found just shows the use of a dropdown field but with no indication of how that is actually configured.


texts: Accessing a template via AJAX from a template group

texts:
I'm trying to access a partial template via AJAX from a template group but I keep getting a 403 forbidden or 404 not found error.

I'm using the great Ajax-include pattern Jquery script from the Filament Group. This script relies on you specifying the html file you want to retrieve from a data attribute in the template; could that have something to do with why I'm getting a 403/404?

I've tried all combinations of paths to the template but still get the same result. I've also tried naming the full path, including the .group, with no success. If I put the HTML file in the root of the site everything works fine.

All templates have been synced and saved as files.

Path to templates: /assets/templates/default_site/
Template group: site.group (default template group)
Template: footer-resource-menu.html

Template code:

    My Island

…

UPDATE This was due to the .htaccess file being missing from web root.


texts: Migrate site, Assets not displaying files

texts:
I've checked the other threads on this, removed the cached files, cleared my browser cache and changed CP to cookies only and it's not helping.

Assets won't display anything but the file folders. I can't see the individual files after migration. I checked the paths to the files in the file upload preferences and they are correct.


texts: Possible to add data-validate="x" to Safecracker form tag?

texts:
I'm wanting to add a new parameter (data-validate="parsley") to the Safecracker form tag. I know this isn't possible out of the box but was wondering whether it was possible to write a simple(ish) extension that could do it?

If anyone can give me some pointers, I'm willing to have a go.

Cheers

Jim


texts: Matrix outputs parts of it's tags on the frontend

texts:
After moving to a different server, i'm seeing strange output from Matrix. The output contains some of the ee tags and some of the html from within.

Here is the matrix tag pair:

{service_group_staff_quotes}

    {if photo}{/if}

“{staff_quote}”

— {staff_credit}

{/service_group_staff_quotes}

This is a screengrab of the output:

The '{s' at the beginning and the '/p>' at the end of the first para, then the '{sta' at the beginning of the second para are the problem. Anyone seen this before or got any ideas? I've tried running the EE server wizard on the new server which reports everything is fine and i've tried re-uploading the system folder incase anything got lost over FTP. Any help appreciated :)

EE 2.5.5, Matrix 2.5.10


texts: Dreaded Email notifications and Cartthrob

texts:
I seem to be having some issues with email notifications within Cartthrob at present. Now i know these have cropped up in the past, so I'm just trying to get my head around the best case scenario for this and the pitfalls to watch out for. Obviously the email notifications are pretty important for a client, and its a pain when they can be at times pretty hit and miss.

So I'm working on a clients site that we have switched to Stripe over PayPal which seems to be fine at present. The order confirmations are coming back ok, and the orders are been created in the Order channel.

But there are no notifications been sent out at all. This is currently on a development server for testing and I've gone ahead and tested that i can trigger the emails using:

<?php
if (mail('you@yourdomain.com', 'Quick email test', 'Is this on?'))
{
    echo 'Mail sent successfully.';
}
else
{
    echo 'Mail was not sent.';
}

And thats sending both using an email local to the development server and also the clients email. So i know thats working ok.

Ive also looked at the settings in the Cartthrob CP and made sure those notifications are correct.

Ive even simplified the templates been used right down to say literally Thanks for Ordering, Here is a new order etc. respectively. No extra tags or information.

I've also checked in the exp_cartthob_email_log and its saying that email_event has been completed. But nothing is arriving. SO totally baffled.

Anyone have any ideas?


texts: creating channels / custome fields via a module

texts:
I've been asked to create a competition module for EE.
I think that it'd be best to have the module create a new channel and custom fields. I can create my own tables and have a nice separate area, but I think it'd be better to have the user simply go to: create channel competition.. etc..

Is this possible from a module?
I can't find any info on 'automating' channel creation..

Sorry if this is a dumb Q.. I've not used EE in a while..

Tris..


texts: Expresso-store selling events - entries or modifiers?

texts:
This is a two part question as it relates to the same product type.

We're thinking of using expresso-store for this, but open to other suggestions (CartThrob)?

1a) Store Product 1 - Events

One of our products may be an ‘event’. An event might have several possible dates, for this example, lets assume there are three.

The user would select the date they wish to go to said event. Each date would have a limited number of items or stock.

Question 1a: Can each event be a single entry with modifiers OR would each date need to be a separate entry?

1b) Store Product 1 - Events

Lets assume a Manager needs to buy several tickets for an event for each of their staff.

Question 1b: At the point of adding multiple items to their basket, can a user add staff details against each of the purchased items? Ideally we’d need to add email address and First-name, Last-name.


texts:
I have set up many sites in EE however I seem to have brain farted on how to use Zoo Visitor and how and where to begin? I have looked at the documentation and seem to be missing a step. Need a push in the right direction.

The concept is I have 2 groups (employees and employers)
and need to set up each so that when they login they get access to that particular groups content.


texts: Show Order or Child Entry in Parent Entry

texts:
Is it possible to show the order by number that a child entry is placed into a relationships field of a parent entry? I'm creating a top 100 list of movies and I want to show what number a person has ranked that movie in their list.

So for the Person Channel Entry there's a relationship field where Movie Channel Entries can be added. On the frontend I can display a {count} number on a Person page that shows where that movie is placed in their list:

{person_film_list channel="films"}
    {person_film_list:count}
    {person_film_list:title}
{/person_film_list}

The above renders as 1. Movie1, 2. Movie2, etc.

But on the Movie page I can't reference the count that the movie is placed on the Person's list:

{parents channel="person" field="person_film_list"}
        {parents:count}
        {parents:title}
{/parents}

The above renders as 1. Person1, etc. no matter what placement the movie has in the relationships field of the Person parent entry. I know it's doing this because it's using the count of the Person parent entry instead of the Movie child entry. Is it possible to reference the count of the current Movie entry being viewed in relation to it's location in the Person parent entry relationships field?


texts: How to include search params in plugin with TMPL->tagparams

texts:
I'm building a custom plugin tag pair which returns channel entries, following the excellent answer to this question. Almost everything seems to be working: I set the TMPL->tagparams array to my custom params, instantiate a new Channel(), and return its entries.

I'm searching a "classes" channel where entries have a "weekday" custom field with values like "Monday", "Tuesday", etc. In the case, I want to return the first 5 classes on Mondays.

$this->EE->TMPL->tagparams = array('channel'        => 'classes',
                                   'limit'          => '5',
                                   'search:weekday' => '=Monday');

if ( ! class_exists('Channel')) {
  require_once(APPPATH.'modules/channel/mod.channel.php');
}
$channel = new Channel();

return $channel->entries();

EE seems to be ignoring the search:weekday param. It's returning the right channel and enforcing the limit, but it's returning all results, not just results with "Monday" for their "weekday" custom field. How can I use search params in a plugin like this?

Update: to provide more use-case info and clarify that I'm searching a custom field with the search param.


texts: Grid Conditionals - side by side fields - only display if field filled

texts:
Perplexed how or if this can be achieved.

I have a grid field e_contact that consists of three field/columns:

  Name   Phone   Email

  {ename}   {ephone}   {eemail}

My code to display this is:

  {e_contact}
    {e_contact:ephone} ({e_contact:ename})
  {/e_contact}

  {e_contact}
    {e_contact:eemail}
  {/e_contact}

Which would display:

[icon] Phone (Name)
[icon] Email

If multiple (let's say 3) rows of info is added, I want it to appear like so:

[icon] Phone1 (Name1)   or   Phone2 (Name2)    or   Phone3 (Name3)
[icon] Email1   or   Email2   or   Email3

So, a couple of things...
If no Email is added, then that (2nd) span should not appear on the page at all.
(A Name and Phone will always get added.)

Also, how do i get the field entries to display next to one another as above, with the word 'or' between each instance.

Similarly, the brackets around the name should obviously only appear if a name is entered in the field. (Multiple 'Phone' numbers may  get added (in new rows) but only one 'Name' (in the first row).)

Any help is much appreciated!


texts:
For the entries I'm using SEO Lite module but what can I do for categories landing pages metadata except default from SEO Lite module? Conditionals are not the best choice for because I have about 120 categories so I need to have that somehow automated with relation to categories.

Currently I have

{if segment_2!="" && segment_3==""}
{embed="includes/.header-product" default_title="{segment_2_category_name} Collection"}
{if:elseif segment_3!=""}
{embed="includes/.header-product" default_title="{segment_2_category_name} {segment_3_category_name}"}
{if:else}
{embed="includes/.header-product"}
{/if}

Looking towards any tips.

Thanks


texts: How do you remove template group from URL?

texts:
I've scouring through StackExchange looking for an answer for the last few days with no luck.

These are the suggestions that I've seen without any real detail or resources:
1.) Somehow use the index page of a template group to handle this. Once again, no direction given on how one would do this.

2.) Use Template Router plugin on Devot:ee - Looks like it's primarily for blog functionality. I don't see any real clear documentation on how this plugin works.

3.) Use Pages module - doesn't work. I've gone through all of the documentation. Can't get it to work, plus I am not fond of the idea of manually changing links. Would love to have template groups removed automatically without requiring my client to take extra steps to remove this URL segment.

4.) Use Freeway extension - tried installing... doesn't appear in extension section once it's uploaded plus it has a bunch of tickets open for breaking other modules, etc.

5.) .htaccess - haven't found anything that works except to remove the index.php file - plus my understanding is that .htaccess isn't necessarily the most reliable way of approaching this sort of issue?

In short, how in the world do you remove the template group from the URL structure... I've heard the arguments that it somehow makes for a better user experience to include this, but for me, it's not the case. I use very generic names for my template groups; e.g., content_page, general_page, etc.

Someone, please tell me there's an easy way to work around this?


texts: Getting "ReferenceError: Matrix is not defined" error on channels that don't have Matrix fieldtypes

texts:
I recently updated a site to EE v2.7 and also updated all of my third-party add-ons to the most recent versions. The site in question has several channels, and everything seems to be working fine until I try and publish/edit something in a channel that doesn't have a "Matrix" fieldtype associated with it.

Little to none of the JS seems to be working on the publish/edit form (e.g., the "Entry Date" calendar widget), and even odder, the contents of EE's file upload modal appear at the bottom of the screen -- even though the channel in question doesn't have a "File" fieldtype.

I've tried reinstalling Matrix files, clearing caches -- the usual thing. Any ideas?


texts:
I'd like to be able to display the number of "active" members on a site. Ideally this would be something like "number of members who have logged in in the past 30 days".

Barring that, I'd settle for the total number of combined members in a set of member groups, like: group_1 + group_3 + group_5 = total number of members.

What do you think is the best way of going about this?


texts: Limit Shipping options based on products in cart

texts: I'm building a store for a client that will be selling regular products alongside alcoholic products. They want to limit the shipping countries available if the cart has alcoholic products added. Is this possible in expresso store out of the box? Looking for the best way to go about it.


texts: Expressionengine Comment Form And Entries Dissapear on some occassions

texts:
Very quick question. I'm relatively new to Expressionengine and unsure what could be causing my issue. So I have an Article template, inside of it I have comments:

 Comments

                {exp:comment:entries sort="desc"}

                        {if no_results}

 Be the first to write a comment.

                        {/if}

                            {comment}

                        Posted by {name} on {comment_date format="%Y %m %d"}

                {/exp:comment:entries}

 Leave a comment

                {exp:comment:form channel="blog_post" rules:name="required|email=required|comment=required"}

                            YOUR NAME*
                            <input type="text" name="name" value="{name}" required/>
                            {if error}

Name is a required field.

                            {/if}

                            YOUR EMAIL*
                            <input type="email" name="email" value="{email}" required/>
                            {if error}

Please enter a valid email.

                            {/if}

                            YOUR WEBSITE
                            <input type="text" name="url" value="{url}" required/>

                            YOUR COMMENT*
                            <textarea name="comment">{comment}</textarea>
                            {if error}

Comment is a required field

                            {/if}

                            {if captcha}
                                  {captcha}
                            {/if}

<button type="submit">POST COMMENT</button>

                {/exp:comment:form}

For some reason on only some of the articles the comment form and exp:comment:entries dissapear. 95% of articles are fine. Could you see if I made a mistake somewhere? Gone through 100 times through the code cant spot the difference.

I should also probably point out that comments are not nested. I use reCaptcha(if this makes a difference). Anybody encountered issue like this before?

Here is affected url: http://www.yourpeakstate.com/blog/the-4-secrets-to-living-your-dream-life-1


texts:
Is there a painless way to reset messages their related data?

What I mean is to delete everything and clean up data and start with a clean slate, somewhat like what TRUNCATE does to a MySQL table.

The reason I want to do this is to remove some bad data deliberately injected because of  testing.

Any ideas?


texts:
Being new to EE I have only used Low Search once before and it was a very basic keyword search. This time it is a search with parameters. Unfortunately, it is return all entries in the channel I'm searching.

Following is my setup - where am I going wrong?

Channel name: events
Collection label: Event
Collection name: events

Field Weights:
Title    3
Event Start Date 3
Event End Date 3
Course Name  2
Event Description   2
Event Location Map 1

Trying to search the following 'events' channel fields:

Play Dates
{events_start_date}
{events_end_date}

Venue
{events_course_name}

Location
{events_map_formatted_address}

Event Name
{title}

Event Type
{events_type}

{exp:low_search:form collection="events" search_mode="all" result_page="events-and-offers/search" form_class="form-horizontal"}

Search by

          Play Dates

            <input type="text" id="txtFromDate" name="range:events_date" placeholder="start date" class="datepicker span placeholder">
            <input type="text" id="txtToDate" name="range:events_date" placeholder="end date" class="datepicker span placeholder">

          Venue

            <input type="text" id="venue" name="events_course_name[]" placeholder="venue" class="span placeholder">

          Location

            <input type="text" id="location" name="events_map_formatted_address[]" placeholder="postocde" class="span placeholder">

          Event Name

            <input type="text" id="event-name" name="title[]" placeholder="event name" class="span placeholder">

I am interested in

          <input type="checkbox" name="events_type[]" value="special-events">
           Special Events

          <input type="checkbox" name="events_type[]" value="offers">
           Offers
        <button type="submit" class="btn btn-normal btn-success">search SUBMIT SEARCH</button>

{/exp:low_search:form}

Results page (keeping it basic for testing):

{exp:low_search:results query="{segment_3}" limit="10"}
  {if count ==  1}
{/if}

{title}

  {if count == total_results}
{/if}
  {if no_results}No search results{/if}
{/exp:low_search:results}


texts: {count} is counting entries I don't want it to

texts:
Basic functionality I'm looking for has to do with counting the results from a reverse_related_entries pair while excluding certain categories. I'm hitting a wall. We have multiple locations and each location has their own audio and video files which are related to a specific subject called "series." Each location is a category and I only want to show AND count entries in one category and related to the series.

{exp:channel:entries channel="sermon_series" limit="1" dynamic="no"}

{title}

{sermon_series_description}

{reverse_related_entries channel="sermons" orderby="date" sort="asc" dynamic="off"}
    {if '{categories}{category_id}{/categories}'== "1915"}

Part {count} - {title}

Sermon Notes

    {/if}
{/reverse_related_entries}{/exp:channel:entries}

You can see what I'm trying to accomplish here: http://dev.ncctk.com/media/sermons/this-little-light-of-mine. You'll notice the {count} variable produces 1, 4, and 5. I've tried using a PHP increment as well, but the same thing happens as it loops through even the entries that don't meet the conditional.


texts:
I have a site with a simple form on it 9 fields total. It has worked fine for quite some time but is now up to 2875 responses. I am getting the following error and the site is not coming up.

Allowed memory size of 134217728 bytes exhausted (tried to allocate 267409 bytes) in ...../expressionengine/third_party/freeform/mod.freeform.php on line 4138

I have the contacted the host about raising the memory_limit but I am wondering if anyone else has come across this. It doesn't seem like enough responses to cause memory issues. In the template I am calling up and displaying all the response names (its a petition).

EE 2.9.0 with Freeform 4.2.3 Current memory is set to 128M


texts:
In my url the entry have a category and a sub-category.

Category = meat
sub category = beef

  href="{url}/{channel_short_name}/{categories}{category_url_title}{/categories}/{url_title}"

I'm using {category_url_title}, but the result URL is:

mysite/recipes/meatbeef/hamburger

The category and the sub category are together: meatbeef with no /. It should be meat/beef.

How to have a category and subcategories working fine, like : cat/subcat/subsubcat..??
It give me headaches :)

Happy XMas
Stéphane


texts: Can new fields be hidden by default on Publish Pages?

texts: I'm a firm believer in the single custom field group approach, but it can be irritating that, when adding a custom field to a shared custom field group, all publish layouts automatically display that custom field. Have you found any techniques/addons to solve this?


texts: Solspace Facebook Connect {fbc_publish_to_facebook} failing on comments but works on ratings

texts:
As the title says, I've implemented Solspace Facebook Connect's {fbc_publish_to_facebook} but it's not working for comments. It does work fine on ratings.

Could this be because I'm submitting my comments via AJAX?

Any other reasons why the sharing to facebook would fail on comments?

Is there any way to debug it so I can see why it's failing?

I don't get any error or indication that it has failed. The comment simply doesn't get posted to facebook and I have no reason why.

The prepare page tags and all other necessities are there.


texts:
Is it possible to use Super Search keyword parameter to search for Tags?  I have Super Search and Tags, and I'm trying to include a way to search for tags.

So if I had a tag called "space" and I search for Outer Space in the keyword field, I could get "space" as a Tag result.


texts: Using Low Seg2Cat to list and filter Category Entries

texts:
I'm new to using Seg2Cat and I'm wondering if one of you extremely helpful folks out there may be able to help/offer advice or guidance based on my needs. A buddy told me Seg2Cat is what I need to pull this off, however I'm uncertain as to even set it up and get going.

I have a listing channel for some 'staff' who are spread throughout the US and some other countries. Each staffer is in a category based on their state of residence.

I want to be able to have a select dropdown list of the states, then upon selection of a state, it takes you to a page or renders the results of staffers residing in the state.

Thanks all!


texts: Low Search - {exp:low_search:results} shows all entries as default

texts: Is there a way for the {exp:low_search:results} tag to display everything as a default when there is no query segment?