texts: Freeform won't accept email addresses without .tld and breaks error_page

texts: I have a form with an input field.  The form works fine as long as someone submits an email with a tld (e.g., john@example.com).  Unfortunately, we need it to be able to accept emails for local domains too (e.g., john@localdomain).  If someone submits that as an email address, Freeform doesn't submit the data and, instead, just redirects to domain.com/undefined which, we assume, is due to some specific error.  We tried to add error_page="form/error" to the Freeform call which should pull up our error page template.  I know the template exists, because pulling up domain.com/form/error pulls up the unparsed template, yet Freeform instead just hangs on submit.  The "Submit" button gets "visibility:hidden" applied to it, but then it just sits there and nothing happens.  Any ideas how to fix this issue or what could be causing it?


texts:
Is it possible to use SCORM within an ExpressionEngine template? I would really appreciate any advice on this.

A broad overview about SCORM can be found at http://en.wikipedia.org/wiki/Sharable_Content_Object_Reference_Model

Thanks

The types of data we would want to SCORM are quiz answers (radio buttons and multiple select checkboxes) or numbers of pages visited. Sorry to be vague but we are just starting to look into the option of using EE to deliver content.
The SCORM results would be sent to an LMS.


texts: How to set adaptive web design in ExpressionEngine

texts:
I am new in web development. and I wants to use the adaptive web designs in expression engine. can any help me that how we will use multiple screen sizes (Desktop, Mobile, Tablet) templates in expression engine. for example if we are saying home page template then i wanna create 3 different templates for home page. 1 for mobile 1 for tablet and 1 for desktop. system will automatically detect the device. my question is how to use multiple templates for home page.

Adaptive Web Design:

Adaptive web design is different from responsive design in that there isn’t one layout that always changes. Instead, there are several distinct layouts for multiple screen sizes. And the layout used depends on the screen size used. For example, there could be a specific layout for mobile phones, tablets, and desktop computers – each of which are made in advance. These three designs wait on standby until someone visits the site. The site detects the type of device used, and delivers the pre-set layout for that device.  So instead of a single ball going through several different-sized hoops, you’d have several different balls to use depending on the hoop size.

Thanks in advance.


texts: How to select a template for an entry via publish form

texts:
I am experimenting with the template partials approach and try to figure out how to let the client choose a template for the entry he is publishing/editing. Adrienne Travis mentions Blueprints in conjunction with Structure. But thats another $100 for just getting to choose a template from the CP.

So I was wondering if there are any other ways to go. I have been playing a bit with Low Variables and Template & Snippet Select but no matter how I turn there is alwasy some parseorder thing to have me grounded.

So...  any ideas?

/David

Oh, and this is what my wrapper-template looks like and I am hoping to replace the first line with contents from the layoutfield on the publishform.

{embed="_wrappers/homepage"}

{exp:channel:entries channel="ch-archive" limit="1"}
{exp:stash:set name="title"}
{title}

{/exp:stash:set}
{exp:stash:set name="content"}

{body}

{/exp:stash:set}
{/exp:channel:entries}


texts: Managing user session length in EE 2.8 +?

texts:
Recently upgraded to EE 2.8.1 and was worried about some things discussed in this thread.

Prior to EE 2.8 we were able to use the user_session_ttl config to set the user's session to whatever duration we pleased. But that config no longer exists, instead the user's session is now hardcoded to 2 hours (different if remember me is checked) (and cp sessions are 1 hour by default).

Are there any options out there asides from editing core for managing session lengths?

Or perhaps I am missing something?


texts: Exp:resso Store Send Order Emails To Different Email Addresses

texts:
Is it possible to supply dynamic BCC's on Exp:resso store order confirmation emails?

I have an ecommerce site that tutors can list courses on, and students can buy courses. When a course is purchased the student gets an email, but I need to notify the tutor too (which is an EE member).

I have got as far as writing an extension that taps into store_order_complete_end, which means I have access to the Store\Model\Order and Store\Model\Email objects... but I'm not sure what to do from there. Thanks.


texts: Freemember update_profile with member photo?

texts: I'm using freemember to update a member's profile, which is working great. However I now need to add member photo into the mix but I cannot figure out how to get this to work in that photos are not being uploaded. Are the any examples of an update form with member photo?


texts: Cannot use Login as Member for another Super Admin

texts:
EE 2.8.1 - when I try to login as a member (another Super Admin) and check the radio button for go to CP (or any button or none) EE just logs me out and dumps me back on the login screen.

Anyone have a similar issue or suggest a fix?


texts:
Typically I'm able to use PHP Mail on sites I develop but this client has an Exchange Server that requires SMTP over TSL. Since Freeform Pro uses the Email module in EE, my contact form needs to work with SMTP over TSL as well. I should note that PHP Mail works fine, it just won't send an admin notify to anyone with the client's email address domain.

My original attempt at changing the email configuration to SMTP resulted in a string of errors based on this line in the CI email library:

A PHP Error was encountered
Severity: Warning
Message: fsockopen() [function.fsockopen]: unable to connect to xxxxxxxx.xxxxxxx.com:25 (Connection refused)
Filename: libraries/Email.php
Line Number: 1675

After a little poking around I ran across the SMTP port settings in the email.php library and changed it to 587. I also put the following in my config.php file:

/* SMTP mail settings
-------------------------------------------------------------------*/
// $config['protocol'] = "smtp";
$config['smtp_server'] = "xxxxxxxx.xxxxxxx.com";
$config['smtp_username'] = "xxxxxxx@xxxxxxxxx.xxx";
$config['smtp_password'] = "xxxxxxxxx";
$config['email_smtp_port'] = "587";
$config['smtp_timeout'] = 5;
$config['smtp_crypto'] = "tls";

$config['protocol'] = "smtp"; is from the email.php library file in CI but it doesn't change the dropdown value in EE which is why it's commented out. $config['email_smtp_port'] = "587"; is specified in the hidden config variables in the EE Docs though CI uses $config['smtp_port'] = "587";. I tried both with no visible changes in the results. I discovered $config['smtp_crypto'] = "tls"; in the EL Forums. Not sure if this works or not because I couldn't find any reference to this config variable anywhere else nor was it in the email.php library file in CI (I actually couldn't find any mention of TLS in the email library actually).

After setting all of this I no longer get the errors but the form page just hangs and won't return the thank you page specified in my freeform tags. The form is submitted to Freeform but no user or admin notification emails are sent out.

Per this EL Forum thread I checked to ensure OpenSSL is enabled; it is, from PHP Info OpenSSL support: enabled. Per this EESE thread I checked to see if sockets were enabled; they were, from PHP info Registered Stream Socket Transports: tcp, udp, unix, udg, ssl, sslv3, sslv2, tls.

Any other suggestions? Thoughts as to why this might not be working?

UPDATE: I've marked @nonprofittech's answer as the correct one because it got me 99% of the way there by using Mandrill. There are a few other services as well that would probably work just as well but I trust MailChimp. If you run across this handy article on EE Insider, there seems to be one setting that is different than what's in the screenshot. Mandrill provides a username so use this an not the API key. One other thing I had to do is add $config['email_smtp_port'] = "587"; to my config file so EE could use port 587 to connect to Mandrill. I'm not sure if it's a MT server configuration thing but I got errors when I didn't add this hidden config variable. Since I'm using Escort I'm not entirely sure all these settings are even relevant but I recommend making your life easier and use this add-on. For Mandrill all you need to do is add your API key and check the box next to the service. You can add multiple services and set them in an order of preference to handle fail overs but I only have a Mandrill account so that's all I setup.

So far so good, so in short, Mandrill account + EE Email configuration settings with Mandrill credentials + hidden config variable for port 587 + Escort add-on worked perfectly. This will be the starting point for any future contact forms I have to submit through an Exchange Server or other SMTP server that doesn't allow PHP Mail or SendMail.


texts: Change all url titles - Remove illegal characters

texts:
I've just noticed that a client has created a large number of entries with illegal characters in the url titles. This is causing all osrts of problems with entries displaying incorrectly.

