texts:
I'm updating a site from ExpressionEngine 2.1.1 to 2.8.1. The previous version of MX Google Maps was 1.0b I've installed version 1.5.3.140526

The exp_fieldtypes table shows version 1.0b installed but if I check the Fieldtypes page in ExpressionEngine it shows 1.5.3.140526 as the version. When I click on the fieldtype I get 2 PHP errors:

A PHP Error was encountered
Severity: Warning
Message: call_user_func_array() expects parameter 1 to be a valid callback, class 'Mx_google_map_ft' does not have a method 'display_global_settings'
Filename: api/Api_channel_fields.php
Line Number: 397

and

A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Users/Josh/Sites/website/webroot/system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 446


texts: After recently testing a form using 'Email Contact Form' on IE8 I found that the redirect page does not work at all. It just sits there on the standard EE 'Thank You!' panel and does nothing. It seems to load my 'Thank You' page cause the link on the EE 'Thank You' page (see attached) panel does not work but my cursor detects content from my 'Thank You' page even though it is not visible. Has anyone else had any problems with this kind of thing at all and with IE8.


texts:
I am trying to return json from a module method. Very simple example at this point.

public function mealDates()
{
    echo "{\"foo\" : \"bar\"}";
}

From the template

$.ajax({
    //request dates that are already taken
    type: "POST",
    url: "ACT=79",
    success: function(json){
        console.log(json);
    },
    error: function(e){

    }
});

If I declare dataType: 'json' returns error. If I don't I still am not getting the {"foo" :"bar"} from method. Suggestions on how to return json to template?

Thanks


texts:
suddenly an error shows up on my site. It's happening only one user's profile page. All other profiles seem to work fine.
It's EE 2.5.2
I have no clue where to start looking for the error.

"Parse error: syntax error, unexpected T_STRING in expressionengine/libraries/Functions.php(680) : eval()'d code on line 245"


texts: I want to send email from the site to a mailling list

texts: My site is an administrative site and used by a small number of inside staff.  We have multiple maillist and at times need to send an email to the list.  I want to use a communicate type form from the site not CP so that my users just have one place to go for everything.  I have tried tell_a_friend but cannot get it to work.


texts: Freeform sumit contact form : You are not authorized to perform this action

texts:
I have a website I am moving to a ubuntu server from a windows server for a client.

ee v2.7.1
freeform 3.1.5
matrix 2.5.8

I have the contact form that was working on the other server but on this server that is not live I get this error. The form renders fine but when you submit you get:

The form you submitted contained the following errors

    You are not authorized to perform this action

Return to Previous Page

I figure it could be a couple of things:
1) the site is not live and the old one is so this is just normal?
2) file permissions issue
3) user permission
4) scratching my head...

So any pointers on EE forms would be a help as I have not built one in about 4 years.


texts: We're looking for a plug in that is already made or someone who would know how to create a plug in for Store that would essentially create sessions for buyers.  What I mean is that someone places Item A in there cart and there is 3 Item As in stock.  Once that Item is placed in the cart it comes out of stock on the system and the person has 10 minutes to buy the product.  At the end of 10 minutes the item is put back in stock if it is not purchased, if it is purchased it is not put back in stock at all.  This would be the same system as say Ticketmaster when you buy tickets.  It holds your tickets for you in a session.  Any help would be greatly appreciated.


texts:
I'm using Freeform on my website for new requests from members only. I want to create a custom notification of these requests and show member-data (custom fields they provide during registration) in these notifications. Therefore I've created a new custom notification as followed:

Someone has filled out form: Request
{all_form_fields}
  {field_label}: {field_data}
{/all_form_fields}

{exp:member:custom_profile_data member_id="{user_entry_id}"}
  Company: {company_name}
  Address: {address}
{/exp:member:custom_profile_data}

The {user_entry_id} variable is a hidden field in my form which is populated by the member_id. This value gets passed on correctly.

My problem is that {user_entry_id} isn't parsed and the company & address data fields are empty. When I insert a member_id manually it does work:

{exp:member:custom_profile_data member_id="1"}

However, that part should be dynamic.

Any thoughts?


texts: How to make "Site Page" link field in Wygwam show URL?

texts:
When I create a link in Wygwam, a box appears that lets me choose "Site Page" and select an entry from the Pages module.

My problem is that I have several pages with the same name, because each page is accessible to a specific member group, so sometimes the list of options looks like this:

About
Services
Contact
Contact
Contact
Contact
Work
etc.

Is there a way to make that Site Page list show more detail, like the full URL, or the nested layout that you see when viewing pages in the Pages module?


texts: How can we add custom column in control panel for any channel entry

texts: How can we add custom column in control panel (EE verstion 2.9.2) content >> Edit for any channel entry?


texts:
I have a couple of Member Groups that have access to the cPanel. I'd like to provide them with an easy way to access special frontend pages (instead of them having to type the URLs). There is a "Quick Links Manager" that I see as Super Admin, but whatever I put there doesn't seem to appear in the other Member Groups; also, I don't want all Member Groups that have cPanel access to access these special pages.

Is there something in EE that I can set so that certain Member Groups will have an easy way to access these pages?


texts: Updated to 2.9.3, Unknown column 'order' in 'order clause'

texts:
we've recently updated a website to EE 2.9.3, but when linking to an non existent page, it should redirect to a 404 page. Instead, we get this:

Error Number: 1054

Unknown column 'order' in 'order clause'

SELECT route_parsed, template_name, group_name FROM (exp_templates) JOIN exp_template_routes ON exp_templates.template_id = exp_template_routes.template_id JOIN exp_template_groups ON exp_templates.group_id = exp_template_groups.group_id WHERE route_parsed is not null AND exp_templates.site_id = '1' ORDER BY order, group_name, template_name ASC

Filename: libraries/Template_router.php

Line Number: 83

Now, I checked the database and there is indeed no 'order' in exp_templates. To know what type this field should be, I did a clean install elsewhere on 2.9.3 and noticed this field isn't there at all. The request to it though, in Template_router.php, is.

Any ideas?

Thanks!


texts: Ajax submit errors contain html formatting

texts:
SO I'm using Solsapce's User for usersto edit their profile and have discovered something I'm not sure how to describe or fix.

I have a normal edit profile with a few fields, I have declared certain fields to be required, the syntax is identical to SAFE forms required="fielda|fieldb" etc.