Is there a quick and dirty way to mass change all of the entry titles to remove the illegal characters (commas, periods, apostrophe's etc)?


texts: P&T Checkboxes not added to entry in Safecracker

texts:
I'm trying to add/edit a channel entry using Safecracker but my checkboxes in the form aren't showing up in the CP when I check the entry.

Any ideas? The Field Pack extension is enabled, as is the field type. Here's the template code within Safecracker:

        {options:therapy-coursemethods}
        <input type="checkbox" name="therapy-coursemethods[]" value="{option_value}" id="coursemethods-{option_value}"> {option_name}

        {/options:therapy-coursemethods}

Here's the html:

        <input type="checkbox" name="therapy-coursemethods[]" value="method1" id="coursemethods-method1"> Method 1

        <input type="checkbox" name="therapy-coursemethods[]" value="method2" id="coursemethods-method2"> Method 2

        <input type="checkbox" name="therapy-coursemethods[]" value="method3" id="coursemethods-method3"> Method 3


texts: Expresso Store 1.6.4 - Problems with new PayPal SHA-256

texts:
my client's website has v1.6.4 of Expresso Store. I integrated it into EE some years ago.
Recently, users of his website have experienced problems with the checkout process, which is using Paypal Express Checkout.
It appears Paypal has changed some security stuff (they moved to SHA-256), and has warned my client about it via email. The email says something about IPN, but frankly the translation into italian lacks clarity.
Is someone else among the readers here affected by the Paypal changes, and willing to help?

Thank you!
Carlo

UPDATE

Here's the email from PayPal:

As we have previously communicated to you, PayPal is upgrading the certificate for www.paypal.com to SHA-256. This endpoint is also used by merchants using the Instant Payment Notification (IPN) product.
This upgrade is scheduled for 9/30/2015; however, we may need to change this date on short notice to you to align to the industry security standard.
You’re receiving this notification because you’ve been identified as a merchant who has used IPN endpoints within the past year. If you have not made the necessary changes, we urge you to do so right away to avoid a disruption of your service!
Because these changes are technical in nature, we advise that you consult with your individuals responsible for your PayPal integration. They will be able to identify what, if any, changes are needed. Please share this email and the hyperlinks below with your technical contact for evaluation.
Testing in the Sandbox is one of the best ways to make sure your integration works. Sandbox endpoints have been upgraded to accept secure connections by the SHA-256 Certificates.
Full technical details can be found in our Merchant Security System Upgrade Guide. In addition, our 2015-2016 SSL Certificate Change microsite contains a schedule of our service upgrade plan.
Thanks for your patience as we continue to improve our services.


texts: HTML will not display 'if' image set as 'cover'

texts:
No idea if this is possible. I currently have an entry setup, that if an image is uploaded, it will appear at the bottom of the page, in a 'gallery' format below a heading, being: Gallery: Click to enlarge.

Now if the uploaded image is set as a 'cover' image, it will appear at the top right of the page (right of the text) instead of at the bottom (gallery) of the page.

This works fine, see code:

(This appears at the top of the page)

{exp:channel_images:images entry_id="{entry_id}" limit="1" cover_only="yes" force_cover="yes"}
...my image...
{/exp:channel_images:images}

(This appears at the bottom of the page)

{if news_image}

Gallery: Click to enlarge

{exp:channel_images:images entry_id="{entry_id}" skip_cover="yes"}
...my image(s)... (appearing within individual divs)
{/exp:channel_images:images}

{/if}

Because my 'if' statement just looks to see if an image exists, the Div AND the H4 heading still appear at the bottom of the page, even if the image is set as 'cover'.

So, is it possible to customise the 'if' statement so that my html code (div/h4 ) will ALSO not appear (when the image is set as cover).

Any help is appreciated.
(I understand that this is not necessarily a channel images question).


texts:
We're trying to write our own payment gateway plugin for store, using version 1.6.5

The payment gateway in question is the Croatian Webteh form (off-site) and we're having an issue with the landing page after the card gets processed on their server and the order payment status info gets sent back.

Webteh gives us the following parameters in GET after a succesful payment:

?approval_code=938745&authent
ication=&cc_type=master&currency=HRK&custom_params=&digest=9b345418cb4dd64a23f7459230079ba82d6e6331&enrollment=N&language=hr&order_number=24&response_code=0000

Where exactly (route) does store handle returns from the payment gateway? Webteh has a fixed url in their administration panel where it redirects successful payments - what should we redirect to? Our webshop is set up at http://www.example.com/webshop/. Should it be /webshop/checkout3?

We can't seem to figure out where purchase_return method is called.

Thanks!


texts:
After moving my site to a secure server (SSL), uploading images via the Editor fieldtype by uploading a new file throws an javascript error, traced to the Redactor javascript file.

If I first choose an existing image, everything works fine and I can embed the image. If I first try to upload a new image and that fails, then I try to choose an existing image as before, existing images no longer works unlike if I do it right away.

Error Messages from console:

Uncaught TypeError: Cannot read property '0' of nullredactor.min.js?v=3.2.4:4 Redactor.fn.$.Redactor.uploadLoadedjquery.js?v=1421706349:16 s.extend.proxy.ojquery.js?v=1421706349:17 H.event.dispatchjquery.js?v=1421706349:16 H.event.add.a.handle.s


texts: Is there any way to 'turn off' the Message pages that briefly show after a login, logout, etc.?


texts:
I'm currently wiring together a site that uses the DRY principle and makes heavy use of @croxton Stash module.

All is working as expected but if I purposefully remove part of the URL I cannot force a redirect as I'm using the URL template to capture the info and embedding (last) a template for display.

I'm using the {if {exp:stash:not_empty name="my-stash"}} Show the info {/if} to great affect but when I set {exp:channel require_entry="yes"} AND there is no entry, how do I force a redirect ?

{embed="_includes/_layout_equipment"} // The layout template

//Collect all values for all custom fields
{exp:stash:set parse_tags="yes" trim="yes" parse_conditionals="yes"}
{exp:channel:entries channel="equipment" url_title="{segment_3}" require_entry="yes"}
    {if no_results}Has no effect here{/if}

    {stash:title}{title}{/stash:title} // Get title
    {stash:matrix}{matrix}
{value}
{/matrix}{/stash:title} Get Matrix Pair
    //repeat for all custom fields in the entry - a lot of them
    {/exp:channel:entries}
{/exp:stash:set}

//Need to SET a host of 'stash's' using the master stash vars captured above

{exp:stash:set name="main" parse_tags etc}
    {if {exp:stash:not_empty name="title"}}

{stash:title}

    {/if}

        {stash:matrix}

{/exp:stash:set}

{exp:stash:set name="sidecontent" parse_tags etc}
  //Pull in other Vars declared in the steps above
{/exp:stash:set}

{exp:stash:set name="tab01" parse_tags etc}
  //Pull in other Vars declared in the steps above
{/exp:stash:set}

// Join all the bits
{exp:stash:set name="contentregion" parse_tags etc}

  {stash:my_var}

  {stash:tabs}

  {stash:anothervar}
  {stash:morevars}
{/exp:stash:set}

Then in the Embed template:

{exp:stash:get name="contentregion"}
// By this stage at least one var within this var contains some mark-up - no actual data but a random
 or

// ************* WHERE DOES A REDIRECT FIT IF THESE IS NO CONTENT ??? *****//

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

Apologies for confusion but my embed is quite simple due to the varying nature of the content (tabs, optional tabs, accordions, optional accordions and so on)

I've got all this going on and setting {no_results="redirect"} just fails to trigger


texts: Relationship Field Author Restriction in EE Backend

texts:
When creating/editing a relationship field, there is an option where you can restrict the entries returned, based on authors.

However, is there a way to set this so that you only return the entries that is authored by the current user logged in the Control panel?


texts: "Invalid API Key provided" error with Store and Stripe

texts:
I've checked the API several times and I'm sure the API code is correct, so I assume the problem is in the code on this page. I installed the Store plugin and I'm trying to set up a Stripe payment gateway using the Store checkout3 template as a starting point.

In reviewing the docs, I see differences between the Store documentation regarding Stripe and the Stripe documentation itself. Since the Store docs suggestions checking the Stripe docs, I'm not sure which code to use when there is a discrepancy between the two sets of documentation. I don't know javascript yet so I have been testing parts of the Stripe code in place of the Store code, attempting to find a solution through trial and error. So far, nothing has worked. It's possible I just made an basic mistake. Help would be much appreciated.

I'm using the latest version of both EE and Store.


texts: Creating a related entry inline from another publish screen

texts:
I am planning to make a recipe channel (yes food/meal recipes).

This would require an ingredient list. I plan to create a matrix field with rows for each ingredient. This matrix would have a qualtity column (i.e "1 tblsp") and a ingredient column.

I wish for the ingredient field in the row to be a relationship selection (e.g playa) so that we can maintain a list of ingredients, and it also would allow us to see all recipes that use a particular ingredient. The reason why ingredients need their own channel is because many ingredients will have meta data around them because they are sponsored and may have a link associated where a person could buy that ingredient.

My question is:

How would you go about enabling people to create a NEW ingredient while building the recipe without breaking the workflow? Many times I expect the ingredient to exist but not until many recipes have been data entered.

I would love a modal inline safecracker form to popup to submit the ingredient entry but am not sure if playa has a js trigger for selecting a 'new' option in the playa list.


texts: I am trying to do perfect forward secrecy in an ExpressionEngine site. I have forced https to be used on all the pages using rewrite rules but the elements on the pages - images, js links, stylesheets etc - are coded using http and thus newer browsers give a message "Some unencrypted elements on this in the page have been blocked". The elements should be encoded with relative paths or with https absolute paths and are not. My developers tell me that they are encoded by ExpressionEngine and they can't change them. Is there any way to force ExpressionEngine to encode this in a more secure way.


texts: Strange URL generating from AB Pagination - /P8Mike/

texts:
so, I've started noticing a couple 404 URLs coming up on Google Search Console with /P8Mike/ in the URL path (Example: /P8Mike/P40/).

These are originating from a paginated page on the website ending in /P8Mike/ which should not be a working page on our website, but for some reason, it is a working page on our website(s) and it's definitely not something that has been added on our end. It looks like it's somehow being generated by (we think) the AB Pagination plugin.

Has anyone else who uses AB Pagination noticed weird paginated pages like /P8Mike/ start cropping up?

I haven't personally created the templates, I've just come across the issue and am trying to see if anyone else has come across this issue as well...

At the top of the template, we have:

{exp:channel:entries disable="member_data|pagination|categories" channel="misc_list" limit="1"  refresh="1500"}

Inside a case:

<?php
    $segment3Pagination = (preg_match("/P[0-9]+/", "{referrer:segment_5}"));
    echo $segment3Pagination;
?>

Another example of usage:

{exp:ifelse parse="inward"}
    {if "{freebie_4}" == "date" OR "{freebie_5}" == "date"}
        {exp:channel:entries channel="person" dynamic="no" orderby="date" sort="desc" category="{exp:freebie:category_id segment='4'}" parse="inward" limit="8" paginate="bottom" disable="member_data"}
    {if:else}
        {exp:channel:entries channel="person" dynamic="no" orderby="random" sort="desc" category="{exp:freebie:category_id segment='4'}" parse="inward" limit="8" paginate="bottom" disable="member_data"}
    {/if}
{/exp:ifelse}

And then in the footer, we have:

{paginate}

Showing {abp_entry_from} - {abp_entry_to} of {abp_total_entries}

            Page:

                {if abp_has_previous}
«Previous
{/if}
                {abp_pages padding="no"}
                {if abp_is_current}

{abp_num}

                {if:else}

{abp_num}

                {/if}
                {/abp_pages}
                {if abp_has_next}
Next»
{/if}

{/paginate}

I would like to pinpoint where this is originating from and fix it, so that we are having some random URLs crawled that don't/shouldn't exist. Thank you!


texts:
I've got this code:

$res = $this->EE->db->where(array('EventCode' =>$r["eventcode"]))
       ->limit(1)
       ->get('exp_course_events');
$course_date = $res->row('FormalDate');

but when I try to echo $course_date;, all I get is Array

Isn't this how to use the DB class to return a single row and get it's field values?


texts: Is there a way to have AB Pagination display P1, P2, P3 instead of P10, P20, P30?

texts:
I am using AB Pagination to paginate news stories. When I click the numbered (and the next and previous) links, the URI segment is /P10, /P20, /P30. I would like the URI segment to be /P1, /P2, /P3. Does anyone know if this is possible? If so, how could I implement this?

Here is the channel entry tag I am using:

{exp:channel:entries
    channel="news"
    disable="member_data|trackbacks"
    limit="10"
    sort="desc"
    status="open|featured"
}

and here is the pagination code I am using:

{paginate}

        {if abp_has_previous}

<

        {/if}
        {abp_pages}
            {if abp_is_current}

{abp_num}

            {if:else}

{abp_num}

            {/if}
        {/abp_pages}
        {if abp_has_next}

>

        {/if}

{/paginate}


texts: Can you use segment variables with the Pages Module?

texts:
I have a very specific URL structure I'm trying to set up:

city-segment/venue-segment

ex. houston/the-bar

"city-segment" pulls from a City Channel while "venue-segment" pulls from a Venue Channel. I've got it set up correctly using the Pages Module, but now I'm trying to display a field from the City Channel using a third segment:

houston/the-bar/information

"information" segment should display text entered into the {venue_info} field of "The Bar" Venue Channel Entry. I have an info template within the venue template group with this code:

{exp:channel:entries
  channel="venues"
  disable="categories|member_data|pagination"
  dynamic="no"
  limit="1"
  require_entry="yes"
  status="open"
  url_title="{segment_2}"
}

  {venue_info}

{/exp:channel:entries}

Trying to view this code gives me nothing. I'm guessing that assigning a Channel Entry to a URI using the Pages Module is preventing me from using any segment variables? If so, is there another way to solve this without using Structure?

Venue/Info Template

{layout="_layouts/.html-layout"}

{layout:set name="city" value="{segment_1}"}

Hi

{exp:channel:entries
  channel="venues"
  disable="categories|member_data|pagination"
  limit="1"
  require_entry="yes"
  status="open"
  url_title="{segment_2}"
}

  {title} Info

{/exp:channel:entries}


texts: EE3 'Error: The URL contains too many segments'

texts:
I am getting an 'Error: The URL contains too many segments' from the following code:

{exp:channel:categories channel="performances" show_group="3" dynamic="no" style="linear"}

{category_name}

{/exp:channel:categories}

Not sure what to do. Every time I click on the link it ‘appends’ another segment until I get the error message.


texts:
I'm trying to publish a new entry into an existing channel. This channel has one other entry. When I hit the Submit button on the new entry, I'm not seeing any error messages.

This same site has a dev instance, with its own database. I'm able to publish the entry on the dev site, but not on production. EDIT: I can add and edit templates on production, but cannot add or edit any channel entries. So possibly it's some channel setting???

How can I start troubleshooting this?

Running ExpressionEngine 2.5.3, running on AWS
Logged in as a super admin
When I try to create or edit an entry, I just get taken right back to the entry form when I hit Submit
Have tried turning on template debugging, but no change/no error messages generated


texts:
Is there an add-on that adds database migrations features ala Codeigniter or Laravel for ExpressionEngine?

It is really a pain when making a dev environment and having to recreate it on a production server.


texts: Missing data - different IP error when submitting a form

texts:
Has anyone ever come across this error before? I've never seen it.

When a form is submitted, users get the error shown in the screenshot attached.


texts: Moved to new server - Expresso editor - denied file access?

texts:
I've just moved an EE v2.7.2 site to a new server, following the EE-docs thoroughly. Verified all paths and file/folder permissions.

Everything works well until i try to edit or publish an entry, getting the error message below.

To get a WYSIWYG editor i'm using Expresso field types for my 'summary' and 'body' fields, and as soon I write or edit in one of these fields it is not possible to submit without the error. If I use only the other non-Expresso fields there is no error message.

Everything was working perfectly on the previous server.

Any suggestions?


texts: trying to get category_url_title from a relationship in a grid field

texts:
Having a strange issue with grid, categories and relationships. On my site i have a channel with products and services. On the services pages i need my client to be able to select related products to be shown, so i used a grid field with relationships to products.
The products are categorised, so i want to see the category_url_title in the url.

I checked this thread and followed that approach however i'm not getting this to output anything. (http://www.site.com/producten//systeemoefeningen/ for what should be http://www.site.com/producten/oefenen/systeemoefeningen/)

{services_grid_products}

      {services_grid_products:product}
          {services_grid_products:product:title}
      {/services_grid_products:product}

{/services_grid_products}

I know i can do this with an embed too, however i'm trying to avoid them as much as possible.


texts:
I have a piece of code whereby I adjust the output of a file depending on it's file extension:

{section_1_files}
  {section_1_files:file}
    {if {extension} == 'jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF'}

    {if:else}

        {section_1_files:label}

    {/if}
  {/section_1_files:file}
{/section_1_files}

However it doesn't seem to be working properly. If I add {extension} below the {section_1_files:file} line then jpg is displayed on the front end. The following code currently outputs this:

    Test image

    Test file

Any help would be greatly appreciated.


texts: Search query string in URL (EE 3.x) for Google Analytics

texts:
I've read tracking site searches in google analytics but this seems to be "old" - for ExpressionEngine 2.x and an outdated version of the Google Analytics tracking code.

Does anyone know if this is possible in ExpressionEngine 3.x and the latest version of the tracking code?

I've got Analytics code in the <head> section of my document:

    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXXX-X"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'UA-XXXXXXXXXX-X');
    </script>

The search results page on my website has a URL in the following format: https://www.example.com/search/results/3b335fc51cae38c09d972f1698eb7d84/

So I'm trying to get the query strings recorded in Analytics as per the original question I've linked to. But using ExpressionEngine 3.x and the current tracking code.

Any advice would be appreciated.


texts:
I'm trying to implement a 100% off coupon code with Charge, but every time I submit the form I get an error.

The error reads:
Fatal error: Call to a member function addError() on a non-object in /system/expressionengine/third_party/charge/mod.charge.php on line 1387

Any clue how I could resolve this? Would the charge_pre_payment hook work? And if so, how/where would I implement that?

Thanks in advance, EE Harbor has been unresponsive to any of my report requests.


texts: Can't get CodeIgniter Helpers to work in Custom Module

texts:
I have very limited experience developing custom modules for ExpressionEngine, but have managed to get an API integrated and working.  Now I am trying to input data via a form, using CodeIgniters Form Helper, but for the life of me cannot get it to work.  It does not render any HTML with the opening form tag, but also does not give any errors.

class Qbase {

    public function client_form() {

        $this->load->helper('form');

        echo form_open();

    }

}

The tags are working as they should, as there are no errors displayed.  I am not sure if I am doing something very silly and not picking it up.

Other functions in the module are working fine, its just the Helpers which don't seem to be working.

Any help will be greatly appreciated


texts: Live Preview when editing - not loading entries data

texts:
Channel live preview set as:

site/index/{entry_id}

EE entries tag set as:

{exp:channel:entries channel="pages" limit="1" require_entry="yes" cache="yes" refresh="60" disable="categories|member_data|pagination"}

http://www.example.com/site/index/1234
This works without issue from the front end of the website.
From the live preview when editing an entry, the page does not display the entries tag contents.

Any ideas?


texts: I need to create a series of templates that output a JSON string for Ajax to consume and utilize in the frontend. My other templates could benefit from using this as it too needs the same data. Is there a way for a template to embed a template that outputs a JSON string and somehow use it (e.g. assign it to a variable, loop through it, access each index, etc.)?


texts: upgrading multiple versions of EE to php 5.5

texts:
For security reasons we were recommended to upgrade to the latest version of php (from version 5.3 to version 5.5.X) to fix all the possible bugs out there for that version, however I'm a little bit worried because we have more than 100+ sites in EE (Versions 2.1,2.2,2.3) and if we upgrade our PHP the websites could stop working.

Am I worrying too much for this? or there's something that I should
consider before make the big upgrade


texts: How to export EE1 entries and comments and re-import them to another EE1 install?

texts: Is there an add-on that makes this fairly easy to accomplish? We'd only like to export/import blog entries and the field groups are identical on both EE installs.


texts: Unable to upload files with Matrix Multi-Upload

texts:
Software Versions:
EE 2.5.2
Matrix 2.5.3
Matrix Multi-Upload Accessory is version 1.1.1 but the module says version 0.9.1(downloaded today from github)

I'm able to upload fine thru Matrix, but not with Matrix Multi-Upload.

The files never fully upload with FF 19.0.2 on a Mac. They get to some random % and then show a little yield sign icon for HTTP Error and the files never make it to the server. In Safari they actually get to 100% but with the same yield icon. There are no javascript errors.

I'm using the absolute server path which starts with "/home/content/d/m/h/" so that shouldn't be the problem.

Any help would be appreciated.


texts: Can I set a minimum number of required images for a channel images field?

texts: I can set a maximum limit on the number of images a user can upload. Is there a way to set a minimum? I need to force users to upload 5 images, no more, no less.


texts: How to pass category_id in the URL and make pagination work?

texts:
In an efford to restrict page results to categories (that I pass in the URL from a link on another page) I came up with the following URL structure.

    my_site.com/index.php/template_group/category/category_url/

This tag code on the index page of this template_group:

    {exp:channel:entries channel="my_channel" limit="5" dynamic="off" category="{segment_2}" pagination="bottom" paginate_base="template_group/{segment_2}/{segment_3}/"}

This works, but the pagination fails.

I do get the correct pagination numbers at the end of my URL, but the tag does not listen anymore to the URL.

I tried very hard to get around this, but failed.

I do hope someone can shine a light here.
Many thanks.


texts: Cart throb not emptying cart after successful checkout

texts:
I am running EE 2.5.5 the CT 2.2.9 (latest version).

I have been alerted by my client that when visitors are checking out, the basket is not emptying. This causes problems if a user then tries to checkout again, as the previous product can be sold out and still tries to checkout with it.

I can't see any setting for this in the cp. Anyone seeing or have seen a similar issue?

Thanks


texts:
Basically im looking to show alternate images depending on the category id. Below I have shown my code, which doesnt work, but I would appreciate any information that any one could give me please! Some additional info about the categories can be seen in the screen shot. Also I have the channel:categories inside a channel:entries loop, the channel is grouped with the category.

--

{exp:channel:categories style="linear"}

                                        {if cat_id =="70"}

                                                {if logo}

                                                    {/if}

                                        {if:else}

                                        //do something else

                                    {/exp:channel:categories}


texts:
With all of your help, I was able to port the live site to a development area and I thank you for all of your help.

This morning, I updated some images and, after submitting the changes, I went to look on the front facing portion of the dev site. Only the page was coming up, like a page set to close status.

I went back into the entry > Options > and there is nothing to select - Open/Closed are not available.

This was followed by going to Admin> Channel Administration> Status> and both options are available.

I went to check other entries that I did not update any images and Open/Close - the status was available.

After which, I went into the db and ran this query:

SELECT *
FROM `exp_channel_titles`
WHERE STATUS = ""
LIMIT 0 , 30

The result set matched the entries that I was having issues with, and I changed the entries to status of "open" and everything is working as it should, which leads to my question.

What would prevent the status from being written to the database? Is there a file that I missed setting the permissions to 666 or 777?

Thanks in advance


texts:
The {exp:profile:login return="profile/edit"} doesn't work as expected : the page doesn't redirect on submit. The template_group/template exist, I can access this page via the template manager and it renders correctly.
 I'm using "structure", the profile channel isn't managed by the module.

The EE login form works.

Well, I'm … lost :(

Any idea ? Please ?


texts: Auto-Generated Emails Not Being Sent as HTML

texts:
In Admin > Email Configuration, I set “Default Mail Format” to “HTML”. Then I went to Design > Message Pages > Email Notifications and entered the following code into the “Member Account Activation Instructions” template:

  <title>{site_name} Member Account Activation</title>

  <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />

Thank you for your new member registration.

To activate your new account, please visit the following URL:

{unwrap}{activation_url}{/unwrap}

Thank You!

--{site_name}

    &copy; {site_url}

     Contact Us | Privacy Policy and Terms of Use

But when I do a test member registration, the email received is in plain text (the HTML code is visible as text). The content-type of the email is “text/plain”.

HTML email sent via the Communication panel is sent correctly with a content-type of “multipart/alternative”.

HTML email sent with MX Notify Control is also sent with the correct content-type.


texts: Channel form problem with file fleld flagged as required

texts:
I've send the same question on Ellislab Forum but without answers...

I’m testing the new channel form and i’ve seen that if a file field is flagged as required field the form don’t pass the check.

The form you submitted contained the following errors
The xxxx field is required.
Return to Previous Page

The same problem also in a grid field or a matrix field that contain a column where file field is flagged as required field.

If I remove the flag (required field) all are ok.

Does anyone have the same problem?

Tested with:

Expressionengine v2.7.2
Matrix v2.5.8

This is the template:

{exp:channel:form channel="box" return="box/index" entry_id="{segment_3}" class="channel_form" include_assets="yes"}
    {field:box_photohead}
    {field:box_intructions}

{/exp:channel:form}


texts:
Is there a way to add a condition like {if results} or {if empty} when searching for a category in a channel entry?

{if a category 41 is selected display}Category Group Name: {categories show_group="41"}{category_name} {/categories}{/if}

I have a number of category groups in my channel. When displaying the selections I want to first show a heading (category group name) then the selected categories.  If nothing is selected I don't want anything to show.

I am testing: http://devot-ee.com/add-ons/jco-entry-catcount

  {exp:jco_entry_catcount entry_id="{entry_id}" category_group_id="41":}
      {if nbrcategories > 0}
         Provincial Riding: {categories show_group="41"}{category_name} {/categories}
      {/if} {/exp:jco_entry_catcount}

  {exp:jco_entry_catcount entry_id="{entry_id}" category_group_id="39":}
      {if nbrcategories > 0}
         Federal Riding: {categories show_group="39"}{category_name} {/categories}
      {/if} {/exp:jco_entry_catcount}


texts: Adding a PayPal button along with credit cards with exp-resso store

texts:
I have a checkout page with a drop down menu containing credit card options. The client would also like to add a PayPal button.

I'm using PayPal Pro as the payment processor. Previous iterations of the checkout page used PayPal express which provided the functionality we're looking for, i.e. Visitors click to go to client's PayPal page, log-in to PayPal, pay and re-direct to confirmation page.

I tried adding a button using PayPal's button generator, but it just caused the page to reload when clicking on it - it also disabled the "Place Order" button when I selected a credit card.

Any suggestions on adding a PayPal button?


texts: Cartthrob gift certificates shipping cost

texts:
I use cartthrob with cartthrob gift certificates, but i have a problem with the shipping cost.

When a user buys a gift card shipping is included in the total. Since the giftcard is sent via email, I don't want shipping added for it.

I would like it to work like this:

When the user only has a gift card in the cart we don't want to charge for shipping
When the user has other products, the shipping should be charged

I hope someone can help me with this problem


texts:
I'm running a site with EE 2.11.9.  I have a channel form that allows our members to update the title, description, etc. of the entry  However, they can't edit the categories unless they belong to a Membership Group 1.

If a user belongs to Membership Group 1, then everything works fine.
 However, if they belong to Membership Group 2, then the categories are erased when they hit Submit to save the form.

Here is my code:

{if member_group == '1' }
<select name="category[]" id="categories" size="8" multiple="multiple">
    {categories show_group="12"}
        <option value="{category_id}"{selected}>{category_name}</option>
    {/categories}
</select>
{/if}

If I remove that part from the Channel form, then everything works fine (except admins can't edit the categories).

Any suggestions on how to save the current categories if you aren't an admin?


texts:
I am using postmaster 1.5.0 on 2.9.0 EE and with a hook installed at the end of a store purchase, and I want to trigger an email. But....

When I submit the order via store, I get the following errors:

A PHP Error was encountered
Severity: Warning
Message: array_merge(): Argument #2 is not an array
Filename: libraries/Postmaster_base_api.php
Line Number: 184
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: drivers/Channel_data_utility.php
Line Number: 37
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /public_html/admin/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 446

Any ideas what might be causing this, or is there a bug in the hooks postmaster version with EE?


texts: Only display certain checkout fields if there's a product in the cart from a certain channel

texts:
I've got different types of products (in different channels) in a CartThrob store. Is it possible to add a conditional within the Checkout Form tag to enable certain checkout fields to only appear if there's a product from a certain channel in the cart? If so, how would I go about doing this?

I've been looking at the Checkout Form tag and the Cart Items Info tag, but there doesn't appear to be anything here to test for what I'm looking for (please correct me if I'm wrong!). I also looked at the Is In Cart tag, but this only seems to work for adding one entry ID at a time, not looping through lots of entry_id's in a channel (which rules out adding all the entries in this particular channel, though that might have been impractical anyway).

There is a Cart Entry ID's tag, but I can't figure out how to use this in a conditional that would output a single true/false result (for use in a conditional) if one of the pipe-delimited entry ID's belonged to a certain channel. Thanks for any advice on this.


texts: Using a module tag as parameter adds +1 query per loop

texts:
I'm finding that if I use a module tag like stash or playa as a parameter in a plugin tag, that an extra query for the module name is run for each loop. Here's the query that's run:

SELECT `module_version`, `module_name`
FROM (`exp_modules`)

From what I can tell, it's EE looking up the module so that it can parse it's tags. Here's some example template code that's generating the extra queries. This example uses a channel entries loop and a playa tag as a parameter but using another module tag like stash with just a string of ids 1|2|3|4 will do the same thing. The sp_within plugin is a custom plugin I've written however I've tried this with other plugins and the same thing occurs.

{exp:channel:entries channel="professions" orderby="title" dynamic="no" sort="asc" disable="custom_fields|categories|member_data|pagination"}
    {exp:sp_within haystack='{exp:playa:child_ids field="member_profession" entry_id="{zoo_visitor_id}"}' needle='{entry_id}' parse="inward"}
        <input name="member_profession[selections][]" value="{entry_id}" type="checkbox"{if within} checked="checked"{/if}> {title}
    {/exp:sp_within}
{/exp:channel:entries}

Edit
Here's a clearer example that just uses a channel entry loop and a stash variable.

{exp:stash:set name="selected_ids"}94|2|45|87{/exp:stash:set}

{exp:channel:entries channel="professions" dynamic="no" disable="custom_fields|categories|member_data"}
    {exp:sp_within haystack='{exp:stash:selected_ids}' needle='{entry_id}' parse="inward"}
        <input name="member_profession[selections][]" value="{entry_id}" type="checkbox"{if within} checked="checked"{/if}> {title}
    {/exp:sp_within}
{/exp:channel:entries}

Can I cache the query for the module name in my sp_within plugin? It's okay when there's only a few extra queries but it gets a bit ridiculous when there's 20 plus. Does anyone know how to remove the extra queries?


texts: Safecracker Handling Wygwam Style Attributes Poorly

texts:
EE 2.6.1
WYGWAM 2.7.1

I have a Wygwam field. Inline image tags are not being written properly when entered through a Safecracker form. Inline image tags ARE being written properly when entered through the EE CP.

From the control panel, an img tag is written thusly:

And from Safecracker, it looks like this:

The style attribute is not encoding properly.

Andris over at P&T points us to line 1302 in safecracker_lib.php and suspects “the Security library is somehow deciding that style attribute is an XSS attack and is handling it rather poorly”

Is there something I can be doing to fix this?

I’ll gladly accept a patch if anyone can help. This is kind of a big deal. Thanks.

(I see a few answers that mention editing CKEditor config files. Ugh... really?)


texts: PHP errors Message: Undefined index: From using MX Notify Control

texts:
getting these errors when an entry is updated. It is supposed to send an email to a mailing list using mx notify control:

A PHP Error was encountered

Severity: Notice

Message: Undefined index: From

Filename: libraries/Email.php

Line Number: 1584

A PHP Error was encountered

Severity: Notice

Message: Undefined index: From

Filename: libraries/Email.php

Line Number: 1190

A PHP Error was encountered

Severity: Notice

Message: Undefined index: Return-Path

Filename: libraries/Email.php

Line Number: 885

A PHP Error was encountered

Severity: Notice

Message: Undefined index: Return-Path

Filename: libraries/Email.php

Line Number: 1747

A PHP Error was encountered

Severity: Notice

Message: Undefined index: From

Filename: libraries/Email.php

Line Number: 1190

A PHP Error was encountered

Severity: Notice

Message: Undefined index: Return-Path

Filename: libraries/Email.php

Line Number: 885

A PHP Error was encountered

Severity: Notice

Message: Undefined index: Return-Path

Filename: libraries/Email.php

Line Number: 1747

A PHP Error was encountered

Severity: Notice

Message: Undefined index: From

Filename: libraries/Email.php

Line Number: 1190

A PHP Error was encountered

Severity: Notice

Message: Undefined index: Return-Path

Filename: libraries/Email.php

Line Number: 885

A PHP Error was encountered

Severity: Notice

Message: Undefined index: Return-Path

Filename: libraries/Email.php

Line Number: 1747

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/tanyacol/admin/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 809

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/user/admin/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 414


texts:
Around mid day 7/19 my emails stopped sending. Found out today that my Gmail account created just for the server was disabled. After a few hoops was able to get the Gmail account working again. But EE 2.6.1 still is not sending.

Could Gmail change some settings?

I was using
tls://smtp.gmail.com:465  and port 587 to get EE to use a gmail account.

But at this point I think Gmail changed or is no longer allowing this to work.

Anyone have any insight?

thanks Mike


texts: Notifying member list for new topic in forum

texts: Is there any way to change the recipients of the 'Admin Notification of New Entries' email template without making all the recipients admins?


texts:
Does Freeform 4x (the free version) work with ExpressionEngine Core 2.8.1 ?
I uploaded the Freeform folder into the third_party folder on my server and refreshed the modules page. I wasnt able to see Freeform under it.
Am I missing something?


texts: Parameter error_page doesn't work at all

texts:
I have a simple form calling it with {exp:freeform:form} composer tags.
Inside of it I put the error_page parameter but it still renders the default error page. I am really stuck in this situation and I can't get over it.

Here's part of my code :

{exp:freeform:form
    form_id="2"
    required="full_name|email|phone_number|comment"
    return="/thank-you/"
    error_page="/en/error/"
}

...

{/exp:freeform:form}

I am using Freeform Pro 4.1.1


texts: Possible to template without access to the server?

texts: Is it possible (or even ideal) to template or even make a file manager within Expression Engine without access to the server? I was given the challenge to this recently with no success (and ALOT of frustration). Not sure if I need to insist that I need access to the server or whether I'm just making this more complex than I need too.


texts:
I'm using the standard EE 'Textarea (Rich Text)' field (on EE 2.10.1), but no matter what I put in the 'Textarea Rows' field, when viewing the field in the control panel it's only around 150 pixels tall.

I can of course drag the bottom right hand corner of the field to make it display more of its contents but it's a pain to have to do this each time.

Is this a known bug or is there a way to get this field to display deeper?


texts:
I'm currently building a product website with a Super Search search, which needs to find keywords in Matrix data through a Playa field. My structure is looking like this:

Channel Product
- Custom field: Articles (Playa field type, links one or multiple entries to Product list channel). Field is set to searchable.

Channel Product list
- Custom field: Product_table (Matrix field type). Field and columns 'article code' and 'article description' set to searchable.

Channel Product, field 'articles' [Playa fieldtype] => Channel Product list, field 'product_table' [Matrix fieldtype]

What I have is a single (keyword) input field in my search form, which redirects to the results page. I want the search function to find entries in the channel 'Product' through the Playa field (so linked Product list entries are not shown separately).

I first set up the channel fields and search preferences, and after that I published and linked the entries.

This is my code:

{exp:super_search:results channel="products" highlight_keywords="em" limit="50" status="open"}
<!-- HTML Markup -->
{/exp:super_search:results}

I am however not getting it to work. It looks like the Matrix data is not searched for the keyword. When I pass the column via GET parameters (/search?product_list_table:article_code=XXXX), I do get the result I want. However, my search function should only consist out of 1 field (the keyword field) and should search in other custom fields as well.

Is this even possible?


texts: I have an RSS feed that's taking a long time to process and would like to use the Template Debugger to help me isolate which parts of it are consuming time. The problem is, all the Template Debugger output is HTMLized inside of the RSS template, so it's not rendering correctly. And if I set the page type from RSS to Web Page, well, then the RSS doesn't process right and I have nothing to debug. Is there a way to get the template debugger to at least output non-HTML text? That way I could pull the file with CURL and examine it.


texts: Upgrade from 2.6.1 -> 2.7.2 now generates grid field error

texts:
After I've upgraded EE from 2.6.1 to 2.7.2, on most of my pages I'm now getting the following error:

Error Number: 1054

Unknown column 'L0.grid_field_id' in 'field list'

SELECT DISTINCT `L0`.`field_id` as L0_field, `L0`.`grid_field_id` as L0_grid_field_id, `L0`.`grid_col_id` as L0_grid_col_id, `L0`.`grid_row_id` as L0_grid_row_id, `L0`.`parent_id` AS L0_parent, `L0`.`child_id` as L0_id FROM (`exp_relationships` as L0) LEFT JOIN `exp_relationships` as L1 ON `L0`.`child_id` = `L1`.`parent_id` OR L1.parent_id = NULL WHERE `L0`.`grid_field_id` = 0 AND `L0`.`parent_id` IN (1389) ORDER BY `L0`.`order` asc

Filename: models/relationship_model.php

Line Number: 178

I've seen another SE post about it being something to do with the 'setup' script - but it doesn't give any more information.

Anyone seen this before? Any solutions anywhere?


texts: EE Timesout when adding or deleting an entry

texts:
I have upgraded from 2.1 to 2.11.6 and I am running into an issue from the admin control panel where if I add an entry or delete an entry it timesout.  I have the timeout set to 2 minutes.  It still will actually add the entry and delete it but it just hangs until it times out.  This is not happening when I do it on my local copy I have running.

I dug into it on the delete side of things and I have found a section in the /libraries/api/Api_channel_entries where it is hanging up.  There is a section roughly line 527 and if I comment it out things happen quickly as expected.  It deletes the entry earlier and then starts to do cleanup of other tables and gets hung up.

        foreach($ft_to_ids as $fieldtype => $ids)
    {
        ee()->api_channel_fields->setup_handler($fieldtype);
        ee()->api_channel_fields->apply('delete', array($ids));
    }

I am just looking for some guidance as I don't want to go in and change any core EE files and I have only been dealing with EE for under a year so not sure what may be the issue.

Any advice on where the issue may be so I can correct it would be appreciated.

Couple of updates.

I downloaded the database and files from the server and created a local copy so I know I have the same code and db as on my server and it takes 5-6 seconds to add a new article.  Still slow but can deal with it.  I set the timeout to be a lot longer and the process does complete on the server but it takes over 4 minutes.

Also should note that on my server I have 2 virtual servers behind a load balance with a single mysql instance on a third virtual.  I have it set to be cookie based security and not session based.  Wondering if that setup is what is causing the slow times.


texts: What is the best way to modify entry data when submitting and updating entries

texts:
I am looking to modify a counter which is a field in a channel when i submit or update an entry. I am looking to count the number of matrix rows and then add that into the input field to act as the counter.

What is the best way for me to do this?

What hook should i use?

And what files should i create?

Thanks


texts:
I am new to EE (also coding so might seem naive) and was wondering if there is any way to connect my ReactJS project, that i created with create-react-app, with EE.
create-react-app docs here: https://github.com/facebook/create-react-app

I have been looking around but not too many examples with React.

Would it be possible by using CMS as an API (with an add-on?) where I would fetch the data in the React app and if this is a viable way to go about it, how would I go about doing it?

My version of EE is v4.3.6
React version is v16.6.1

Thanks


texts: Possible to "package" a Channel/Template/etc into a module?

texts:
I'm still learning EE. It seems easy enough to build something like a custom blog: define the fields I want, assign them to a channel, create templates to output the channel entries. Done.

But let's say I build a blog feature that I want to keep reusing. Is there a way to "package" what I have already created on one site so that it can be installed on another? Perhaps if this was the goal, I should not have built it using the Channels/Templates/etc CPanel in EE -- instead approach it some other way?

Some guidance please.

Update 1:

Just a side question: is there a blog addon for EE that's good? It's simple enough to build a basic one, but if someone has already taken the time to give it a lot of thought and do it "properly", I'd rather use that. I would probably want to update the template files to make it use Twitter Bootstrap if it doesn't already.


texts: Member registration in Zoo Visitor with CartThrob checkout form

texts:
I am using CartThrob for e-commerce part and Zoo Visitor for managing members.

We know that with the CartThrob checkout form, new member registration is being done. Its working fine in my case and member has been created but no member entry is being created in Zoo Visitor channel.

I hope, someone faced such a problem and can share some pointer to me.

Thanks,


texts:
EE tag in Forum template

What I need is to use my custom EE plugin in to Forum header template:
themes/forum_themes/default/forum_global/html_header.html

I see that Forum template are processed by CI parser (is right?).

A workaround is include in html_header.html a processed EE template,
or call EE Template Class to process EE template.

What dou you think?


texts: Control how many articles a user can see if they're not logged in?

texts:
Here's the basic scenario I'm looking at: Someone comes to the website (which features various journal and news articles), and can look at a certain number of articles "for free" for a particular length of time (say 30 days). However, once they hit that number of articles within the length of time, the site displays a registration form instead of any articles.

Obviously, if someone is a registered member of the site and logged in to their account, they have unrestricted access and can read as many articles as they want.

It's a readership/subscription model similar to the one employed by http://dish.andrewsullivan.com/, FWIW.

I can envision how this all works -- it's a pretty straightforward membership/registration set-up -- except for the part about tracking/counting the number of articles that someone who isn't logged in has read, and then doing something once they hit a pre-defined limit.

Any ideas?


texts:
I am getting the following error when I go to the My Account section in the CP and click on Edit Profile. It's preventing me from saving my updates.

A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: cp/myaccount.php
Line Number: 349

EE 2.7.2

Modules:

Calendar 1.8.6

Channel Images 5.4.12

Forum 3.1.13

Facebook Connect 2.1.3

Freeform Pro 4.1.3

Importer 2.2.3

Mailing List 1.0

Pages 2.2

Postmaster 1.4.7

Super Search 2.1.3

User 3.4.5

Wygwam 3.2.1

Extensions (not listed in Modules)

Matrix

Playa

Resource Router

Stash

FieldTypes (not listed above)

CKI Member List

VMG Chosen Member


texts: Password Reset Error: This form has expired. Please refresh and try again

texts:
Running EE 2.9.0 and MSM and I am having trouble with the Reset Password function. When I enter my email and click submit I get the following error:

  The following errors were encountered

  This form has expired. Please refresh and try again.

  Return to Previous Page

Here is the code that I am using for the login form and the link to the password reset:

{exp:member:login_form return="{segment_1}/{segment_2}/{segment_3}"}

Username

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

Password

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

<input type="checkbox" name="auto_login" value="1"> Auto-login on future visits

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

Forgot your password?

Not registered yet? Register Now.

{/exp:member:login_form}

No amount of refreshing makes a difference. This affects users across browsers and locations.

Welcoming all guidance to a solution.


texts:
How can I get Multisite managed site to work with the Better Meta plugin?

I have templates on one site but how can I get different metadata from the Better Meta options and from channel entries on the second site?

As I am just getting the default meta data from the default site where the template are.

I have tried this for example:

{exp:nsm_better_meta:template entry_id="{embed:entry_id}" hide_site_title="{embed:hide_site_title}" robots_index="{embed:robots_index}" site="{msmsite}"}

Thanks
Peter


texts: Low Search Category Query on Results Page

texts:
I can not seem to find anything regarding listing what categories were selected in the search query on the results page for Low Search.

Here's an example of my code on the search page:

                {exp:low_search:form collection="eat" search_mode="all" result_page="eat/sort" require_all="category"}
                <select name="category[]">
                    {exp:channel:categories channel="eat" style="linear" category_group="1"}
                        <option value="{category_id}">{category_name}</option>
                    {/exp:channel:categories}
                </select>

                <select name="category[]">
                    {exp:channel:categories channel="eat" style="linear" category_group="6"}
                        <option value="{category_id}">{category_name}</option>
                    {/exp:channel:categories}
                </select>
                <button type="submit">Search</button>
                {/exp:low_search:form}

And here's the results:

               {exp:low_search:results query="{segment_3}" status="not closed" limit="1" paginate="bottom"}
                  {if count == 1}

                      {if low_search_keywords}Searched for {low_search_keywords}.{/if}
                      Total results: {absolute_results}.

                  {/if}

 {title}

                               {excerpt}

                            Map it

                            {eat_business_phone}

                            Website

                  {paginate}

Page {current_page} of {total_pages} pages {pagination_links}

                  {/paginate}

                  {if no_results}

                      Sorry, your query did not return any results.

                  {/if}

                {/exp:low_search:results}

I am just looking to list what categories were selected on the search page, but I can't seem to get it and there's nothing in the documentation about it.
I would also like to be able to have the option have the value selected on the results page, as I have the search form on the results page as well.  Is this possible?


texts:
I'm trying to figure out the best way to output data and effectively create relationships between a product and it's availability based on the enduser's location.

I'm building a site for consumers of local seasonal vegetables and produce. Basically what would happen is that a user comes to the site and chooses a State via drop down menu, based on their choice, it then populates another form field for cities in that state where local seasonal vegetables and produce are available, the user picks a city and a list of available items gets generated. Then you can click on the item [for this case I'll use broccoli], and it gives you information about that item such as nutritional value, growing season, climate, etc.