When the form is submitted with all things filled in correctly, the ajax does its thing nicely, if one of the required fields is missing content, then I cannot get it to show anything meaningful.

 $('.user-edit').ajaxForm({
     target: '#confirmation',
     dataType: 'json',
     success: function(result) {
         $("#confirmation").html("
" +result.content+"
");
         $("#confirmation").hide();
         $("#confirmation").fadeIn(500);
     },

    error: function(jqxhr) {
        $("#confirmation").html("
" +jqxhr.responseText+"
");
        //$("#confirmation").html("
" +jqxhr.error+"
"); //Gives strange Javascript error (see comment below)
        $("#confirmation").hide();
        $("#confirmation").fadeIn(500);
     }
 });

Here's the kicker, Firebug shows this is the error response

{"error":"
The following fields are required:

Birthday<\/li><\/ul><\/p>"}

This is whats displayed on the page, it includes the "error" and brackets and everything!

{"error":"
The following fields are required:

Birthday&lt;\/li&gt;&lt;\/ul&gt;&lt;\/p&gt;"}

On a successful post, this is the Firebug response and as I'm targeting "result.message" it displays fine:

{"success":true,"heading":"Successful Submission!","message":"Your profile has been successfully updated","content":"Your profile has been successfully updated"}

I've tried all manner of variations to get this ajax error displaying only the error content and am now doubtful that it ever will. Of course I could be a huge dumbass and missed something :)


texts: Error on Google maps for EE - map doesn't display

texts:
I've been using Google maps for EE for plotting markers on a map through Expression Engine. It was all going ok on the dev server, until we assigned a domain name to the server. Once this happened I'm getting an error:

"This page didn't load Google Maps correctly. See the JavaScript console for technical details."

Console is giving me a MissingKeyMapError. However when I look at the same files through the server address, there's no error.

Any ideas would be appreciated!

Update: I found the answer in gmap/mod.gmap. On line 253 I added my API key to this line:

<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor='.$sensor.'&amp;key='.$key.'&amp;language='.$lang.'"></script>

So it's now:

  < script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor='.$sensor.'&key=MY-API-KEY&language='.$lang.'">

A bit messy, but at least works!


texts: homepage.php Hack Doesn't Work on Media Temple (DV) Server

texts:
I'm using the Publish Prefixes extension, and I ran into this problem.

I applied the fix given in the issue tracker, and it works on my local WAMP server and Rackspace Cloud hosting. But it doesn't work on Media Temple (DV) servers - the PHP errors remain.

Is there some special PHP setting I need to have in place for this fix to work?


texts: Removing primary domain site in EE 2.4 Multi Site installation

texts:
I have a multi site installation and want to point the domain for the primary site to a different website. I notice that all the sites use the URL for the primary domain theme folder (/themes) in the General Configuration.

I don't see any other occurrences of the primary domain in the other sites.

Will I run into any issues making this change?

ExpressionEngine v2.4.0 - Build: date  20120123

Thanks, Rob


texts: How to share direct links to file uploads that always show the latest version of a file

texts:
I have a fairly large site that is using Safecracker File for quite a few fields. Some of the entries have files that get updated each month. The issue is that "removing" a file from an entry does not delete and replace the file on the server so if you are trying to attach a file with the same filename as the file already uploaded, the new file will get renamed by EE on upload.

That's usually not a problem, but the client has a case where they do not want the filename to change because they want to share a direct link to the file with their team - and they don't want to have to reshare the link each time the entry is updated.

For example, this month they share a link to "Marketing-Presentation.ppt" file

example.com/uploads/docs/Marketing-Presentation.ppt

Then next month when it's updated, the client uploads the new file... but the new file has a 1 appended to the filename... so the new link is the one below but the link shared last month no longer links to the latest version of the file.

example.com/uploads/docs/Marketing-Presentation-1.ppt

Here's what I'm thinking so far...

Is there a file fieldtype that will delete and replace the existing file rather than just upload and rename?
Perhaps the best way to solve this is to give the client another way to share direct download links that do not contain the file name.

I'd like to hear your insights on either of those approaches or something else I'm not thinking about.


texts: Solspace User: Birthday select dropdown - Registration form

texts:
How do you display birthday as select dropdowns for day, month and year.

I tried this but seems like it is of no avail

    <fieldset>

Date of Birth:

        <select class="form-control" id="day" name="bday_d">
            {select_bday_d}
                <option value="{value}" {selected}>{value}</option>
            {/select_bday_d}
        </select>

        <select class="form-control" id="month" name="bday_m">
            {select_bday_m}
                <option value="{value}" {selected}>{value}</option>
            {/select_bday_m}
        </select>

        <select id="year" class="form-control" name="bday_y">
            {select_bday_y}
                <option value="{value}" {selected}>{value}</option>
            {/select_bday_y}
        </select>

    </fieldset>


texts:
EE 5.2.4

I'm trying to create an array that can be looped through as tagdata in the frontend template.

My method grabs results from an API query, identifies images from the result, assembles them into an array, and parses them into tagdata.

  function item_detail ()
  {

    $id = ee()->TMPL->fetch_param('id');
    $result = $this->query_product($id);

    $variables = array();

    foreach ($result['digital_assets'] as $asset) {
      if ($asset['asset_resource_type'] == 'image' ) {
        $variables[0]['images'][] = $asset['url'];
      }
    }

    return ee()->TMPL->parse_variables(ee()->TMPL->tagdata, $variables);

  }

This gives me an array that looks like this

Array
(
    [0] => Array
        (
            [images] => Array
                (
                    [0] => http://domain.com/image/1.jpg
                    [1] => http://domain.com/image/2.jpg
                    [2] => http://domain.com/image/3.jpg
                    [3] => http://domain.com/image/4.jpg
                    [4] => http://domain.com/image/5.jpg
                )
        )

)

I would like to be able to loop through this array in the template like this

{images}
    // value
{/images}

There must be a way to do this?

Thanks!


texts: Can I remove XID param from super search 'get' url?

texts:
I am trying to get google analytics site search to pull results submitted through my site's super search.  I saw a post in the forums that I am supposed to change my form action from "post" to "get". This appears to be working as it creates the "?" that GA seems to depend on, however the url is pretty nasty with the XID=1232321 included.   Is this XID necessary, or is there a way to remove this? If so, how would I remove it?

current url

/search/results?XID=25454320fc0a3329123123f8d496b5591fb4add&keywords=test

preferred url exmple

/search/results?keywords=test

Thanks for any information you can provide.

UPDATED

<div id="search">
    <form method="get" action="{path=search/results}">
        <input type="text" name="keywords" id="keywords" placeholder="Search" class="typeahead">
        <input type="submit" class="hidden-submit" />
    </form>
</div>


texts: display one category group in channel entry

texts:
I want to display an entry's category, but only from a specific category group.

{exp:channel:entries channel="paintings" limit="10"}
{title}
{categories group_id="42"}{category_name}{/categories}
{/exp:channel:entries}

If I just use: {categories}{category_name}{/categories} I get all categories but I only want categories display if they are in group 42.  If they have nothing in group 42 I want nothing to display


texts: How to implement rollbar into a expressionengine setup?

texts:
I'm talking about http://rollbar.com

  Rollbar collects and analyzes errors on web and mobile apps so you can
  find and fix them faster.

What would be the best approach to get this working?
Is it possible to hook into the EE logging itself?

I would like to log things like:

404 pages
errors while sending mail (freeform)
module/plugin php errors (what super-admin's get to see)
...


texts: 404 redirect on structure site not working

texts:
...or only "partially" working.

My issue is if someone types in a non-existant url using an existing template group like this:

www.mysite.com/existing_template_group/cvgdghdbhbcdbcdh

The results are it will pull up index.html for existing_template_group and try to load ALL of the entries I have in the database. The curious thing about this issue is it only occurs with 3 out of 8 template groups in my site.

The other template groups seem to trigger the custom template (404/index) just fine.

If anyone can give me any insight to what the problem may be I'd appreciate it!

Thanks.


texts: I need to be able to give access to viewing a section of the EE site based on usergroup AND user. For example: I may have a usergroup that I do not want to have access to a blog. BUT, there is a user within that group that I want to give access. So, individual permissions would trump group permissions. Thanks so much for taking the time to help!


texts: How to get submitted form to rendered format to email?

texts: Let's say I have a form from channel "contact_us" and it is submitted through template "index/contactus". How can I use the "channel_form_submit_entry_end" hook to collect the data and template put it together and have it ready to be sent for an email? Running EE5.


texts: Freemember Radio Buttons clear on inline errors

texts:
I have a member registration page that uses custom fields with freemember.
E.g.

{exp:freemember:register
            form_name="co-marketing_apply"
            return="/apply/thank-you"
            error_handling="inline"
            error_delimiters='|'
            require="email|member-address-1|member-first-name|member-last-name|member-city|member-state|member-zip|member-phone|member-company|order-volume"}

<input type="radio" name="order-volume" value="200 Pounds">200 Pounds
<input type="radio" name="order-volume" value="50 Pounds">50 pounds

The registration works fine, but I need some help dealing with error messages.

Problem 1: If there are ANY inline errors returned, the radio buttons are cleared out. Meaning the user has to fill out all of them again.

Problem 2: I need custom error messages because certain radio buttons, if checked, will disqualify the user from applying.


texts: 2 fields with numbers...need to add them together for sorting entries by that number

texts:
I have a channel with 2 fields, "New Square Footage" and "Remodeled Square Footage". I'm displaying both of these numbers in my template. I want to be able to sort the entries by the total of both of those fields. I currently have a form that will sort based on one of those fields and it works fine using Dynamic Parameters http://ellislab.com/expressionengine/user-guide/modules/channel/dynamic_parameters.html. Any way to add these fields together? I'm not sure if it can be done through the template, or if there needs to be a hidden field in the Publish form that adds them together...Any ideas?

My current form

        Order By:
        <select name="orderby">
            <option value="project_state">State</option>
            <option value="project_completion_date">Completion Date</option>
            <option value="project_contract_amount">Contract Amount($)</option>
            <option value="project_new_sq_ft">Square Footage</option>
        </select>

        Sort:
        <select name="sort">
            <option value="asc">Ascending</option>
            <option value="desc">Descending</option>
        </select>

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

"prject_new_sq_ft" is one of the fields, I need that to be the total of both fields.


texts: Expresso Store : Checkout form based on payment method

texts:
I'm working on an implementation and I'm using the most current version of the Expresso Store plugin. So far everything is working great, only I'm having trouble getting the payment method form to show up based on the payment method selected.

Currently I'm using {payment_method_options} inside of a {exp:store:checkout} block. I have a select that correctly displays the payment options but I'm unsure how to tie that together with a credit card form (I've used the Credit Card Details section of the docs to build a checkout form),or say another payment method like PayPal.

Does anyone have a direction to point me in, or have an example implementation that I could examine?

EE v2.5.3
Store v1.6.3


texts: Freeform Pro Show message when email is invalid

texts:
I'm using Freeform Pro composer to build a form. Validating with inline error messages.

Template code

{exp:freeform:composer
  form_name="contact_us"
  form_id="2"
  composer_template_name="contact_us"
  return="contact_us/thank_you"
  inline_errors="yes"
  form:class="contact-us"
}

I have an email field that is required. The email Field Type is text and the Field Content Type is set to email.

If I submit the form without any data in the email field I get a message "Please fill in this field".

If I fill in the field with text that's not a valid email address, I would like it to display a message telling them a valid email address is required.

Is this something that can be done without any additional coding?

Thanks

Wayne.


texts:
I have a site with an "Events" page.  Naturally, events come and go, and you don't want to see events from 2 years ago showing up on your site, so I have the admin person use the expiration date feature to have it no longer show on the website after the event has happened.  Recently I went onto the google webmaster tools for the site and saw that there were 404 crawl errors for the events that had expired.

Is this a problem, and if so, how do I correct it?


texts:
Scenario:

WHEN User searches for a random term lets say pepe on my initial search page.

THEN User sees the results page with lots of results.

THEN User wants to filter those results by Clicking in any of the Categories filter

THEN User sees the results of pepe for the specific category that he selected.

Problem

I'm able to do the first search and display all results independent of category. When I try to run a 2nd search on the result's page and pass the filter category I don't know how to make the system remember the first query or pass the value of search:title.

How can I achieve that?

Initial Search Page

{exp:low_search:form
  form_attribute="search-form"
  result_page="search"
  collection="article"
  search_mode="all"
}
  <fieldset>
    Search
    <input type="search" name="search:title"/>
    <button type="submit">Search</button>
  </fieldset>
{/exp:low_search:form}

Results Page (UPDATED WITH WORKING CODE)

     {exp:low_search:form
            form_attribute="search-form"
            result_page="search"
            collection="article"
            search_mode="all"
            remember="search:title"
            query="{segment_2}"
}

<fieldset>
    {exp:channel:categories parent_only="yes" style="linear"}
        <button  name="category" value="{category_id}">{category_name}</button>
    {/exp:channel:categories}
</fieldset>

{/exp:low_search:form}

{exp:low_search:results
    limit="10"
    query="{segment_2}"
    collection="article|food"
    status="open"
}
  {if count ==  1}
{/if}

{title}

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


texts:
I update a site to EE2.7.2 and Wygwam to 3.2.1. When I copy text form Open Office and paste it as plain text in Wygwam I always get this "extra" text at the top:

Version:1.0 StartHTML:0000000167 EndHTML:0000000922 StartFragment:0000000454 EndFragment:0000000906

When I was using EE2.5.3 with Wygwam 2.6.3 I never got this strange text.

Francois


texts:
My client wants members on their site to regularly update their profiles (to prevent them going stale), and I've been thinking about the best way to handle notifications for this. One idea was a simple 'subscription' model, where after a certain time has elapsed from the last update (say 3 months), if a profile has remains unedited, ee sends out an email to the member encouraging them to log in and update it. The site is free, so there's no need for payment gateways... so Cartthrob's subscription handling would be overkill. I also looked at Memberr, but again it's too complex for this simple task. I'm just really wondering how best to automatically check member accounts regularly and send notifications to account holders.

One idea might be to have a hidden template that I request nightly with a cron that queries account dates and sends out automated notifications that way? My only issue with that is that it's not really handled within the CP. I don't have any experience of developing modules, only plugins.

I'm planning to use Zoo visitor to handle member data rather than the native member module (don't know if this makes any difference!)

If anyone has any experience of doing something like this I'd love to hear how you handled it!


texts: why do i get a blank screen switching between msm sites after upgrade?

texts:
Installed EE 2.8.x today with newest msm.

Now when I switch sites or edit sites, I get  blank page.

URL is something like:
http://subdomain.domain.com/admin.php?/cp/sites/manage_sites?S=1b89ab94f128fbe5ee247f319cea09ca

Note: 1/3 msm sites is a subdomain of domain1. File paths seem okay. On server domain 2 is a sub-folder of domain 1.

I can log into separate CPs using subdomain or domain. Actual sites work fine to public users.


texts: "shipping same as billing" causing address not to be captured

texts:
I have setup my checkout templates exactly like the ones in the example templates, yet bizarely when I check the option "shipping same as billing" the system no longer collects address line 1,2 or three or the city.

What could be causing this?


texts:
I have a channel called 'models' containing a grid field called 'size_chart'. I have another channel called 'photos' with a grid field called 'photo_meta' inside which I have a relationship field called 'model' which is related to entries in the 'models' channel.

I want to be able to loop through the models and only show photos they are in, however I can't seem to get the right syntax with the relationship field buried away inside the the grid field type. This is as far as I have got..

{exp:channel:entries channel="models"}
  {title}
    {parents channel="photos" field="photo-meta:model"}
       <!-- Photo and title -->
      {parents:title}
      {parents:image}
      <!-- Model info -->
      {size_chart:height}
      {size_chart:waist}
    {/parents}
{/exp:channel:entries}


texts: Restrict related tagger entries to current language (transcribe)

texts:
I'm trying to pull back related tag entries restricted to the current language.

Say a news entry has a tag of "YMCA" in the English and Welsh versions then the tagger:related pulls back related entires for the welsh and english version.

I want to be able to restrict related tag entries to the current language.

Is this possible?

{exp:channel:entries
  channel="news"
  dynamic="no"
  url_title="{segment_2}"
  limit="3"
  entry_id="{exp:transcribe:entry_ids channel="news"}"
  parse="inward"
}

  {exp:tagger:related entry_id="{entry_id}" custom_fields="news-heading|news-content"}}

    {if tagger:no_entries}
No related entries were found.
{/if}

{tagger:news-heading}

    {tagger:news-content}

  {/exp:tagger:related}
{/exp:channel:entries}


texts: Pages Module Randomly Reassigns Template

texts:
I have some odd behavior with a site. I using the Pages Module and I have a template assigned correctly for entering new pages.

Every so often though, I'll go to the page on the front end and see the page does not look right. So I go to edit and I see the Pages Module has reassigned this page to another template. So I change it back... come back a few days later and it's changed again.

This behavior seems to happen on its own, not necessarily after editing anything or even visiting the site. I'm the only one editing.

Anyone had a similar issue?

Alternatively, anyone have an better solution to organizing without relying on Structure/Pages/Categories. The fact that the Pages Module does not work on the front-end via Channel Forms makes for client page creation impossible.

I am using EE 2.7.3


texts: Zoo Visitor and/or EE login forms fail to login using email

texts:
If memory serves correctly users where able to login using either email or username in a standard login form until a few days ago. The site uses zoo_visitor latest version and has been updated to EE 2.6.1 to handle the new zoo visitor forgotten password form.

Login using username/password on both Zoo and EE login forms is fine. Try using email and error:

  The existing username and/or password you submitted are not valid

Any ideas? Is this because of the updates? My next port o' call is stepping through the php, thought id ask here first.

Thank you.


texts:
Better Workflow will not be updated for EE 3.x - described here - http://betterworkflow.electricputty.co.uk/news/ee3-support/

I'd like to be able to save a channel entry in 'draft' format. An Admin should be able to preview the draft but members of the public should not.

Is there an EE 3.x compatible plugin that does this, or a method by which I can code it in?

As a side note I'm finding quite a lot of things which EE 3.x seems to lack, which seems like very standard functionality in every other CMS, this being a good example. It's also very frustrating that plugins that worked in EE 2.x are being abandoned and no equivalents or further developments are being done, although I understand 2.x and 3.x are very different. Has anyone else got any thoughts on this? It's to the extent that 2.x actually seems better than 3.x in terms of features, which does not seem right unless I'm missing something!


texts: Upgraded 2.5.5 to 2.6 - Too many redirects when access CP

texts:
I just tried to upgrade from 2.5.5 to 2.6.  I followed all of the instructions here:  http://ellislab.com/expressionengine/user-guide/installation/update.html

Now when I try to access my Control Panel (/system), I'm getting "Too many redirects error": http://foo.local/system/index.php?S=0&D=cpC=homepage

I removed my .htacess rewrite rules and am still getting this error.


texts: In Profile:Edit edit page add text with Matrix

texts:
i've a big challenge. I'm trying to replicate this form from behance in my edit profile page made with Profile:Edit add-on by mightybigrobot. Users can add manually their own social URL selecting from a fixed dropdown list.

I would something like that attached
http://www.behance.net/portfolio/profile/info

In the Member profile fieldgroup i add a Matrix fieldtype, in the first column i choose PT Dropdown, and in second i choose text.

But now i don't know how i can display in the front-end form in members edit page.

Somebody can help me?

Thank you Guys


texts: Prevent CSRF token expiring for EE powered kiosk

texts:
We are building a 'kiosk' interface into a site powered by EE (2.8.1) which makes various POST requests to other site templates as part of the flow.

The problem we are having is that because the kiosk needs to be always on, the csrf_token which is used to authenticate the POST requests is expiring (after 1 hour currently) and so said requests return a 403 (permission denied).

I had thought that there might be some way to refresh the csrf_token, but from a bit of research, it seems that these are intrinsically tied to the session's id (something along those lines anyway!), and so the same one is always returned if I post for a refreshed token.

Is there a way that I am missing that would enable us to keep making POST requests to other site templates and keep CSRF protection enabled?


texts: Cannot associate events to calendars in Solspace Calendar

texts:
I have just installed Solspace Calendar 1.8.14 for EE 2.10.1.

I have added three calendars, and three events. When I try to associate an event to a calendar, nothing happens. When I click "Add Rule" nothing happens. Also, when I manually set the dates and times, nothing happens. In each scenario after I click submit, I am returned to the submission confirmation page... the "Edit This Entry, Return to Filtered Entries, Publish Another Entry or View Comments (0)" page. AND when I choose to edit, the updates are not there.

The editor page looks like something is broken, see attached screen grab. Any suggestions as to what I should check? or do? Is this a bug with EE? Calendar or a conflict with an existing module?

I have set permissions for admins and contributors to be able to post to the channel. I am a super admin so permissions shouldn't matter anyway.

Any help is greatly appreciated.


texts: CE Cache Static not serving cached home page

texts:
I am using CE Cache Static driver. All is getting cached and served as expected except for the home page. It is getting cached, but not served. I believe it is due to the below line of the htaccess, as the _static_cache_handler.php script is NOT being triggered:

RewriteCond %{DOCUMENT_ROOT}/static_cache/ce_cache/90ba68/static%{REQUEST_URI}/index\.html -f

So, despite the fact that index.html exsists in the ce_cache/90ba68/static directory, the RewriteCond is not passing.

This is working for me on other servers, but not the one I'm on now.

Any ideas?

EDIT

I can access the cached file in the browser with no issue, so I don't think it is a permissions issue.


texts: Conditional Error when saving an entry in the CP cause by status

texts:
I'm experiencing a confusing problem that I've narrowed down to a custom status.

I have a status for a channel with the following options:

Open
Close
Spec
Sold

I can save an entry in this channel just fine for all statuses except for "Sold". When I save an entry with a status of Sold I get this error in the CP:

Error

You have an invalid conditional in your template. Please review your conditionals for an unclosed string, invalid operators, a missing }, or a missing {/if}.

Parser State: Invalid Condition: Not enough operands for operator ” != “.

In on line 68

Notice how the error doesn't tell me which template contains the problem.

Further, if I change the status of Sold to a lower case S as in "sold", then it works correctly and I can save the entry without getting the error.

I should also say, even though I get the error, the entry is in fact saved. I don't get any PHP errors.

To make this even stranger, I'm using MSM and I only get this error on the default site, not the other two which use the same templates and statuses. This makes me suspect the error message isn't accurate.

I'm using EE2.10.1. Thanks for you help in advance.


texts:
I'm using phantomjs via an extension to save a screenshot into an EE file directory, but before it's accessible in the admin area, I need to synchronise files.

I can't see anything in the docs for how to go about this, does anyone know if this is possible?


texts:
I am trying to display information stored in a price modifier column I added called {option_color}. Can someone help me? I tried the following but didn't work:

{exp:cartthrob:add_to_cart_form
        class='form-horizontal'
        name="productView"
        entry_id="{entry_id}"
        no_tax="{no_tax}"
        no_shipping = "{no_shipping}"
        return="store/view_cart"}

    {exp:cartthrob:item_options field="envelope_options" entry_id="{entry_id}" row_id="{row_id}"}
        {option_label}: {option_color}
    {/exp:cartthrob:item_options}

{/exp:cartthrob:add_to_cart_form}


texts: Best practices for handling paths in File Manager with MSM?

texts:
I have a secondary site in an MSM install (EE2.5.5).

In EE's File Manager, I have paths like this:

/assets/foldername
http://site2.com/assets/foldername

This works fine when using a File fieldtype, as I can change the domain name referenced above and file paths will all update. However, images inserted in a rich text field, i.e., WYGWAM, will be dumped in like this:

When I chance the domain name, I'll have broken links. However, if I try to refer to images with relative paths:

They don't show up in the EE control panel because it's running at site1.com/system

The only solution I've found to this is to store all the images at the primary domain and then reference them all with full paths starting with http://
Then I can fuss with the secondary domain and paths remain correct.


texts: multiple sliders one page - Stash parse order and Playa

texts:
Concept is to stash entry_ids of playa entries to pass to jquery-nivoslider call, so that both the slider div and the call will not have identical slider ID's resulting with conflict.

{exp:stash:set_list
name="rehab_list"
parse_tags="yes"
trim="yes"
parse_depth="4"
}

   {exp:channel:entries
   channel="rehab"
   url_title="{segment_3}"
   limit="1"
   require_entry="yes"
    }

    {stash:rehab_entry_id}{entry_id}{/stash:rehab_entry_id}
    {stash:rehab_url_title}{url_title}{/stash:rehab_url_title}
    {stash:rehab_title}{title}{/stash:rehab_title}

{stash:playa_stash_test}test{/stash:playa_stash_test}

   {exp:stash:set_list:nested
name="rehab_update_list"
trim="yes"
parse_tags="yes"
parse_depth="3"
}

    {exp:playa:parents
    channel="rehab_update"

    limit="10"}

          {stash:playa_test}test22{/stash:playa_test}
               0{stash:playa_entry}|{entry_id}{/stash:playa_entry}
                {stash:playa_title|{title}{/stash:playa_title}

                {image_uploads sort="asc"}{photo_images size="thumbnail"}
                {stash:playa_entry_img}{photo:url}{/stash:playa_entry_img}
                {stash:playa_entry_img_label}photo_label}   {/stash:playa_entry_img_label}
        {/photo_images} {/image_uploads}

   {stash:playa_summary_update}{summary_update}{/stash:playa_summary_update}
   {stash:playa_materials_needed}{materials_needed}{/stash:playa_materials_needed}
   {stash:playa_steps_taken}{steps_taken}{/stash:playa_steps_taken}

    {/exp:playa:parents}
     {/exp:stash:set_list:nested}
  {/exp:channel:entries}
  {/exp:stash:set_list}


texts: How to order Low Search results by Low Reorder Set?

texts:
I know it's possible to sort Low Search results by a Low Reorder set (http://gotolow.com/addons/low-reorder/changelog), but for the life of me I cannot figure out how to do it.

I have a Low Reorder set named "lr_locations". This is my results tag:

{exp:low_search_results default:orderby_sort="lr_locations|asc" ...}

Is this the correct way to do this? I cannot find the documentation that speaks to this.


texts:
Using ExpressionEngine v2.9.2 - Build Date: 20141004 - © Copyright 2003 - 2016 EllisLab, Inc.

All images have disappeared from our website: www.wordworks.jp I am guessing that a broken link to the Expression Engine database is to blame.

If you know how to fix this, please tell me how. Am willing to pay to get this sorted out ASAP.


texts: Make channel entry show up regardless of URL

texts:
I have two channels: Blog and Offers; and I have a blog detail template. The blog detail template should display one of several entries depending on the URL. But the template should also display an entry from the Offers channel that is always the same.

Currently, the way it's working is, if I access the template without specifying the article name in the URL, I can see my channel entry (the thing at the bottom that says "Gearing up for a site redesign?"). But if the URL specifies a particular Blog entry (as in the link in the first paragraph), the channel entry won't show up. The opening code for the code for the channel entry looks like this: {exp:channel:entries channel="offers" orderby="date" sort="desc" limit="1"}

Note: this is now solved. I added dynamic="no" to the tag.


texts:
S=0 is randomly appearing in URL's of an ExpressionEngine site that is being developed. Has anyone encountered this before? If so, what was the issue?

Example of url: example.com/S=0/search/results/

Thank you.


texts: Stash + Safecracker == headers already sent error?

texts:
I'm working with Stash's wrapper and partial templates. In one of my partials I've put a Safecracker-form inside a {exp:stash:set} tag. Further down that partial-template I {exp:stash:get} that form inside another "main content" {exp:stash:set}.

The form shows okay on frontend, but when I submit it I get 2 PHP-errors, and all of the form variables and values are appended to the URL.

When I put the form in the wrapper template, everything works fine.

It must be something I'm doing wrong since I'm quite new to Stash.. what can it be? The channel has no versioning btw.

The PHP-errors:

**A PHP Error was encountered**
Severity: Notice
Message: Undefined index: enable_versioning
Filename: libraries/Safecracker_lib.php
Line Number: 1378

**A PHP Error was encountered**
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Volumes/Webdev/domains/site.nl/system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 405

Partial Template:

{embed="wrappers/_page"}

{exp:stash:set name="form"}

    {!-- this is normally on one line --}
    {exp:safecracker channel="someform"
    return="/thanks/"
    id="form-order"
    error_handling="inline"
    include_jquery="no"
    datepicker="no"
    safecracker_head="no"}

All my form fields go here

They is happy form fields

    {/exp:safecracker}
{/exp:stash:set}

{!-- the main_content var which has a "get" in the wrapper template --}
{exp:stash:set name="main_content" }

    <form class="form-horizontal">
        <fieldset>
            <legend>Request Form</legend>

                {exp:stash:get name="form"}

        </fieldset>
    </form>

{/exp:stash:set}

-- UPDATE --
When I comment-out the versioning-stuff in Safecracker_lib.php, the form submits to a blank page, no errors whatsoever. And all the form vars en values are in the URL, ie;

http://dev.site.nl/contact/form/?ACT=6&RET=http%3A%2F%2Fdev.site.nl%2Fcontact%2Fform&URI=contact%2Fform&XID=041d37ecaac08903e79d36a4bc082d331df5d74b&return_url=%2Fcontact%2F&author_id=2&channel_id=4&entry_id=0&site_id=1&return=%2Fcontact%2F&dynamic_title=UGFra2V0IGFhbnZyYWFnIFtiZXN0ZWxmb3JtLW5hYW1d&allow_comments=y&title=&formfield1=Basis&bestelform-interesse=&formfield2=&formfield3=&formfield4=&formfield5=

--UPDATE--
Have tried several things with {stash:nocache} and all kinds of tags (process="end", parse_tags="yes" parse_depth="2") but obviously that's just random testing stuff out..


texts:
I don't seem to be able to use ExpressionEngine's native {exp:channel:category_heading} feature in combination with GWcode Categories.

I would like to display a simple category results page which displays all entries within a particular category, with the category name at the top as a page header. There will also be a list of all the categories in the sidebar (which I'm using GWcode for).

My code, simplified:

{exp:channel:category_heading}

{category_name}

{/exp:channel:category_heading}

    {exp:gwcode_categories channel="project|miscellany" entry_count="yes" orderby="entry_count|cat_name" sort="desc" style="linear"}

{cat_name}

    {/exp:gwcode_categories}

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

{title}

{/exp:channel:entries}

The only bit that doesn't work is the page heading. Does anyone know why this might be?

Thanks.


texts: Why is DevDemon's Subscriptions not setting an expiry during the subscription process?

texts:
I am currently running EE 2.9.2 and Subscriptions 1.6.0 with a Stripe payment gateway.

Currently, I am running a live test with a $1 subscription plan with an interval of every 1 day for a max cycles of 1. In other words, a 1 day plan. Autorenew is OFF. Problem is simple: when I subscribe (with member registration allowed), the expiration date is not generated. It appears as NULL in the Db.

This was occurring earlier, as well, when I was running in TEST mode (using a member assigned as a test user in the Subscriptions CP). That test used a 1 year, non-renewing plan.

Everything else appears to be working correctly. Member is registered, moved to the proper member group, logged in on subscribe, stripe js (verifying...) works, payment is being processed, and subscription is recorded in CP. Everything but the expiry date.

My template follows the samples given fairly closely:

{exp:subs:subscribe
    register_member="yes"
    plan="{segment_3}"
    user_amount="{stash:v_user_amount}"
    payment_method="stripe"
    return="members/confirm-new/%SUBS_HASH%"
}
    <script type="text/javascript" src="https://js.stripe.com/v2/"></script>
    <input type="hidden" class="stripe_public_key" value="[...]">
    <input type="hidden" name="card_token" class="stripe_token">

    ...form fields..

    <script src="https://[domain]/js/stripe.js"></script>
{/exp:subs:subscribe}

Other add-ons being used:

Assets
Channel Videos
Freeform Pro
Google Maps for EE
Stash, IfElse, Switchee
SuperSearch
User
Wygwam


texts: Download / CD as a product options in Expresso Store

texts:
Client wants to sell several titles, with customer choosing either MP3 Download or CD. How do I set it up so the downloadable MP3 is the default for each title, with CD as a product option? Is this possible?

All help will be much appreciated. Thanks.


texts: P&T Assets Error Creating Subfolders : Invalid Assets Source Path

texts:
I'm pretty sure I'm missing something obvious here. But for some reason, when I try and create a new subfolder, I get the following: "Invalid Assets source path". I checked and the parent folder has CHMOD of 777. I'm running Assets 2.0.4 and EE 2.6.1.

Any ideas?


texts: EE 2.2.2, member group unable to access file manager

texts:
I have a site running ee 2.2.2. I've set up a new member group, but this group cannot see the file manager or upload files.

I've checked the group settings as below:

Can access CONTENT: File Manager - yes
Can administrate file upload preferences - yes

I've gone into file manager and made sure the group can access the directory.

If they go to Content menu, they can't see the file option.  If they click Browse Server in an entry, they get the following message:


texts: cp_menu_array hook : nav_ not getting picked up

texts:
I am hooking in to cp_menu_array - which seems light on the old documentation - to stick up a menu for my module.

All works as expected, except the language strings.

public function cp_menu($menu)
{
    if ($this->ee->extensions->last_call !== false) {
        $menu = $this->ee->extensions->last_call;
    }

    $menu['giftcards'] = array();
    $menu['giftcards']['view_giftcards'] = BASE.'&amp;C=addons_modules&amp;M=show_module_cp&amp;module=store_giftcard';
    $menu['giftcards']['edit_giftcard_emails'] = BASE.'&amp;C=addons_modules&amp;M=show_module_cp&amp;module=store_giftcard';

    return $menu;
}

This gives me the required menu item, but the strings pop up as 'nav_giftcards', etc.  So, one might expect to stick them in the lang array thus:

$lang = array(
    "store_giftcard_module_name" => 'Store Giftcard',
    "store_giftcard_module_description" => 'Gift certificate functionality     for Expresso Store',
    "nav_giftcards" => 'Giftcards',
    "nav_view_giftcards" => 'View Giftcards',
    "nav_edit_giftcard_emails" => 'View Giftcards'
);

Alas, to no avail.

If anyone can point out the trick I'm probably missing before I need to dive in and walk through the core to find out, I'd be much obliged.


texts:
I've just added Solspace Shortcut to an install. I've tested some URLs from within the module itself and those seem to work fine.

I then added the fieldtype to the Channel and added a custom shortcut but it didn't resolve.

Now looking at the Shortcut control panel, I can see the shortcut but the URL is 'not set'.

Also, when I try to edit, I just get the control panel home page.

Any ideas?


texts: Exp:resso Store cart issues on lcoalhost

texts:
I'm developing my first Exp:resso Store site and I'm running into an issue with the cart not updating on my local development machine. I develop all my EE sites locally using OSX's built-in apache web server but this is the first time I believe I've ever seen any issues with functionality like this. Are there any reasons why the cart wouldn't update or allow me to add new items when testing on a local environment? I've uploaded this to a staging server and the cart seems to work just fine so it's definitely something in the configuration of my local development web server. It's pretty much the default config with only a couple minor changes to ensure permissions and turn on virtual hosts.

UPDATE:

RewriteEngine On

# remove index.php
RewriteCond %{QUERY_STRING} !^(ACT=.*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

# remove www
# RewriteCond %{HTTP_HOST} ^example.com$ [NC]
# RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]


texts: Does {name} always equal {username} in Forgotten Password template?

texts: Does the name variable in the forgot password email template always equal the username?


texts: Custom Module tags seem to be parsed twice if stylesheet link is passed back to template

texts:
I’ve built a module that creates a new file from tagdata between a tag pair, before creating the new file if a similar file already exists it moves it to an archive folder, it then writes the path to the new file back to the template, this is the part that’s causing problems; the new file gets created, and the existing file gets archived, however if I try to return or echo the new file path back to the template it causes the new file to also get copied to the archive folder.
Template tags:
{exp:custom_mod:test}
    Some data.....
{/exp:custom_mod:test}

Module code:
public function test()
{
    $page_data = ee()->settings_model->get_settings();

    //fetch all files from folder
    $directory = $page_data['folder_path'];
    $pattern = "custom.*txt";
    $files = ee()->file_model->folder_iterator($directory, $pattern);

    //move existing to achive folder
    ee()->file_model->move_to_archive($files);

    //create new file and get link to it
    $name = ee()->file_model->create_new_file();

    $link_text = "<link href=\"$name\" rel=\"stylesheet\">;

    // this works as expected
    return;

    //this causes more than one new file to be created
    return $link_text;
}

So it seems that writing the new file path back to the template perhaps causes the module tag to be parsed again (I can't think of another explanation).
Is this what’s happening? How do I stop it?


texts:
How can I translate the Freemember error messages into a different language?

Specifically the error message like: The {field_name} is required.


texts:
I'm looking for implementation information about using Backbone.js on the front end of an ExpressionEngine site. I saw this site that appears to be using EE and Backbone together but would be curious to learn more about how that would be implemented.

The Entry API add-on is the closest add-on currently built for EE that would support the REST functionality needed for Backbone. But I was wondering if this would be the recommended way to approach integrating with Backbone, what are the potential security issues, or would this be something that would have to be implemented through developing a custom plugin that will handle the interaction between backbone and the database?

What I hope to achieve is similar to the link as well. Essentially it would be a large category listings page that would be displayed and filtered based on category check boxes. Which then would simply be probably a custom SQL query based on the cat id's passed in. Then using backbone for the display of that updated query result (through REST) based on category selection in the main content area of the front end through the JavaScript. The interaction between the REST connection would be for display only and never would it be used for any actual update or create operations.


texts: What is causing this cartthrob orders edit date formatting issue

texts:
Version Info: EE 3.4.5 Cartthrob Pro 3.0.2

While looking at my admin CP today, I noticed that all cartthrob placed orders have some really strange edit dates. While the exact cause is unknown to me, I can clearly see that the problem is being caused by how the edit date is being added to the DB.

For example, for a newly created order, the entry date in the DB is a standard 10 digit Unix timestamp. i.e., 1487232589.
However, the edit date is added to the DB as YYYYMMDDHHMMSS. i.e., 20170216171049

Please note that this happens for all new entries.  Upon actually opening and editing an entry via the CP, the edit date is corrected to a Unix timestamp.


texts: Registering/Logging into multiple sites at a time with MSM

texts:
I've been through the docs, and found this thread (http://ellislab.com/forums/viewthread/58566/), which makes it appears as if a user can login to site A, and also login to site B at the same time on an MSM setup. The idea being they login once, and get access to both sites and appear logged into both sites. I need this to happen on the front-end of the site, not the control panel. I followed the thread, and the docs and made the necessary configuration updates, but nothing works. I even added a hook and tried to create the cookie manually for the other domains, but I suppose thats not possible b/c its a potential XSS issue (the sites are all on different domains).

Site A, the main site, houses the registration form. If a user is on site B, they are sent to site A, register (and auto logged in), and then return to site B, however, they are not logged into site B at this point, only site A. I need them to be logged into both.

I suppose the only course of action is to create some sort of handshaking via ?ACT requests with a token to validate the login, thus each domain would receive an ?ACT request to set the cookie on that domain.

Is there any other way to approach this? Why do the native config values have no affect?


texts: Upgrade to EE 2.10.1 - An Error Was Encountered Non-existent class: Template

texts:
I successfully upgraded a site from EE 2.9.1 to 2.10.1, but when I go to the home page I get the following error:

  An Error Was Encountered Non-existent class: Template

I can access the control panel but I can't get past the error notice on public facing pages. I have searched and find only one old reference to this error. Can anyone shed light on the cause and solution to this?


texts: Exp:resso Store - Checkout listing and Matrix Images - bug?

texts:
In the Expresso Store channel, my images are in a Matrix array, and while I can see it on the product page, the first checkout page ignores the matrix wrapping fields:

 {store_preview limit="1"}
    <img src="{img}">
 {/store_preview}

which generates this on the checkout listing:

{store_preview limit="1"} (broken image graphic) {/store_preview}

(this also gets pushed through CE Image, so I need to wrap the entire  element). It appears it's being parsed as text - so no image gets called. Bah.

Has anyone seen this? Could this a bug the {exp:store:checkout} pair, or am I missing something?


texts: Super Search returns no results with category parameter

texts:
I'm trying to filter results to a few channels and I want to exclude entries in the news channel with the category of "Internal News". The following returns no results.

{exp:super_search:results
    channel="not blog|breakouts|calendar|work|heros" sort_by="asc"
    limit="15"
    status="open"
    category="-Internal News"
    relevance="title=500+summary=10+body=2"
    relevance_proximity="yes"
    highlight_keywords="strong"
    smart_excerpt="yes"}
...
{/exp:super_search:results}

I've tried category="-internal-news" and I've tried the category filter in the search form with no luck.


texts:
according to the Pixel & Tonic site Assets is capable of doing an replacement of existing files based on filename.  It should allow to upload a new version with the same name (providing me with a choice of replacement) and without breaking existing entries' file links.

However that does not seem to work on my install (EE 2.5.5 and Assets 2.1.2 - coming from 2.0.5 and hoping that upgrading would solve my problem), Assets just creates a new file with a and '-1' suffix in the filename

Any thoughts?
rg,
Tim


texts: Is there a way to change the parse order of snippets or plugins?

texts: Is there a way to force snippets or plugins to be parsed late or at least after advanced conditionals are parsed?


texts: MX Google Map's search functionality not returning results for existing locations

texts:
I'm using MX Google Map to map various locations. However, when I use the {exp:mx_google_map:form} and {exp:mx_google_map:search} I can't return any results. I verified the information is filled out in the entry, but doing a search for the same zip code returns no results and the template debugger outputs this information:

(0.011036 / 6.35MB) Tag: {exp:mx_google_map:search channel="glo-con" reverse_geocoding="true" address="" long="" lat="" unit="" radius="500" prec="2" prefix="" address_fields="address"}
(0.011161 / 6.36MB) Closing Tag Found
(0.011209 / 6.36MB) Processing Tags
(0.011244 / 6.37MB) Module Tag: Mx_google_map/search
(0.011260 / 6.37MB) Including Files for Plugins and Modules
(0.012097 / 7.28MB) Files for Plugins and Modules All Included
(0.012724 / 7.31MB) Beginning Final Tag Data Processing
(0.012749 / 7.31MB) Calling Class/Method: Mx_google_map/search
(0.012966 / 7.31MB) -> Class Called: Mx_google_map
(0.013003 / 7.32MB) -> Method Called: search
(0.070547 / 9.99MB) Returning No Results Content
(0.070693 / 9.98MB) -> Data Returned

My /contact page:

{exp:mx_google_map:form result_page="/contact/results" long="" lat="" unit=""}

        Address

            <input name="address" type="text">

        Radius

            <select name="radius">
                <option value="100">100</option>
                <option value="50" selected="selected">50</option>
                <option value="30">30</option>
                <option value="25">25</option>
                <option value="20">20</option>
                <option value="15">15</option>
                <option value="10">10</option>
            </select>

    <input type="submit" value="Submit">
{/exp:mx_google_map:form}

My /contact/results page:

Search Results

{exp:mx_google_map:search channel="glo-con" reverse_geocoding="true" address="" long="" lat="" unit="" radius="500" prec="2" prefix="" address_fields="address"}

    {entries}
        {glo-con-map}
{title}
{/glo-con-map}
    {/entries}

{/exp:mx_google_map:search}

Am I missing something very obvious?

Version information:

ExpressionEngine 2.5.4
MX Google Maps 1.4


texts:
Trying to create a simple form that allows a visitor to submit a GPX file and basic contact info.
Is there a simple way to do this without using a plugin?
All I find is this - I'm not sure it's still supported?
https://docs.expressionengine.com/latest/development/legacy/libraries/file-uploading.html
Thanks in advance.
S


texts: EE 2.9 notification email from DevDemon Forms bug

texts:
I think DevDemon Forms got the same issue I experienced (now fixed) with FireMail (http://devot-ee.com/add-ons/support/firemail/viewthread/13824).

All the notification emails created by DevDemon Forms, starting with
{!-- ra:00000000545df7cc00000000xxxxxxxx --}

This all happened after upgrading to EE 2.9. We are on DevDemon Forms v3.4.11

Thanks


texts:
Is there some sort of way in Expresso-Store that I am able to use the {exp:store:product} tag inside of the {exp:store:checkout} tag without generating a 'product form' inside of the 'checkout form'? I need to use the {total_stock} tag from {exp:store:product}.

I tried to use {exp:store:product} inside of {exp:store:checkout}, but then my submit button to go to the next checkout step did not respond at all and I think this might have been because there were two forms on the page?

I have this code within my {exp:store:checkout} tag:

{if total_stock > 0}
    <select name="qty">{exp:lb_cart:get_cart_stock t_stock="{total_stock}" item_qty="{item_qty}"}</select>
{if:else}

Out Of Stock ({item_qty}). Item will be removed from the cart.

{/if}

Is it possible to user the {total_stock} referencing {exp:store:product}?


texts: Get current category of channel entry corresponding to current URL

texts:
I have a channel, products, with a URL structure like this:

/product/description/categoryA
/product/description/item-in-categoryA
/product/description/item-in-categoryA2
/product/description/item-in-categoryA3
/product/description/categoryB
/product/description/item-in-categoryB
/product/description/item-in-categoryB2
/product/description/item-in-categoryB3

When I am on, for example, /product/description/item-in-categoryB3, I want to indicate that categoryB is the current category. However, I cannot find a way to do this. I have tried {if active}, which never returns true whether I am inside channel categories or channel entries (using version 2.5x). I have tried inspecting the URL segment but I cannot rely on this when I am on an item's page as the category does not appear in the URL.


texts:
I am using the latest version of EE2 and DevDemons channel images.

When i duplicate a site, any channel entry with channel images or channel videos have lost the images & videos.

I assumed when i duplicate a channel and its entries that the images and video links would be copied over also?  Or have i missunderstood?

Thank you.


texts: https and Control Panel mixed content error

texts:
I've got a site in SSL but when I visit the Control panel it is completely unstyled and looking in the inspector I see a mixed content error and js/css is being blocked.

Not sure why this is happening, but in case it's relevant am using FocusLab Master Config for EE3

**** UPDATE *****

I added this to config.prod.php and no change

$env_config['cp_url'] = 'https://www.domain.com/admin.php';

**** UPDATE 2 ****

This is in response to @jrothafer about the config settings. Here is the relevant code from config.master.php

$protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://';
$base_url = $protocol . $_SERVER['HTTP_HOST'];
$base_path = $_SERVER['DOCUMENT_ROOT'];


texts:
I have a conditional which is the following:

{if '{current_time format="%H%i"}' >= '0000' AND '{current_time format="%H%i"}' <= '1300'}
    {navi_speisekarten}
{if:else}
    {navi_speisekarten}
{/if}

This works well. But I need an additional function: If there is no entry in the Channel "mittagskarte" show {navi_speisekarten} even if it's between 0000 and 1300

How do I write this? This melts my brain. I tried a few things mostly ending up in a parsing errors.

The conditional is not inside a Channel Tag.

Thank you


texts: How to code in notification mail a link to page with automatic login

texts:
Is there a way to code links in notification mails (to a potential logged out user) in such a way that the user goes directly to the message page, without the login procedure?

(In my case, Solspace Friends module generates a notification link to a page only visible for logged in members.)


texts:
Im pretty sure the problem here is the parse order, but I'm struggling to figure out where the issue is.

I have a page with the following on it:

{exp:stash:set name="market_ids" parse_tags="yes"}
{exp:query sql="select GROUP_CONCAT(entry_id SEPARATOR '|') as market_ids from exp_channel_data where channel_id=3 AND field_id_12 LIKE CONCAT('%', DAYNAME(from_unixtime({exp:stash:delivery_day})), '%')" parse="inward"}
    {market_ids}
{/exp:query}
{/exp:stash:set}

Then further on in the page I have the following:

{exp:low_search:results limit="{exp:stash:paging default='12' type='snippet'}" channel="products" status="not closed" child:cf_product_market="{exp:stash:market_ids}" child:cf_product_delivery_zone="{fn_zone_id}" paginate="bottom"}
....
{/exp:low_search:results}

The Paging stash entry is set on another page with scope="site" and type="snippet" and that works fine, however the {exp:stash:market_ids} is just not being recognised in the tag. I've output the value to the page and its definitely got data in the entry.

I've tried adding parse="inward" to the {exp:low_search:results} tag, but that doesn't appear to make any difference either.

Is there something else that I need to do to make this work?

Thanks!


texts: Dynamic {site_name} inside channel:entries tag with site="" parameter

texts:
Anyone know if it's possible to get back the name of the site an entry is from dynamically? Simple code example below:

{exp:channel:entries channel="news" site="siteA|siteB"}

{title}

Published: {entry_date format="%j %M %Y"} in {site_name}

{/exp:channel:entries}

Tried using {site_name} and {site_label} but they just show the current site. Be nice to be able to get the site name and short name out.

Cheers, Ant


texts: Wygwam/CKEditor stripping out empty  tags (Font Awesome)

texts:
There was an earlier post related to this, but its solution was outdated. So I'm creating a new one.

I am using ExpressionEngine 2.9.2 with Wygwam 3.3.2. Our site incorporates icons using FontAwesome 4.2. FontAwesome icons are called by inserting an <i> tag like <i class="fa fa-caret-down"></i>.

Wygwam, via CKEditor, strips out empty <i> tags by default. In the past, we have suppressed this default behavior by adding CKEDITOR.dtd.$removeEmpty['i'] = false; to CKEditor's config.js file.

However, after updating ExpressionEngine to 2.9.2 and Wygwam to 3.3.2, this approach no longer works (Yes, I added CKEDITOR.dtd.$removeEmpty['i'] = false; to the new config.js file). Empty <i> tags added in source mode are saved, but the next time the editor is initialized on that entry, all empty <i> tags are stripped again. Saving the entry again results in saving the "stripped" version, without the icons. The only way to get the icons back is to re-enter them every time an entry is edited. Not exactly a workable solution.

Any thoughts on how we can get back to preventing CKEditor from stripping those <i> tags?

If it matters, I am editing in Chrome 39.0.2171.27.

EDIT: Apparently it does matter. It appears to work correctly in Safari, Firefox and IE. It's broken only in Chrome. It work in IE, but is broken in Chrome? What is the world coming to? Anyway, I still appreciate any insight into this problem. Thanks.


texts: PayPal Express has been updated to PayPal Checkout: Is there a way to add this to Expresso Store 2?

texts:
PayPal Checkout has features not available in PayPal Express.  Is there a way to add it to Expresso Store 2 through Omnipay?

PayPal Checkout Overview


texts: Is it possible in EE 2.6.1 to have a super-admin create a member of another group, and have the system send a temporary password, and then have the user login to the front-end with that temporary password. These members will never have access to the control panel. Are there any good 3rd party modules that would accomplish this?


texts: exp:channel:categories not displaying all categories in a group

texts:
So I have a channel (dog) with multiple category groups assigned to it. I'm trying to build a navigation and have the following code for the DOG dropdown list:

{exp:channel:categories channel="dog" style="linear" show_empty="yes" category_group="6"}
{category_name}
{/exp:channel:categories}

Out of 10 categories (all have entries), only 5 show up.

I'm using the following code to show categories under BUNNY and all categories show up.

{exp:channel:categories channel="bunny" style="linear" show_empty="yes" category_group="1"}
{category_name}
{/exp:channel:categories}

The only difference that I have noted between the two channels is that DOG has multiple category groups assigned (6|7|8) while BUNNY only has one (1).

I have taken the code out of the full template, and placed it into a separate template with no other code to make sure nothing else was interfering and the results are the same.

Thanks for any help/tips/suggestions you can provide.

EE v2.7.2


texts: Non-Paginated, Dynamic Adding Search Results

texts:
I have been asked to set up a "show more" search results expansion instead of "next page" style. An example would be, when you are reading comments on LinkedIn, instead of a list of pages of comments you can review, you simply click "show more" and it dynamically loads additional comments.

I purchased Solspace Super Search this morning, as the built in search was too limited for our needs. I'm curious if anyone has created something like this already, and would have suggestions. Alternately, if no one has done this, any suggestions on where I might start? (long time programmer, PHP and many more, don't hold back if you think i might not understand)


texts: Secondary site on MSM not retaining its URL

texts:
EE 2.7.2.

I have a secondary site on Multi Site Manager. Users can only login to EE from the main site, so I have no admin.php for the secondary site.

In the secondary site's index.php, I have:

 $assign_to_config['site_name']  = 'secondary_site_name';
 $assign_to_config['cp_url'] = 'http://primarysite.com/cp';
 $assign_to_config['site_url'] = 'http://secondarysite.com';

However, when I go to Admin --> General Configuration for the secondary site, URL to the root directory of your site is still set to primarysite.com

How do I make this setting correct? Note: I will be adding additional sites later.


texts: Expresso Store: remove item in cart with 'x' button

texts:
How would I go about removing an item in the cart through the use of a little x button? This would not be in a exp:store:checkout tag.

Rather, the cart would display along side the store itself with a current listing of all items. It would have a 'checkout' button, which then leads to a check out page, but also a little 'x' on the far right of each entry in the cart to allow the user to remove an item with a single click.

Is this feasible in Expresso Store?

Here is the code of my _cart include.

Cart

          {exp:store:cart}
            {if no_items}

Your cart is empty!

            {/if}

            {items}
            {exp:channel:entries channel="store" entry_id="{entry_id}" limit="1" status="open|outlet center"}

{!-- {exp:gwcode_categories entry_id="{entry_id}" excl_cat_id="27|2|38|40|43|37|28|30|29|31|36|34|32|35|33|3" style="linear"}{cat_name}{/exp:gwcode_categories} – --} {product_color}

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

checkout

            {/exp:store:cart}


texts:
I have a template that outputs a list of categories and any entries associated with them.

All entries are assigned to child categories and none to the parent categories (the parent categories exist only to aid organisation of the child categories).

When the list is output, the names of the parent categories are being shown (with no entries), then the child categories with their entries as expected.

It looks something like this

Cat1
    Cat 1A
        (entries)
    Cat 1B
        (entries)
    Cat 1C
        (entries)
Cat2
    Cat 2A
        (entries)
    Cat 2B
        (entries)
Cat3
    Cat 3A
        (entries)
    Cat 3B
        (entries)

How can I not show the parent categories but keep the child categories showing?

i.e. the output will look like this...

    Cat 1A
        (entries)
    Cat 1B
        (entries)
    Cat 1C
        (entries)
    Cat 2A
        (entries)
    Cat 2B
        (entries)
    Cat 3A
        (entries)
    Cat 3B
        (entries)

Is my only option to remove the parent categories completely?

Here's my current template code

{exp:channel:categories channel="attachments" category_group="2" parent_only="no" style="linear" show_empty="no"}

{category_name}

    {exp:channel:entries channel="pages" entry_id="112" }
        {exp:playa:children field="attachment" category="{category_id}" disable="members"}

                        {attachment-file-text}

                {/exp:playa:children}
    {/exp:channel:entries}

{/exp:channel:categories}


texts: How to count member's entries, limited by channel?

texts:
I'm trying to find a way to show a simple entry count for the logged in member, which is limited by channel. I would be using this in a conditional to change the action of a link depending on how many entries they've posted to that channel. Something like this:

{if member_group == '8' && {MY_ENTRY_COUNT channel="directory"} > 1}{/if}

The only plugin I can find is this one: https://github.com/websecret/number_member_entries

But it doesn't work right to limit by channel - looks like its channels parameter is setup to list channel ID's instead of short names, but I don't think channels even have IDs.

If it makes any difference I'm using Solspace User, but that only appears to have a simple entry_count variable that can't be limited by channel.

Anyone know how else to get a count like this that could be used in an advanced conditional?


texts: importing entry status via CSV - does uppercase or lowercase status matter

texts:
I typically add/edit/delete my entries via CSV (datagrab) and have been doing so for a while now. Recently I'm seeing some confusing things in the way that some of my entries were being ordered and displayed and I noticed that during one of my imports, I had updated statuses to 'Open' while some of the other entries are 'open'.  Both statuses seem to display, but which is actually correct?

The site is on EE 3.4.5 and I'm pulling entries via a SELECT DISTINCT query

WHERE exp_channel_data.channel_id='2' AND status='open'

The query pulls the same number of results regardless of the case of the status.

Which one is actually correct per EE standards? open/Open closed/Closed
For that matter what about all caps?

Note that on EE2 if you check the default status it shows Open/Closed as status names, but if you open the status it shows open/closed.


texts:
I am not new to expression engine but the question i have returns no answers in google.

I need to:

@ the time of successful login
 - do something outside of expression engine (various external requirements)

Ideally i would like to add an include/function(php/sql) at the right place to run at the time of successful login each new login.

I could achieve this by if {logged_in}.

But this is not really the solution i had hoped for.

Is there a place where i can add to the login-complete part of expression engine?

If so, where is it / is there documentation for this?


texts:
I'd like to take any URL where segment_1 == "supernav" and remove that segment. So this:

http://alpha.ced.berkeley.edu/supernav/gallery/

Would become this:

http://alpha.ced.berkeley.edu/gallery/

How can I do this?


texts: Plugin to show download only after the form has been fielded out?

texts: Is there a plugin that will only show the Download path after a form has been filled out eg: after the email address has been filled out and the user clicks on submit the download url will be returned?


texts:
I'm investigating a small issue on a site. I'm positive that my issue is just due to my inexperience with Solspace Calendar.

I'm using the calendar:occurrence tag to display an event list per category. It seems to only be showing events that are recurring events, rather than any single occurrence events.

This is the opening tag/code that I'm using:

{exp:calendar:occurrences
orderby="event_start_date"
sort="asc"
date_range_start="today"
date_range_end="6 months"
upcoming_occurrences_limit="1"
show_months="6"
limit="3"
dynamic="off"
search:event_ministry="{embed:entry_id}"}

Should I be using :calendar:events instead? We previously tried that but weren't able to get the repeating events to display.

Thanks for your help!


texts:
Is there a way to access config variables from the config files via native EE tags so that I can display it in the templates ?

Or are there none that I have to right a plugin for it?


texts: How can I use http parameters to create a new record in EE

texts: I need to get the parameters from a http post url sent to my site and use the data to create a new entry in Expressionenegine.


texts:
How can I pull back the {description} information from an uploaded image. Bearing in mind I'm pulling back an image manipulation of the original?

   <img src="{recipe-thumbnail:small}" alt="{description}"/>


texts: Publish or Edit an entry in a specific Channel - Publish tab empty

texts:
I have a website running EE 2.7.2. From yesterday, after publishing an entry, I noticed that if I edit an entry from that channel or if I try to publish a new one, the Publish tab is completely empty:

The channel is correctly linked to the channel field, and in the front-end I can see all the entries from that channel.

If I click to show toolbar all the fields are unchecked, but if I check them (with the eye open) and click Save Layout, it returns unchecked:

This problem occurs only with a Channel, and I don't want to delete and re-create the channel because there are dozens of entries here.

What can I do? Thank you.


texts:
So on my local server I can see my templates

http://mylocalhost.com/site/aboutus

I moved my site to another (staging server) and these templates have disappeared.

Any ideas? I have updated the Server path to site's templates and have synced the templates and all is good there.

edit: created a test template and /site/test is not visible either


texts: entry "status" not honoured on import [json / solspace importer]

texts:
When I import a json file the Status is neglected. All imported items have the status "Closed" after an import when the value of the imported status field is set to "Open" and I have tried "open" just like in the docs.
The import is completing successfully but the status setting is not being honoured.
The status field is being recognised in the import profile settings.

Hope someone can help :)

(EE2.9.2 / importer 2.2.5)


texts: hits addon is not working on multiple sites

texts:
hits addon downloaded from http://www.devdemon.com/expressionengine-addons/hits not working on other sites I have three website

1) exampleone.com
2) exampletwo.com
3) examplethree.com

exampletwo.com,examplethree.com are fetching data from exampleone.com using site="short_name" here is example:-

{exp:channel:entries channel="news" site="default_site" limit="1"  track_views="one" dynamic="no" status="open|featured" disable="categories|category_fields|pagination|member_data"}

          {exp:hits:count_hits entry_id="{entry_id}"}

   {/exp:channel:entries}

now when i put hits adddon as per there documentation its not working on
exampletwo.com,examplethree.com and its only working on exampleone.com

Thanks in advance


texts: Channel Entries tag pair using a Playa field is not populating in the view template

texts:
I have a working template that is included in the right rail of my EE site.

This template pulls from a channel that simply relates entries from other channels to this specific channel on a one-to-one basis and is used as a sort of "highlight reel" or "Top 5" for the sidebar. The relationship is using Playa to link multiple different channel's entries to this one.

It works throughout the site with exception to an entry's view template. In that template it only returns with highlighted entries that match that channel. I am simply using the same embed code for another template that is embedded into every page. It embeds like:

index <- right_rail <- highlight_reel

For example, the highlight reel can pull from Activities, Events, and Food channels using Playa for the relationship. When you navigate to the view template of a particular Events entry this only displays Events entries that have been related.

Is there a configuration or parameter that needs to be set in order to keep the results consistent?

Let me know if there is anything else that would help you help me.
I've got this question also posted here because I didn't realize that this place existed. I'll sync the two if an answer pops up

Some additional code for the loop:

{exp:channel:entries channel="most_popular" dynamic="yes" orderby="date" sort="desc" limit="5"}
    {exp:playa:children field="popular_entry" status="not closed" disable="members" limit="1"}

Thanks a bundle in advance!


texts:
I used the google map styling wizard to generate this JSON frag.

[ { "featureType": "road.highway", "stylers": [ { "visibility": "on" } ] },{ "featureType": "road.local", "stylers": [ { "visibility": "on" } ] },{ "featureType": "road.arterial", "stylers": [ { "visibility": "on" } ] } ]

But I have no idea what to do with it. Where do I put this?

Thanks!

Greg


texts:
I have just downloaded the latest EE from Ellis Lab today. I am trying to create various child pages, each with a different template. Is this possible? I keep getting the following message:

"An Error Was Encountered
You are not authorized to access this page"

If this message doesnt occur, the parent template is inherited.

Thanks


texts: Content Elements: The session id is too long or contains illegal characters

texts:
All of the sudden today, I getting the following error msg on my site and in EE install

A PHP Error was encountered
Severity: Warning
Message: session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,'
Filename: content_elements/ft.content_elements.php
Line Number: 38

Has anyone run in this before?


texts: Freeform 4.2.4 is, newly, returning no results, despite entries

texts:
We recently updated to FreeForm Pro 4.2.4 and EE 2.10.3 for a client. All forms were working properly before the update, now forms that submit seem to be working fine; but queries that display data results come back empty. For example, on the client's site there are multiple tools to view the submitted forms, but only if the user is logged in and has permission (I've tested with removing login and permission requirements, still no data).

{exp:freeform:entries form_id='4|5' search:list_optin='Yes' orderby='entry_date' sort='desc' status='open|closed' limit='100' paginate='bottom'}

        {freeform:field:email}, {freeform:field:first_name}, {freeform:field:last_name}, {freeform:entry_date format="%m/%d/%Y"}<br />

{/exp:freeform:entries}

The request is simple enough. It checks to see if submissions, opted-in for their newsletter (I also tested removing the field search and just returning any records using form_id=4). There are a few hundred records in the system that meet these requirements, and no results are being returned.

The form worked before the upgrade. It's not a new tool. But the only thing I can see wrong is that it indicates 'no GET data'. I'm just not certain why there's no GET data.


texts: Adding CKEditor Plugins to Wygwam 4.0.9 in EE3

texts:
I'm attempting to add a CKEditor plugin to Wygwam 4.0.9 in EE3, but the documentation I found in pixelandtonic and wygwam docs showing wrong upload folders.

There is no such folders as themes/third_party/ and system/expressionengine/third_party/ .

Please confirm the exact folder names where I will upload the PHP files.


texts: P&T Dropdown and Checkboxes with Channel forms

texts:
I have been trying to get P&T's Dropdown as well as Checkboxes to work with Channel Forms but I do not seem to have any success as of yet. I have tried using

    {my_field_name}
            <option value="{option_value}"{selected}>{option_value}</option>
    {/my_field_name}

and

    {options:my_field_name}
            <option value="{option_value}"{selected}>{option_name}</option>
    {/options:my_field_name}

and

    {my_field_name:options}
            <option value="{option_value}"{selected}>{option_name}</option>
    {/my_field_name:options}

with no success. Does anyone know where i could be going wrong?


texts:
I created a channel "project" with several channel fields. For my question I am using the example of a field called "White Header", the short name is white_header and is is of Type Text Input.

When I output the field in my template, the content of the field of an entry is surrounded by  elements, which I don't need.

{exp:channel:entries channel="projekt" limit="1" orderby="date" sort="desc"}

{white_header}

{/exp:channel:entries}

The resulting HTML is:

White Header Content

I would like the HTML to be:

White Header Content

What I tried:

I changed the default text formatting from Markdown to None, but it didn't change anything
Tried to find a solution in the documentation
Tried to find a solution with google, but did only find an entry about "grid" (what is grid?) that didn't help in my situation.

How can I avoid, that ExpressionEngine outputs HTML elements, that I do not need?

What would alternatively help: Is there a way to assign a class to the auto generated
 element?


texts:
So I have this field created for one of my users in which I use matrix. EE is version 2.7 and matrix is 2.5.9 I also use MSM

So, basically there is a grid with 2 columns, one is for names and other is for sound. I upload mp3 file, that works ok, I go to matrix field, click add file, I see it, click save and then file is gone. I can do that forever. Like it does not sees change in value.

I have another entry, where also I have sounds, but that entry is few months old. there i click save, everything stays same. It does not delete values.

As far as I see it, problem is in Matrix fieldtype.


texts: Allow Access to Members-Only Content for Visitors Coming from Specific Referrers?

texts:
One of my clients, a membership-based education resources site, has asked if there is a way to allow non-members to see members-only content but only when following a link shared on Facebook or on Pinterest and, possibly, Twitter.

I know there are ways to reveal a referrer but I'm not sure how reliable those are? Or even if JS or PHP is the best or even the only way to handle this feature?

Any known / tested alternatives to doing this sort of thing?


texts: How to get Low Search results based on the category of a related item?

texts:
I have doctor channel and a locations channel. Each doctor has one or more related locations. Each location has one or more categories assigned.

For example, Location1 has Region1 and Region2 categories assigned to it, and Location1 is related to Doctor1.

Is there a way to return a list of Doctor search results with doctors who work in Region1?


texts: How Can I Stop a Progress Bar at 100%, When Donations Exceed That Amount?

texts:
This maybe more of a PHP solve, but the website is in ExpressionEngine. I'm using a Matrix field, Store to process donations, and reverse relationships.

I basically set-up a progress bar using some PHP to showcase how much funds were raised for a youth. This works well, but assumed that people wouldn't continue to give if the record had hit 100% funded (really bad assumption, but it was only suppose to be a demonstration site, not a final product).

What's happening is that there are a couple of records that have been funded over 100%. I'm trying to figure out what would be a method to (1) trap the progress bar, so it never extends more than 100% width and (2) remove the give button if/when the raised amount equals 100% or more. I don't really care about someone giving $100 when the individual raising funds only needed $25 to be successful. I'm more concern to not not allow or at least make easy future donations after they've reached or exceeded 100% funding.

<div class='value' style='width: <?=fixFloat($progress)?>%'><?=fixFloat($progress)?>

$<?=fixFloat($total_given)?> of $<?=fixFloat($total_need)?> (<?=fixFloat(number_format($progress, 1, '.', ''))?>%)

<?=fixFloat($total_donors)?> supporters &nbsp;Appeal Ends: {reverse_related_entries channel="appeals" status="open" orderby="date" sort="desc" limit="1"}{appeal_end_date format="%d %M %Y"}{/reverse_related_entries}

    {reverse_related_entries channel="appeals" status="open" orderby="date" sort="desc" limit="1"}
    {embed="youth/_needs" entry_id="{entry_id}"}
    {/reverse_related_entries}

I figured, it might be possible to encase the Store give button, in an id tag that shows/hide based on the outcome of progress details, but that's assuming I can set the progress bar to exactly 100% even if the amount is 130%, which I'm not certain how to do. The PHP variables are set in another portion of the page.

My PHP skills just aren't that great. The youth needs are stored in a Matrix field.


texts:
Occasionally after a user places an order their order is listed in the Orders Channel but the status is set to "Processing" then within a couple minutes there is another entry in Orders with a status of "Completed".  The only consistency in the orders that have a status of "Processing" is that the "Transaction ID" field is blank.

I recently upgraded CartThrob to 2.2.9 and EE to 2.5.5 and didn't notice this issue until after the upgrade.

Could this possible be an issue of the user clicking the Order button twice?


texts:
I want to purchase this add-on but not sure if it will fit into what I need.  Maybe someone who already has it can let me know?

1) Can the add-on be setup to email a registered user when that end user submits a new entry (confirming they submitted an entry)?  Plus email the admin.