Sounds pretty simple, I know. But here's where I'm struggling in figuring out how to create relationships and filter data. For example, on the backend I have listing channel for vegetables that lists all the vegetables available in, say - California, Oregon and Washington for that season. Local organic broccoli is currently available in Seattle WA, Portland OR and Sacramento CA. I need to have broccoli associated with each state, then subsequent city that it's available in. Currently, I have Tagger tags on broccoli for all 6 of those locations, but after further thought, I'm not sure this is a good way to do this because ultimately I'd like to have the farmers markets the broccoli is available in to be dynamically listed on the broccoli page based on the users choices from the drop-downs from the previous page location as well.

I'm not necessarily a newb with EE, but I've not done anything like this before and I'm not sure if there are existing add-ons that would help me do what I'm trying to do, or if I've just got to figure out a way to tie these things together and generate the proper output. I'm a frontend developer trying to figure out how to create relationships with data - not really in my wheelhouse...

If anyone has suggestions, thoughts, advice in how I can properly and effectively create these relationships to output them correctly and have subsidiary data associated with a location [such as markets] tied to the process…it would be immensely appreciated!

Thanks for taking a look at my problem!


texts: Exp-resso Store & store_product_out_of_stock Dynamic Variable

texts:
I'm having an issue where customers can order items that are out of stock. Looking for a solution in the Store docs and here on EESE i've come across Dynamic Product Variables. Unfortunately, I can't get them working consistently. The issue appears to be getting the 'Limit Stock' checkbox to stay consistently checked in the corresponding product's entry in EE:

Anytime i check that box, then save the entry, and go directly to the front-end, the dynamic variable works as it should. If the given product combination (color + size) is out of stock, it shows the dynamic variable (store_product_out_of_stock). If i go to any other entry in EE, then check that box for that product, then go back to view the first product on the front end, the dynamic variable shows no matter what. Going back into the first entry in EE shows that the box has been un-checked! Is there some-sort of persistance issue with the checkbox? Is this even important or merely a coincidence?

I'm on EE 2.5.3 and Store 1.6.3.

Thanks in advance for any help.


texts:
I using EE 2.10 for a test site.

Is there any tag I can use to make this navigation work for all my pages other than placing the direct url in the href HTML tag? I tried using the "url_title_path" but it gives me a page not found. Also, if you look at the home page URL "http://www.mannachurch.org/ExpressionEngine/index.php" this site is being shared on a server under another domain. So, I guess this site is a sub-domain? Do I need to redirect the .htaccess file to remove any unnecessary "index.php" for the URL tags to work? Or can I use anything else? I am afraid of messing up my primary domain's website by uploading any new .htaccess files.

To be clear, below is what my code looks like for my navigation that I am trying to configure. The first two links for 'Home' and 'about' are direct links, this is what I want to avoid. The next three links ('News', 'Apply', 'Contact') are an attempt on my behalf that do not work apparently. How can I make those work?