2) Does this email the end user to new updates to their entries?  Does Postmaster send an email to the end-user if the admin updates their entry via the ACP or the front end using Channel:Form?

3) A bit of a stretch, but does the add-on have the ability to update a channel entry from an email?

4) Can the add-on notify on a per user basis if I create (as admin) a new entry that I only want them to be contacted on (assign them to get a notification)?  I assign it to the member and they get an email saying they have a new entry waiting for them.

Any clarification is greatly appreciated! Thank you!


texts:
Are there any plans to upgrade Wygwam to be compatible with ExpressionEngine 3?

If not, any recommendations or issues on upgrading to EE3 and changing editors?

Thanks,
Carol


texts:
Is there a codeigniter active record way of doing something like:

if(mysql_num_rows(mysql_query("SHOW TABLES LIKE exp_mytable"))==1)

I'm not seeing Show Tables as a method in the docs.


texts: Zoo Visitor not entering member_id on registration

texts:
I have a site in development using Zoo Visitor 1.3.34 (latest version) and EE 2.9.2. Currently, I'm running into a small stupid problem that might be a Zoo Visitor bug. I know I could write a tiny extension to fix the issue, but am wondering if anyone else has run into this issue.

When a new user is registered, they get their EE Member rows created, and Zoo Visitor creates an entry in the Zoo Visitor channel. Zoo visitor has a hidden field that holds the Member ID (so it can associate it's channel entry with the logged in user). When a new user is registered via a front-end

{exp:zoo_visitor:registration_form}

tag, everything goes fine, but the field that holds the Member ID in the Zoo Visitor channel does not get populated. If I then open that Members Zoo Channel entry and give a submit, it then populates that field. This is an issue because I'm using a Zoo Channel field to control permissions, and need to look up the members channel entry without someone having to open each new users Zoo channel entry and submitting it.

Any ideas I'm missing besides just making an extension that hooks to

zoo_visitor_register_end

and updating the Member ID field manually after registration? Zoo Visitor has way too much code for me to spend the time to track this down if it is a bug. Thanks!


texts: I have a channel (media) that has various custom fields, one a matrix field where you can post images to a gallery, I have already published 20 images to this gallery and everything worked as it should, now when I try to publish any more images it just won't work, no error message is given it just redirects to the CP homepage. Anyone ever came across this before??


texts:
I'm trying to remove ALL inserted assets in SafeCracker, I've got my opening tag like so:

{exp:safecracker
    channel="{prv_channel}"
    return="{segment_1}/{segment_2}/{segment_3}"
    entry_id="{entry_id}"
    class="form-inline"
    include_jquery="no"
    include_assets="no"
    datepicker="no"
}

So in theory, should this remove all the "inserted" code? Well... It doesn't :(

WHY!?

I can't remove them in the module file due to me needing them elsewhere on another template.

How can I remove these? Because jQuery isn't included before these scripts, it's just throwing big fat errors in console! Eugh.


texts: Migrated EE site shows correct page in URL but index page in browser window... ideas why?

texts:
I realise this is a an incredibly vague question, but asking just in case someone recognises symptoms and can suggest a possible cause that I can go investigate...

[if you haven't worked out I'm new to EE...]

I'm trying to migrate a site from one server to another server.

I've migrated the server using the instructions in EE documentation, and believe I've done those steps as required.

The site works perfectly on the current server.

On the new server the site will only show the home page, regardless what URL you enter (i.e. site_URL plus any trailing text gives home page).

The URL entered is preserved in the displayed browser URL.

I turned on template debugging, and this is what I see when I try go to any page that is not the index page - you'll see it seems to ignore the URI: (it is blank for some reason) and then loads /index...

(0.000013 / 4.53MB) - Begin Template Processing -
(0.000144 / 4.53MB) URI:
(0.000155 / 4.53MB) Path.php Template: /
(0.000165 / 4.53MB) Retrieving Template
(0.000175 / 4.53MB) Parsing Template URI
(0.000197 / 4.53MB) Retrieving Template from Database: /index

Anyone with any ideas?

Couple of clarifications based on questions asked.

First, the new server is simply another instance on the same hosting platform that we use for the current site instance - the idea is to build a test server that we can use to test module updates / do development on that is in the same hosting environment as the live site.

The hosting is done by a firm called TSOHost in the UK and is the "Cloud Hosting" package (https://www.tsohost.com/web-hosting).

Second, is the complete .htaccess file from the current server (on which EE is working no problem, and has been copied over to the new server instance):

AddType x-httpd-php53 .php

Header set X-UA-Compatible "IE=edge"

<IfModule mod_rewrite.c>
RewriteEngine On

# Removes index.php from ExpressionEngine URLs
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
ErrorDocument 403 http://2gc.eu/pages/sorry-that-link-cant-be-used
# Added automatically by Gridhost panel Wednesday 27th of March 2013 06:45:28 PM
Options -Indexes


texts: Unable to Edit Categories via Channel Entry

texts:
I'm unable to Edit Categories under the Categories tab of a Channel Entry view. When I click on Edit Categories nothing happens. Looking at Console this is the error it produces:

Uncaught TypeError: Cannot read property 'clone' of undefined

I've been using EE for four years and have never had this issue. Any thoughts?

Using EE 2.8.1.


texts: Can I use category_group to relate groups with Stash's context?

texts:
I cannot seem to get this to work. Can stash utilize {category_group} as a context variable?

{!-- Premium Member Feed --}
{exp:channel:entries channel="dba_member" status="premium" orderby="random" dynamic="off"}
    {exp:stash:append_list name="thumbs_list" context='{category_group}'}
        {stash:thumb}{snippet:members_thumbs}{/stash:thumb}
    {/exp:stash:append_list}
{/exp:channel:entries}
{!-- /Premium Member Feed --}

{exp:stash:set name="mainContent"}

Featured Businesses

Dining

                {exp:stash:get_list name="thumbs_list" context='3' limit="3"}{thumb}{/exp:stash:get_list}

Nightlife

                {exp:stash:get_list name="thumbs_list" context='2' limit="3"}{thumb}{/exp:stash:get_list}

Shops and Services

                {exp:stash:get_list name="thumbs_list" context='5' limit="3"}{thumb}{/exp:stash:get_list}

{/exp:stash:set}

Also then, if possible, how can I limit or "get" 3 of each {category_group} these without stashing hundreds of entries or will there not really be a performance hit? I was thinking if I limited the channel entries to "9" that it may not fetch 3 in each context of the stash list.

{exp:channel:entries channel="dba_member" limit="9" status="premium" orderby="random" dynamic="off"}


texts: Displaying list of Calendar events from a Playa field

texts:
I am needing to display a list of Calendar events that are selected from a Playa field.
Of course, I need it to not display events that has passed (by event date) and if the events in the Playa custom field are all passed a 'No Events' message is returned.

My setup is as follows:
Channel A contains the Playa custom field that is pulling in all Event entries.

My code is below:

{exp:channel:entries channel="education" disable="categories|member_data|pagination"}

  {exp:playa:children channel="calendar_events" limit="5"}
    {exp:calendar:events event_id="{entry_id}" date_range_start="today" date_range_end="3 months"}
      {if calendar_no_results}
      No Events
      {/if}

{title}

    {/exp:calendar:events}
  {/exp:playa:children}

{/exp:channel:entries}

Doing this sort of works as it will output 'No Events' but it will do it twice as there are two entries selected in the Playa field that have passed.

If a event that hasn't passed (schedule for next month) that list will display the future event along with the 2 'No Events' for the other 2 passed events.

I've messed with Stash as well trying the calendar:events tag for the append_list and placing the get_list within channel and playa tags; see below.

{exp:calendar:events event_id="{entry_id}" date_range_start="today" date_range_end="3 months"}
{exp:stash:append_list name="cal_events"}
  {stash:item_title}{title}{if calendar_no_results}No Events{/if}{/stash:item_title}
{/exp:stash:append_list}
{/exp:calendar:events}

{exp:channel:entries channel="education" disable="categories|member_data|pagination"}

{exp:playa:children channel="calendar_events"}
  {exp:stash:get_list name="cal_events" limit="5"}

{item_title}

  {/exp:stash:get_list}

{/exp:channel:entries}

what am i missing?

thanks in advance!


texts:
What do I have to do to get files into the /static_cache/-folder so I can use the {exp:stash:cache}-tag.

I have yet again been iterating through the new stash-docs over and over but I cant figure it out.

I am pretty sure I got the prefs-files right but a little unsure on configuring the htaccess-file. Do I change anything else than the domain and the path of the static_cache-file?

/David