Whenever I click on my failing url links links, I get a page cannot be found error and that's also the main domain's site no page found page, why is it going there?
Please observe yourself.


texts:
I have multiple exp channel call in a page showing widgets.
These calls stay completely different.
Can I set to parse one widget's exp first ?

Hope the widgets will get parsed in the order of rendering. But if I want to set parsing of the last rendered widget first , Is this possible?
Please help if anybody knows?

Thanks in advance


texts: White screen of death with extensions enabled EE v.1.6.0

texts:
I've had a look through all the answers on here (this one seems the most complete) but since I'm using EE v 1.6.0 in this case I'm unsure what to follow.

I downloaded my site to run locally using MAMP, it works fine on the server.

But I get the WSoD when I login unless I disable extensions in my config file.

Any ideas of what to try to fix it?

UPDATE: My local version of PHP was 5.4 but the server was 5.2. I changed it locally to match and it's working perfectly.


texts: What is a client-friendly way to handle multi-part forms with workflow?

texts:
I'm looking for some advice on a client-friendly way to create and administer multi-part forms with the caveat that a workflow process is also needed.  I know more than one of the forms add-ons for EE offer multi-part forms, and they certainly make form composition/editing simple, but I'm struggling with how I would handle another part of my client's need: workflow.  The idea is that the form will be available to a logged in member to complete in parts if needed (i.e. they can come back and edit their form response as many times as needed, saving their progress as they make changes) but once they submit the form for "approval" the form is no longer available for them to edit.

Has anyone attempted this with one of the available forms add-ons? Can one of them do this, or would I be better off looking at Safecracker (recognizing that it will be harder to build the editability of the form itself, but easier to handle the workflow requirement)?


texts: Need something like StructureFrame that includes listings as well as pages

texts:
Does anyone know of a way/existing fieldtype out there there that does exactly what StructureFrame does, but includes listings?

StructureFrame is a really neat way to link to content, but annoying that you can't access all of it!


texts: Does Cartthrob Subscriptions add channel entries after each occurrence?

texts:
For the store I'm working on, each standard Cartthrob order creates entries in both the Orders and Purchased Items channels. And I need the Subscriptions orders to do the same after each occurrence.

Does anyone know if Cartthrob Subscriptions does that for EACH occurrence? As far as I could find, the docs only say this...

  CartThrob subscription orders are placed like standard orders, and
  will show up in the customer's order history. Standard order emails
  will also be sent in the case of a successful transaction, or in case
  of failure.

Thanks for your help.


texts: Setting up channel for handling "editions"

texts:
I am trying to figure out the best way to structure my data.  I am building a site that is for rating items (generic term), but there is a new edition of the item every year. For this example, let's say that it is magazine editions.

The user would be able to search magazines and get a list returned back.  Let's say that the search results say National Geographic, Sports Illustrated, etc.

If they click on Sports Illustrated, they would go to a single page for sports illustrated, but within that page, they would be able to rate the content that they found in the January edition, as well as the February, March, etc. etc.

My understanding of ratings plugins is that they would actually be rating an entry like Sports Illustrated - January 2013, etc, etc.

What is the best way to set this up. I have done a basic website on EE, but nothing this complex involving ratings, members and all of that.

All input is greatly appreciated.


texts: Move Channel Form Javascript to end of page

texts:
I need to move the javascript block that is used by the channel form module from below my form to the bottom of the page, (after my scripts).

It's says that if you want to supply jquery yourself you will need to place the script above the form. However doing this has introduced other errors.  Also I'm using my own validation methods.

Is there anyway to just append the javascript block to the bottom of my page?

I'm using Zoo Visitor

Thanks


texts:
My site is currently working well when everyone posting is under the Super Admin group, however I'm needing to make another group with the same privilege level as a Super Admin and begin assigning users to that group.  Problem is that when users under this new group try to add pages through Structure, the page is white with nothing returned.  I've run template debugging and have this returned :

http://jsfiddle.net/j4mcud87/

If posting as a Super Admin, everything works.  Just when users under this new group post that nothing is coming through on the front end.

I'm using a generic tag to rule out anything blocking the content e.g.

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

Works for Super-Admin related content, just not the new group.

Has anyone experienced anything like this?


texts: Highest version of mySQL and PHP for EE 1.7.3

texts:
My hosting company needs to upgrade my server to the latest versions of PHP and mySQL. The problem is I'm running a number of EE sites varying between versions 1.6.8 and 1.7.3.

So what is the highest version of PHP and mySQL that I can successfully run EE1.7.3 on? This is just a stopgap solution until I can get my clients to upgrade to EE2.x

On the EllisLab site I can only find the minimum requirements.

Thanks in advance.


texts: Disable automatic link creation from Matrix text field

texts:
I have Matrix field that has a file cell and text cell with the formatting set to none. If there is a url in the text cell when I access it a template it automatically creates a link. I can't seem to figure out how to disable this.

I'm currently on EE 2.8.1

Any help or pointing me in the right direction would be greatly appreciated.


texts: path=logout - how to configure URL it redirects to?

texts: I have put a logout link on my site. When I click it, I am logged out and redirected to the homepage. How do I specify a different page to redirect to?


texts: Pagination redirects to first page at P100

texts: I have a page where the pagination works fine until you get to the page that would use "P100" at the end. At that point, it redirects back to the first pagination page. Have any of you had this issue before? Any ideas on how to fix it?


texts: Solspace Freeform Pro - How to pull URL title into the email subject

texts:
I am using Solspace Pro form on my website and I have no clue on how to change the subject of the email. I will be glad to know if there is a way to pull the title of a detailed page of a listing into the email subject.
When a form on a detailed page is filled, I want to pull the title of that detailed page into the subject of the email when notification is sent.


texts:
I was wondering how to properly call information from a channel but outside of the loop, so it doesn't repeat along with the entries. The output would look something like this:

Entry 1
 // These modules go inside loop

Entry 2

Entry 3

Content Related to channel
 // Outside of loop

In the ee template I want to wrap all that in a single {exp} tag. I feel like that would be more efficient, in terms of code and server resources. Is that the right approach? If so how do I make the #meta element not repeat with the loop?

Or is the correct approach to have 2 {exp} sections, one for the loop and one for the other part, and wouldn't this be inefficient at some point?

Thanks in advance!


texts:
I need help with a webhook on a client site which is not working since updating to 2.8.1 and ZooVisitor 1.3.32. When an order is fulfilled in the client's Shopify store it issues a JSON notification instructing EE+ZooVisitor to create/update a member account. Best I can tell Shopify is doing its part but something is no longer functioning correctly on the receiving EE end.

Could this be related to the new XID security requirements? I successfully fixed a form elsewhere on the site by adding the XID hash, but I have no clue where to add that to a webhook without a little guidance.

This was initially set up by an EE developer who has since gone AWOL and left me pretty much stranded. I would greatly appreciate any assistance anyone can offer to get this back up and running ASAP. I’m pretty familiar with EE but my background is primarily on the design side and this is apparently over my head.


texts: Cartthrob: Add discount amount to purchased items

texts:
I need to add a discount amount to each purchased item entry.  I had a conversation on Twitter that indicates that this is existing in CT already but is halfway there.  Has anyone accomplished this already?

Here is the twitter conversation I am referring to: https://twitter.com/cartthrob/status/388310009643159554


texts: Channel Entries tag not recognizing passed params

texts:
For some reason my Channel Entries tags aren't recognizing the passed parameters consistently. For example, the below works on the home page but not on any internal pages:

{exp:channel:entries channel="files" entry_id="12"}


texts:
I've just installed the Edit This 2.1 plugin by Travis Smith (Hop Studios)

I'm on ExpressionEngine v2.7.2.

Here's the documentation for reference : Plugin Documentation

I have inserted this tag within my channel entries.

{exp:edit_this:entry entry_id="{entry_id}" channel_id="{channel_id}" author_id="{author_id}"}

The little pencil icon is appearing, which is great. However the problem is when I click the icon it opens in a new tab and tells me to login when I'm already logged in. It should just go to the form to edit the entry.

Any ideas?


texts:
I am new to the Store module. Store module is working only the Control Panel logged in members. If I'm not logged into the Control Panel, Side bar Cart is showing that: "Your cart is empty". When I click on Add to Cart it's not working either. It is working only when CP is logged in.

How can I solve this? any Configuration settings please.

I am using ExpressionEngine 2.6.1 and Store module is: 1.6.4

Ramesh Teegapur


texts: How to remove "index.php" from Transcribe's language prefix

texts:
I am using Transcribe add-on which does a good job in managing a multi lingual site. I would like to take advantage of the option to include the language abbreviation as a prefix on the url but having problems with producing a "clean" url for pages with language prefix.

For example, with the language prefix switched on ("es" for Spanish), the system generates these types of urls domain-name.com/index.php/es/page-name instead of domain-name.com/page-name. I would like to use the prefix without the "index.php" that preceeds it but not sure how to.

I already have the normal bit of htaccess code that removes "index.php" from tempalte groups.

Thanks


texts:
I've always had this problem with categories in EE. I want to be able somehow to specify which categories show in the URL & a custom breadcrumb setup I've created.

For example, if I had the following setup...

Category Group 1
Category 1.1
Category 1.2
Category 1.3
Category 1.4

Category Group 2
Category 2.1
Category 2.2
Category 2.3
Category 2.4

Both assigned to a channel called "Products". Now every time I create a product I can choose which category the product goes in to.

For example...

Product 1, will go in Category 1.1, Category 1.2 and Category 2.4

But when I output the categories and limit it to just 2 in the URL doing something like...

{site_url}products/{categories limit="2"}{category_url_title}/{/categories}/{url_title}

It would also pick up on the first two categories category...

http://website.com/products/category-1-1/category-1-2/product-name

Is there anyway to make it specify which category to show?

This is an issue for one of our clients because they have MANY category groups and assign products to many categories. So if the groups were...

Group 1
Group 2
Group 3
Group 4

It still only displays the categories in the URL from Group 1, none of the others. Ideally this would help the SEO and the make the URL's make more sense if they could specify which categories appear in the URL.


texts: Channel From demanding title and URL title

texts:
I have the simplest of channel forms and I am getting this error:

The form you submitted contained the following errors
    Title: This field is required.
    URL title: This field is required.

This is the striped down form:

{exp:channel:form channel="scholarship_apps" return="/x-test/ENTRY_ID/" logged_out_member_id="2"}
    Name
    <input type="text" name="title" id="title" value="{title}"  >

    <input type="submit" name="submit"  value="Next" class="button">
{/exp:channel:form}

Guests can post entries. I've played with different parameters in the tag. I've hardcoded title and URL title fields. Always the same error.


texts: Low Search - Upgrade from 2.3.1 to 3.0.1 caused a field search to stop functioning properly

texts:
I recently upgraded from Low Search 2.3.1 to 3.0.1.

I have these 2 selects in my {exp:low_search:form} to search for a range of birthdate, a field with a fieldtype of EE's native Date

<select name="range-to:birthdate">
    <option value="1995-11-29">18</option>
    <option value="1994-11-29">19</option>
    <option selected="selected" value="1993-11-29">20</option>
    ....
    <option value="1963-11-29">50</option>
</select>

<select name="range-from:birthdate">
    <option value="1994-11-30">18</option>
    <option value="1993-11-30">19</option>
    <option value="1992-11-30">20</option>
    ....
    <option selected="selected" value="1987-11-30">25</option>
    ....
    <option value="1800-01-01">51+</option>
</select>

When I tested the filter in the old version, this was filtering results properly. But now it doesn't seem to filter since I still get all results no matter the option I choose in the selects.

Is there something that I need to do in the Low Search Update to make this work? I have completely rebuilt the indexes after update.

MORE INFO:

I asked this question before. It solved the problem for me. Nothing has been changed in the implementation.

In my low_search_pre_search hook handler function, the code convert the dates to be of format YYYY-MM-DD HH:MM AM/PM.

A quick test indicated that it was outputting values in the correct format, 1993-11-29 11:59 PM, 1987-11-30 12:00 AM

So safe to say that this is not the cause of the problem?


texts: DevDemon Forms Add-on with Expression Engine 4

texts:
Has anyone used the Forms add-on with EE4?  DevDemon lists 4 as supported but I'm running into some issues and haven't found any solutions.

I've upgraded my site from previous versions of EE so I have an existing form.  The form loads on the site.  However some fields are incorrect/missing values and when editing the form in EE I get the following error in a dialog: Failed to load Default Forms Fields.. SeeXHRResponse.

I can make updates to the form and save but they aren't actually saved.

Submitting the form on the site results in the following error:

Fatal error: Class 'DevDemon\Forms\Service\PHPMailer' not found in
/var/www/vhosts/[...]/system/user/addons/forms/Service/FormEmail.php on line 590


texts:
I have this code

{exp:channel:entries
        channel="xxxxxx"
        disable="categories|category_fields|member_data|pagination"
        entry_id="{segment_2}"
        status="open|closed"
        track_views="one"
    }
        {url_title}

        {exp:channel:category_archive
            channel="yyy"
            style="linear"
        }
            {categories}
                {entry_titles}
                    {url_title}
                {/entry_titles}
            {/categories}
        {/exp:channel:category_archive}
{/exp:channel:entries}

Apparently, EE doesn’t know how to distinguish between the {url_title} of channel entries and category archive since it shows value of the channel entries {url_title} even inside the category archive tags.

I really think that EE should be able to namespace variables properly or at least provide some alternative names to avoid name conflicts like this.

But for now, is there a way to circumvent this?

EDIT:

The channel in the category_archive yyy is a relationship field
What I am trying to do here is to show yyy selected items grouped by category


texts: Modifying an entry by Channel Form throwing a PHP error : Call to a member function head_link()

texts:
I have a very simple Channel Form on my page :

    {exp:channel:entries channel="accueil" limit="1"}
    {exp:channel:form channel="accueil" entry_id="{entry_id}" require_entry="yes" return="accueil/index" error_handling="inline" show_fields="titre_de_laccueil|texte_de_laccueil|domaines_dexpertise"}
        {custom_fields}

            {field_label}{if required} *{/if}
            {field_instructions}
            {formatting_buttons}

            {if error}

{error}

            {/if}

            {if textarea}
                <textarea id="{field_name}" name="{field_name}" dir="{text_direction}" rows="{rows}">{field_data}</textarea>
            {/if}

            {if text}
                <input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50">
            {/if}

            {if select}
                <select id="{field_name}" name="{field_name}">
                  {options}<option value="{option_value}"{selected}>{option_name}</option>{/options}
                </select>
            {/if}

            {if checkbox}
                {options}
                  {option_value}
                    <input type="checkbox" id="{field_name}" name="{field_name}[]" value="{option_value}"{checked}>

                {/options}
            {/if}

            {if grid}
                {display_field}
            {/if}

            {if wygwam}
                {display_field}
            {/if}

            {if field_name=='domaines'}
                {display_field}
            {/if}

        {/custom_fields}

  <input type="submit" value="Enregistrer les modifications">
{/exp:channel:form}

{/exp:channel:entries}

If I just change the contents of the fields and click on submit --> no problem, it saves the modified entry as intended.

If I empty a required field and click on submit --> I get this error (that prevent the modified entry to be saved) instead of the validation :

  A PHP Error was encountered

  Severity: Notice

  Message: Undefined property: EE::$view

  Filename: libraries/File_field.php

  Line Number: 718

  Fatal error: Call to a member function head_link() on a non-object in
  [...]/system/expressionengine/libraries/File_field.php on line 718

I don't even have a file field in this channel!

I didn't find the reason of this...

EE version : 2.11.1


texts: When sorting by title in channel results, is there a way to ignore the 'The'?


texts:
I might misunderstand something here - so sorry in advance if this is a dumb question.

We have purchased User and installed it on a clean install of EE2:

EE 2.11.1
User 3.5.3 for EE 2.x

I am not working on a prototype for a required custom functionality using Related. This is what the documentation has to say:

To create a Related Authors field, you must select a custom fieldtype of User with the sub field of Related Authors.

I presume this is a channel custom field type? It seems not to be available as a field type when I try to add it as a custom field.

When checking Add-Ons --> Fieldtypes, User is not on the list (neither with status Installed nor Not Installed).

I checked the module preferences and do not see a specific setting that I have missed.

What am I doing wrong? Is Related Authors only available in User 4.x?

ED


texts: How to use the SQL Manager to find which extensions use a certain hook?

texts: How would I go about using the SQL manager to find out which extensions use a specific hook?  I can't find any documentation or query examples on this...


texts: Channel Form - Relationship Field - Custom Field

texts:
I have a channel form with a relationship field options: loop. I'm trying to also get a custom field from this relationship. Is that possible? If yes, how?

{exp:channel:form channel="message_on_hold"}
  {options:moh_voice_female}

     <input type="radio" name="moh_voice_female[data][]" id="moh_voice_female" value="{option_value}"{checked}> {option_name}

     ### Relationship Field : Custom Field ###

     {moh_voice_female}{moh_voice_female:voice_talent_sample}{/moh_voice_female}
     {relationhip_field}{relationship_field:custom_field}{/relationhip_field}

     ### This would work with exp:channel:entries ###

  {/options:moh_voice_female}
{/exp:channel:form}

# moh_voice_female is a relationship field
# voice_talent_sample is a custom field


texts: Asset Thumbs disappear after Better Workflow Preview

texts:
Assets 2.0.1, EE 2.5.3, BWF 1.5.1, Matrix 2.5.2

When previewing changes to a Better Workflow managed entry, after closing the preview window the page is refreshed. Assets thumbnails are not refreshed with the rest of the page when inside a matrix.

Asset image thumbnails in standalone fields are refreshed.

Before preview:

After preview:


texts: Primary Category doesn't display inside Super Search results

texts:
Inside {exp:super_search:results} I cannot get a Primary Category to display. Normally I would use {exp:primary_category}{primary_category_name}{/exp:primary_category} inside {exp:channel:entries}. That works fine but the same thing side Super Search results doesn't work.

Is there something special I have to do to display Primary Category? Strange that it wouldn't work in Super Search since they are both Solspace add-ons!


texts: How do you Subscribe to a Calendar generated by Solspace Calendar

texts:
Maybe I am missing something as I am surprised this has not been more documented, but how do you "subscribe" to a calendar feed generated by Solspace Calendar?

My expected result would be that after adding a calendar by URL in Google Calendar, any changes I make to the calendar's events in EE would be reflected in Google Calendar.

The URLs I have tried (as per this question) are:

http://mydomain.com/events/icalendar-template
webcal://mydomain.com/events/icalendar-template

where /events/icalendar-template looks like this {exp:calendar:icalendar}{/exp:calendar:icalendar} and spits out the .ics file on direct visit via http://

On adding the calendar in Google Calendar, the events are correctly pulled through initially, but then don't update when I make changes in the EE.

I have also tried using a query string for the URL (as per this thread) just in case the problem was Google Calendar's but that hasn't fixed it.

EE version: 2.9.0, SC version: 1.8.9


texts: How to embed multiline LaTeX equations into Wygwam box

texts:
As an example, if I want to use something like:

\begin{eqnarray} a &=& b ( d + c) + c \\
 && bd + bc + c \\
a &=& bd + c(b + 1)\end{eqnarray}


texts:
I want to have a kind of 'trending' or 'most popular' area on my homepage which lists the top 10 most popular articles.

Is there a simple way to order entries by popularity?


texts: Auto assign old entries to parent category

texts:
A client wants to clean up their messy categories, but when assigning the categories to parent categories, the entries don't update. So when I want to output a list of all entries in a parent category, I might get no results if the entries wasn't originally categorized with the parent category...

I realize there's an answer here: Automatically assign parent category to sub-category entries?

But that PHP-code does nothing for my entries, they're still only categorized with their original categories (which are now child-categories). Anybody got another PHP-code or an SQL-query to help me out?


texts: Order duplicated six times in CT order manager

texts:
I noticed that a single order shows up repeated six times in the CT order manager. Anyone know what could cause this?

The orders are all for the same user and all the order items are identical. The order manager id's are the same (181) but the entry id's, the ones in parentheses, are different. This site uses off-line processing for all purchases. All code is up-to-date

In the troubleshooting section of the CT docs there is a paragraph that states:

  If multiple orders are being logged for one order, this is generally >normal. CartThrob creates an order for each attempted order. It updates >statuses of completed orders to the status you've set in cartthrob >settings » orders. If you want to be able to distinguish between >completed and failed orders, make sure to configure statuses for orders.

If this is the reason, what is the cause? Is the user doing something  strange or is the server hiccuping? soothing else?


texts: Site "forgot" what the default template was

texts:
I've had the same problem happen a few times, on several different EE sites, but I can't determine the cause so I'm turning to y'all.

Symptom: The site's main index page will fail to load and will display a blank white page with no output. When diagnosed, the problem turns out to be that the default template group "forgot" that it was the default template group. More specifically, the "is_site_default" field in the exp_templates table, was set to 'n' for all template groups. (In order to function, it has to be set to 'y' for one template group for each site you are running.)

Has anyone had this happen to them, and if so, do you know what causes it, so I can avoid it recurring?


texts: Is there a way to have "global" Channel fields or liberate a set of fields to multiple Channels?

texts:
I remember when I was using EE 1.6.x Brandon Kelly introduced Gypsy. It was amazing.

For EE 2 it seems someone was working on something similar called Drifter but support for it was dropped a while ago.

A suggestion was submitted to EllisLab for Channel Groups, but afaIk there hasn't been any news of that.

If I want to implement some sort of metadata specific to entries but not to channels, e.g. Facebook OpenGraph data, is the only solution at present to manually create Channel field groups and fields per channel??

Is there no contemporary Gypsy-like add-on or Channel Groups feature in the works?


texts: Custom Field Type - Data not passing to the view

texts:
I'm trying to create my own custom field type, however, when I go to load the view, the var's within my display_field function, are Undefined. All I'm trying to do, is Load a view file, then in the view, loop through and array.

Example:

function display_field($data)
    {
        $entry_id = $this->EE->input->get_post('entry_id');
        $query = $this->EE->db->query("SELECT * FROM exp_channel_images WHERE entry_id = '$entry_id'");

        $channelImages = array();

        if ($query->num_rows() > 0)
        {
            foreach($query->result_array() as $row)
            {
               array_push($channelImages, $row);
            }
        }

        return $this->EE->load->view('index', $channelImages, TRUE);
    }

Then, my view file is called index.php, and is located under:

/third_party/channel_images_sources/views/index.php


texts: Strange filter applied to images by EE uploaded via File Manager - mystery!

texts:
I’ve got an EE 2.5.2 site running on Dreamhost which we upgraded a while ago from 1.6.x. Ever since doing so all the images we upload via the File Manager seem to get some weird filter applied to them, and they end up looking like this.

Anyone else experience this problem or have a clue how to solve it?


texts: Unable to load the requested file: content/_assets/glossary_items.php after upgrade

texts:
Just upgraded a site from 1.6.6 to 2.5.5 and when I went to edit an entry or publish a new entry I got

Unable to load the requested file: content/_assets/glossary_items.php

From initial digging on EE forums, they all pointed toward Matrix being the issue, however this site had ZERO add-ons.

I installed Matrix and the issue is now non-existent. Having Matrix installed isn't really a solution.


texts:
I've just upgraded a large site from EE 1.6.8 to 2.9.2 and now cannot install Freeform.

There was an install of Freeform on the old site pre-upgrade. Once the upgrade was complete I tried to upgrade Freeform but kept getting errors.

I then removed Freeform entirely from the upgraded site but still get errors, I've dropped all of the tables in the DB related to Freeform but still get this:

{"error":"
Error Number: 1146<\/p>\n\n

Table 'darrenc_dsx14.exp_freeform_preferences' doesn't exist<\/p>\n\n

SELECT `preference_name`, `preference_value`\nFROM (`exp_freeform_preferences`)\nWHERE `site_id` = '0'<\/p>\n\n

Filename: third_party\/freeform\/models\/freeform_model.php<\/p>\n\n

Line Number: 330<\/p>"}

Any help appreciated.