texts:
I'm using Zoo Visitor and when a user tries to register, they get this error:

  You must be a logged-in member of this site in order to perform this action.

I'm not sure what is causing it...?

Here is my registration form...

{exp:zoo_visitor:registration_form class="form form-validate" return="account/register/success"}

        First Name
        <input type="text" name="cf_member_first_name" value="">

        Surname
        <input type="text" name="cf_member_surname" value="">

        Email
        <input type="email" name="email" value="">

        Password
        <input type="password" name="password" value="">

        By clicking Register, you agree to our Terms &amp; Conditions and that you have read our Privacy Policy, including our Cookie Use.
        <input type="hidden" name="cf_member_terms" value="Yes">
        <input type="hidden" name="cf_member_emails_admin" value="Yes">

        <input type="submit" name="submit" value="Register &rarr;">

{/exp:zoo_visitor:registration_form}


texts: EE 3.5 Can't add any custom Member Fields for registration

texts:
I'm trying to make it so members have to add First and Last name when registering to use in templates.  I went to Member Fields and tried adding a new one but I always get exception errors.
Exception Caught
No such property: 'm_field_value_label_pairs' on EllisLab\ExpressionEngine\Model\Member\MemberField
ee/EllisLab/ExpressionEngine/Library/Data/Entity.php:488
Stack Trace: hide details
0 ee/EllisLab/ExpressionEngine/Library/Data/Entity.php(423): EllisLab\ExpressionEngine\Library\Data\Entity->setRawProperty('m_field_value_l...', false)
1 ee/EllisLab/ExpressionEngine/Service/Model/Model.php(307): EllisLab\ExpressionEngine\Library\Data\Entity->setProperty('m_field_value_l...', false)
2 ee/EllisLab/ExpressionEngine/Library/Data/Entity.php(74): EllisLab\ExpressionEngine\Service\Model\Model->setProperty('m_field_value_l...', false)
3 ee/EllisLab/ExpressionEngine/Service/Model/Model.php(203): EllisLab\ExpressionEngine\Library\Data\Entity->__set('m_field_value_l...', false)
4 ee/EllisLab/ExpressionEngine/Model/Member/MemberField.php(159): EllisLab\ExpressionEngine\Service\Model\Model->__set('m_field_value_l...', false)
5 ee/EllisLab/ExpressionEngine/Controller/Members/Fields.php(393): EllisLab\ExpressionEngine\Model\Member\MemberField->__set('field_value_lab...', false)
6 ee/EllisLab/ExpressionEngine/Controller/Members/Fields.php(172): EllisLab\ExpressionEngine\Controller\Members\Fields->form()
7 [internal function]: EllisLab\ExpressionEngine\Controller\Members\Fields->create()
8 ee/EllisLab/ExpressionEngine/Core/Core.php(189): call_user_func_array(Array, Array)
9 ee/EllisLab/ExpressionEngine/Core/Core.php(94): EllisLab\ExpressionEngine\Core\Core->runController(Array)
10 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
11 admin.php(143): require_once('...')
11 admin.php(143): require_once('...')


texts: Channel Polls : 'Allow users to vote on multiple answers' Conditional?

texts:
One of the options in the field setup is to allow users to select more than one answer ('Allow users to vote on multiple answers' Yes/No).

There doesn't seem to be any mention in the docs of a conditional I can use to test this in my templates. Something like {if poll:multiple_vote} so I can at least swap out radio buttons for checkboxes.

Is a conditional like this already built in but simply missing from the docs, or do I need to hack the module to get it to work correctly?


texts: SagePay Direct: Error: Sorry, there was an unexpected error communicating with the payment gateway

texts:
We're getting a communication error response when submitting card details using the SagePay Direct payment method:

  Error: Sorry, there was an unexpected error communicating with the
  payment gateway.

Nothing has changed in respects to the server / EE code and transactions have been working fine since upgrading to 2.10 recently. Logging into SagePay shows that since today transactions aren't even being logged as failed at sagepay; ie they're failing before they even reach sagepay.

I took the measure of upgrading to Store: 2.20 and the error persists.

Any pointers?

After uncommenting the exception, the error displayed is:

  Fatal error: Uncaught exception 'Guzzle\Http\Exception\CurlException' with message '[curl] 6: Couldn't resolve host 'live.sagepay.com' [url] https://live.sagepay.com/gateway/service/vspdirect-register.vsp' in /var/www/vhosts/domain.com/httpdocs/system/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php:338 Stack trace: #0 /var/www/vhosts/domain.com/httpdocs/system/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php(279): Guzzle\Http\Curl\CurlMulti->isCurlException(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array) #1 /var/www/vhosts/domain.com/httpdocs/system/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php(244): Guzzle\Http\Curl\CurlMulti->processResponse(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array) #2 /var/www/vhosts/domain.com/httpdocs/system/exp in /var/www/vhosts/domain.com/httpdocs/system/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php on line 338

So looks like the server can't communicated with sagepay... so, I've done a quick test and it seems cURL is up the swanny on the server. Thanks for your help as always!


texts: How to lock the field height and bring back the scrollbar?

texts:
It looks like in Wygwam 3.2.2, the field height grows with the content. It used to have a static height and a scrollbar would appear in the field if content was too tall for it.

My client prefers the scrollbar way because the formatting toolbar would remain in once place. Any way to get that back?


texts: The action you have requested is invalid on search with no result

texts:
I am using the simple search form on EE 2.8.1 with the following tag:

{exp:search:simple_form
                    channel="blog|products|faq"
                    where="any"
                    results="20"
                    form_class="et-search-form et-hidden"
                    no_result_page="/search/"
                    result_page="/search/results"

                }
                <input type="search" class="et-search-field" placeholder="Search …" value="" name="keywords" title="Search for:">
                {/exp:search:simple_form}

The form works as intended when there is a search result. If there is no search result the form will throw the error "The action you have requested is invalid".

Removing the no_result_page parameter will result in EE showing me "Your search did not return any results." message.

I suspect the secure form submission issue and included

 <input type="hidden" name="XID" value="{XID_HASH}">

But no luck.

Cheers


texts: How do I save a relationship field with save_entry()

texts:
I need to use the channel entries API to save a relationship between two channels.
I create an entry to channel A and then I create an entry to Channel B, channel B has a relationship field that needs to be set to point to the entry on Channel A.

I can create the entries with the save_entry() function, but I can't decipher how to set the relationship field on Channel B to Channel A.

My process is:

when I create the entry on Channel A I use the entry ID and pass it as the value of Channel B's relationship field. This does not work.

 $channel_b_entry = array(
        'title' => $data['title'],
        'field_id_26' => $data['type'],
        'field_id_29' => $data['channel_a_entry_id'],
        'field_ft_29' => 'xhtml',
    );

In this case field_id_29 is a relationship field to channel A entries.

I have tried passing the id as an array

 $channel_b_entry = array(
        'title' => $data['title'],
        'field_id_26' => $data['type'],
        'field_id_29' => array($data['channel_a_entry_id']),
        'field_ft_29' => 'xhtml',
    );

But that didn't work either.

Do I need to setup the relationship my self to the exp_relationship table, or the save_entry() takes care of that?


texts: How to use a common template for all pages?

texts:
Is it possible to define some container template that might contain my <html> declaration, then inside it it'll just embed other templates depending on the page? Right now, I'm having to declare my <html> tags in every page, which is not good. I want something like this:

// main template
<html>
    {embed="common/.head"}
    <body>
         {embed="common/.header"}

         // TODO: put some logic here to decide what to embed

         {embed="common/.footer"}
         {embed="common/.scripts"}
    </body>
</html>


texts: I need to have the Solspace Calendar filtered by categories. Is there any working templates out there for reference?


texts:
I am trying to use stash to kill multiple queries to the same channel in multiple places in the site/page. This is my stash embed file called 'featured.html':

        {exp:channel:entries channel="homepage_featured_items" dynamic="no" show_expired_entries="yes" orderby="date" category='40|41|42|162' disable="member_data|category_fields|pagination"}
      {exp:stash:append_list name='featured_list'}
        {stash:this_category}{categories}{category_id}{/categories}{/stash:this_category}
        {stash:article}

{featured_short_text}

{featured_short_description}

              {exp:ce_img:pair src="{featured_image_home}" width="220" height="150" crop="yes|center,top|0,0"}

              {/exp:ce_img:pair}

         {/stash:article}
      {/exp:stash:append_list}
    {/exp:channel:entries}

And I would like to bring different categories in like so:

    {exp:stash:embed:featured}
    {!-- 40,41,42,162 --}
    {exp:stash:get_list name="featured_list"  match="#^.*40.*$#" against="this_category" limit="1"}
      {article}
    {/exp:stash:get_list}

But for some reason I am getting nothing. I put output='yes' on my stash embed append_list tag and I got all of the information I am looking for (albeit more articles than I wanted), but I can't call the context or the category. Ideally I would like to call these all over the page(s) of the site:

{exp:stash:get_list name="featured_list"  match="#^.40.$#" against="this_category" limit="1"}
{exp:stash:get_list name="featured_list"  match="#^.41.$#" against="this_category" limit="1"}
{exp:stash:get_list name="featured_list"  match="#^.42.$#" against="this_category" limit="1"}
{exp:stash:get_list name="featured_list"  match="#^.162.$#" against="this_category" limit="1"}

Also, am I saving anything but multiple calls in this instance? Should I be looking for a context in this case?


texts: Category Tag Pair Vars not Parsing when Stashed into a Nested List

texts:
Coming across a parsing problem when trying to get related Playa entries categories in a nested list with Stash. The setup involves Playa pulling related entries (videos) from a parent entry (feed) as a Stash list, and then a nested list for each video to include the categories of each video.

Example Code that stashes the data:

{exp:channel:entries channel="feed" dynamic="no" url_title="{segment_2}" limit="1"}

    {!-- The Feed --}
    {exp:stash:set name="feed_title"}{title}{/exp:stash:set}

    {!-- The Feed's Videos : Playa Field (Parent List) --}
    {exp:stash:set_list name="videos" parse_tags="yes" parse_depth="2"}

        {cf_feed_videos}

            {stash:entry_id}{entry_id}{/stash:entry_id}
            {stash:title}{title}{/stash:title}
            {stash:file}{cf_video_file}{/stash:file}

            {!-- Video Categories : EE Categories (Nested List) --}
            {exp:stash:set_list:nested_cats name="categories_{entry_id}" context="{entry_id}" parse_tags="yes"}
                {categories}
                    {stash:category_url}{category_url_title}{/stash:category_url}
                    {stash:category_title}{category_name}{/stash:category_title}
                {/categories}
            {/exp:stash:set_list:nested_cats}

            {!-- Video Links : Matrix Field (Nested List) --}
            {exp:stash:set_list:nested_links name="links_{entry_id}" context="{entry_id}" parse_tags="yes"}
                {cf_video_links}
                    {stash:link_url}{mx_url}{/stash:link_url}
                    {stash:link_title}{mx_title}{/stash:link_title}
                {/cf_video_links}
            {/exp:stash:set_list:nested_links}

        {/cf_feed_videos}

    {/exp:stash:set_list}

{/exp:channel:entries}

Example Code that outputs the data:

{exp:stash:get_list name="videos" limit="1" sort="desc"}

    ...

{title}

        {exp:stash:get_list:nested_cats name="categories_{entry_id}" context="{entry_id}"}

{category_title}

        {/exp:stash:get_list:nested_cats}

    ...

{/exp:stash:get_list}

So everything parses correctly except for the variables within the nested categories loop.

The {category_title} for example renders as "{category_name}" as if it's not being parsed when it's stashed in the nested set_list.

I have tried setting a higher parse_depth on the parent set_list, or setting a parse_depth on the nested categories list, however these do not seem to work either. Also in the example code, there is a second nested list (video links) which is pulled from a matrix field at the same level of the categories nested list, and this renders just fine.

Is this a question of the EE {categories} tag pair parsing later in the process than custom fields like a matrix field?


texts: On entry save... redirecting tp front-end homepage

texts:
Currently have a channel entry that has amongst one of its fields a MATRIX to upload a series of images too. Now this is currently been populated using the MATRIX MULTI UPLOAD and for the most part is working well.

Just recently the client has seen that when adding over 100 images to this matrix on submitting the entry the page is showing the homepage of the site under the Control Panel URL and is not saving the data.

Ive upped things such as :

upload_max_filesize = 100M
post_max_size = 120M
memory_limit = 100M
max_execution_time = 900
max_file_uploads = 300
max_input_time = 500

But this doesn't seem to have been much help. The figures are correct still, but its just an odd scenario. Anyone else has a similar issue with even showing the actual homepage under a control panel URL.

Also any other ideas as to what could be causing this?

Cheers
B.


texts: Newsletter input email only refresh page when submit

texts:
I am using campaign monitor on a expressionengine website. I copy/paste my code from campaign monitor in my footer. There's only a input for my e-mail field and another input to submit. The problem I am facing right now is that when I click on submit the page only refresh. It doesn't go where the action parameter of my form tag

<form action="..." method="post">

    Email

    <input id="fieldEmail" name="cm-ituykik-ituykik" type="email" required />

    <button type="submit">Subscribe</button>

To be 100% sure that the problem was my code, I tried to link a mailchimp's newsletter and it did the same thing. When I click on submit, the page only refresh and nothing happens.

ExpressionEngine version : 2.5.3


texts: I need to display an array of pictures in order but i am not aware of how to accomplish this. this is an EE 2.4 system.


texts: MX Mobile Detect reading newest Safari version as a mobile device

texts:
I have the plugin implemented on a website to detect for mobile devices and when it does it will display a slideshow instead of a video. This has been working fine, but I just noticed today that when viewing the site in Safari on the desktop that it is loading the mobile-only slideshow. I think this was working fine previously so I wonder if a recent Safari update changed things? Any ideas?

{if "{exp:mobile_detect:device}" != "not_mobile"}

    (slideshow markup here)

{/if}

{if "{exp:mobile_detect:device}" == "not_mobile"}

    (video markup here)

{/if}


texts: Switchee segment check in embedded template not working

texts:
I'm new to Stash and Switchee and this is probably a parse order issue, but I am not quite sure how. Maybe someone that understands this and Switchee a bit more is able and wouldn't mind explaining why the below isn't working.

On my page template I embed my layouts/default template. At the top of that I have this Switchee conditional:

{exp:switchee variable="{segment_1}" parse="inward"}
  {case value=""}
    {sn-home-data}
  {/case}
  {case default="yes"}
    {sn-page-data}
  {/case}
{/exp:switchee}

The sn-page-data snippets contains this:

{exp:stash:set parse_tags="yes" parse_conditionals="yes"}
  {exp:channel:entries limit="1" channel="page" disable="categories|member_data|pagination" cache="yes" refresh="6400"}
    {stash:page_title}
      {title}
    {/stash:page_title}
  {/exp:channel:entries}
{/exp:stash:set}

When I am calling the {exp:stash:page_title} variable in the layouts/default template nothing returns.

If I remove parse="inward" from the Switchee tag it does work, but if I understand correctly this setting is needed to give Switchee that performance advantage over EE conditionals...


texts: How to escape special HTML characters in output?

texts:
It is commonly useful to escape encode special HTML characters in output to avoid breaking output attributes (among other reasons):

Take the following seemingly innocent template snippet:

<!DOCTYPE html>
<html>
{exp:channel:entries channel="blog"}
<head>
    <title>{title}</title>

    <meta name="description" content="{meta_description}"/>

This will not perform as one might expect when meta_description contains special characters like double quotes or ampersands.

For example, bad output:

<!DOCTYPE html>
<html>

<head>
    <title>Some Blog Title</title>

    <meta name="description" content="Learn how to program with "Best practices & methods""/>

How can this be resolved?


texts: Connection refused (error 111) when sending SMTP mail

texts:
Have a site where when sending mail using an SMTP connect, I'm getting a "connection refused" error.

When sending email using PHP or Sendmail, site owner is not receiving the emails at all.

Site is hosted on GoDaddy... and can't be moved to new hosting company.


texts: How to set default values for layout variables?

texts:
I'd like to set some default values for several layout variables, for when a particular template doesn't have a need to pass a specific variable to the parent layout. For example, I set my page's "description" meta tag via a layout variable, but some pages don't need a unique description - they should just use a "global" description. Setting defaults would save a lot of extraneous code in each template.

I tried doing a conditional check in my layout template:

{if layout:description == ''}
    {layout:set name="description" value="My default site description."}
{/if}

But that doesn't work, because layout:set tags are not parsed inside layout templates.

How can I set defaults?


texts: Other module tags inside tag data causing issue

texts:
I am creating a small plugin, and am having an issue. I am using Carthrob for my e-commerce, and want to take some information into the tag data for my plugin.

My tag is the following:

{exp:submission_data:details cart_entries="{exp:cartthrob:cart_items_info}{entries}x{quantity},{/exp:cartthrob:cart_items_info}"}

The code within the tag data is outputting:

  4x1,2x3,1x4,

Here is the part of the my plugin:

$tagdata = $this->EE->TMPL->tagdata;

$cart_entries = $this->EE->TMPL->fetch_param('cart_entries');

$cart_entries_total = 0;
$explode = explode(",", $cart_entries);

foreach ($explode as $explodeSegment) {
    if (trim($explodeSegment) != "") {
        list($amount, $quantity) = explode("x", $explodeSegment);
        $cart_entries_total += ((int)$amount * (int)$quantity);
    }
}

Currently this is returning 0, instead of 14.

If I add the data (4x1,2x3,1x4,) manually, it outputs the correct number.

I am guessing this is something to do with the CT tags in the tagdata.

Do I need to remove them in the code? how, or is there another solution?

Thank you.


texts: Dynamic Redirection for Safecracker/Safecracker Registration Forms

texts:
I know that there is a param for safecracker/safecracker registration form called return. You could define a static url.

Is there a way for a safecracker/safecracker registration form to redirect to a url based on some option inside the form itself?

I am not just talking about setting the url directly like(if even this is possible)

{exp:safecracker return="[redirect_url]"}
  ...
  <input type="hidden" name="redirect_url" value="redirect/to/something">
  ...

I am talking about more advanced stuff like(using pseudocode)

if dropdown value = 1 then redirect to X
else if dropdown value = 2 then redirect to Y
else redirect to Z


texts: The website designer we have hired has created our site in Expression Engine and has included a shopping cart to handle donations, registrations and craft shop sales. We are being told that there is no way to automatically calculate shipping charges based on weight and shipping location. They have told us we need to calculate shipping manually for each item. Can you recommend a plug-in or something that can calculate shipping automatically? I can't imagine one doesn't exist that is affordable.


texts:
Inside this URL there is a parameter:

http://localhost/recipe?id=9

Is it possible to use this parameter (id=9) with a conditional, like a segment? Or to check if there is a parameter inside a URL or not?


texts: How do you get Safecracker to display category groups?

texts:
I am working on a new version of an existing magazine site. We are re-architecting the category structure, and I have set up a new category group.

We need to go through all existing articles and re-categorize them, and I am trying to build a tool for this purpose using Safecracker.

Unfortunately, this particular snippet doesn't work:

{category_menu category_group_id="3"}
    <select name="category[]" multiple="multiple">
            {select_options}
    </select>
{/category_menu}

… in fact it goes so far as to render all categories, in all groups, twice. (Using group_id doesn't change anything, nor does cat_group, both options I found through googling old ExpressionEngine forum posts.)

(I'm in ExpressionEngine 2.5.3.)


texts:
We have an EE 2.7.2 installation with a search feature produces random results.  Sometimes, a keyword that definitely exists on the site returns results when entered into the search box, but other times, it will produce a "no results found".  Same keyword, same browser, different results.

Sometimes, if I search for the keyword four or five times, a result is eventually displayed.  Other times, a keyword produces instant results from the first search.  There's no rhyme or reason for the results.

Any ideas?


texts:
My client is experiencing a really weird issue.  When they are publishing or editing an entry with an Assets custom field it displays only a white box.  They experience this issue in both their limited access member account and in my account which is super admin.

I however do not experience this in both my clients account and my super admin.

The client sees this issue on multiple computers, multiple browsers and again under both accounts.

The site is running EE 2.5.5, MSM 2.1.3 and Assets 2.2.1.
It is using basic config (EE default), EE suggested .htaccess with 5 301 redirects.

In the config I have the following:

$config['assets_site_url'] = 'http://www.domain.com/';

Only stuff out of ordinary in the 2nd sites index.php is ce image related doc root and regex settings.

Under console in Ghrome there are two errors; both are:

  Failed to load resource: the server responded with a status of 403 (Forbidden)

And seem to be dealing with Google Plus.

Not sure what else to check.

Thanks


texts: Tips on doing user email address validation / DIY account activation in EE

texts:
I'd like to be able to offer some preliminary "logged in" features immediately to users after they register on the site, rather than requiring that they first click an activation link in an email. However, I do want to validate member email addresses.

So, at some moment after registration, I do want to email the new members something like an account activation link that they click to verify that they have entered a valid email address.

Has anyone done this in EE? Any tips? Any gotchas? Ideas for a best approaches?

In terms of the EE member permissions / back-end, I think it'll work simply enough to register users directly into a "New Members" group, and then, upon email verification, move them into a "Verified Members" group.

I'm working with Profile:Edit, and likely will be adding CartThrob in the future (so, want whatever I do to work with ecommerce check-out). I could see MX Notify fitting in here, as a way of automatically triggering an email to the user.

I don't think generating verification links for the email, or capturing them via templates in EE, should be too hard.

But, any thoughts on this? Is there an easier way?


texts: CartThrob: Global options groups all in one select

texts:
I am using CartThrob's global options, with the multi group fieldtype to allow multiple groups to be selected.

What I need is to display all of the groups options all inside one select menu to allow the user to add any to the cart.

When I use this code inside the add to cart form:

    {exp:cartthrob:item_options entry_id="{entry_id}"}
        {options}
    {option_name} - {price}
        {/options}
    {/exp:cartthrob:item_options}

* Stack exchange is removing a open select and close select either side of the code above.

The select is created with all options from all groups, but when an item is added to the cart, it has a price of 0.00.

If I use this code:

{exp:cartthrob:item_options entry_id="{entry_id}"}
    {select class="print-select"}
        {if option_first_row}
          Choose a your option...
        {/if}
        {option_name} - {price}
    {/select}
{/exp:cartthrob:item_options}

Each group is in a different select, but the price works...

How can I get it to work inside one select?


texts: Abort the channel entry publish process?

texts:
I am working on an extension that takes some entry data (from the control panel) and performs some tasks with it, just prior to insert/update. I am currently using the "entry_submission_end" hook to accomplish this. However, I would like to abort the entry submission/update process if my extension tasks are not completed successfully. It doesn't look like the "entry_submission_end" hook provides the

if (ee()->extensions->end_script === TRUE) return;

code to do this. What hook can I use to accomplish this? Thanks.

--Garrett


texts:
how do I output am EE html template as a json file so it validates?
Error:Invalid media type, expecting application/json.

I have tried enabling php to my template and adding the following code after all my data is parsed

But I get this in the output: {!-- ra:000000006fa9a5900000000053584a0b --}[
and the file will not validate.

BUT  if I copy and paste the outputted data into a json validator it validates.  My only issue is the media type.


texts: Playa not displaying entries from different site within multi site manager

texts:
I have site 1 and site 2.

Site 2 has a Playa field related to a channel in site 1. I cannot get the related entries from site 1 to display in site 2.


texts: how to pass pipe data in expression engine query

texts:
this is my  expression engine query

$query =  $this->EE->db->query("SELECT * FROM exp_categories WHERE parent_id=$parent_id order by cat_id ASC");

and $parent id = 4|7 (for category parent id passed from template by user)

now query should return result for both parent id's


texts: Members upload photos into their own restricted subdirectory?

texts: Can this be done, including blockage to other (members) sub directories?


texts:
I need a bit of code help please.

I have a messaging module for PM's that is using the following code for outputting the message body when replying to a PM:

else if (isset($extra['replying']) || isset($extra['forwarding']))
    {
        $tagdata = $this->EE->TMPL->swap_var_single('message',
'[quote author="'.$original_author.'" date="'.$original_date.'"]'
.$original_body.'[/quote]', $tagdata);
    }

What I would like to do is have the quote moved to the bottom of the message so that the cursor automatically appears above it in the textarea and also I'd like to style the quote a bit with some line breaks between the author, date and original_body.


texts: Need help creating a dynamic multi-select to use with Freeform Pro

texts:
I'm trying to create a multi select field that pulls in data from a matrix field. I have that part working, but am having trouble getting it to be a multi-select as well as pushing it to the freeform control panel.

Any thoughts? Thanks in advance.

Size

<select multiple="multiple" name="product_size_chosen[]" onChange="MM_jumpMenu('parent',this,1)"> //product_size_chosen[] is freeform field//

{product_sizes_available} //This is the matrix wrap//
<option value="{product_size}">{product_size}</option> //matrix field variable//
{/product_sizes_available} //End or matrix wrap
</select>

UPDATE

I've tried using http://www.solspace.com/docs/freeform/default_fieldtypes/#multi_select   unfortunately it outputs the matrix rows all as one long row and outputs all other store entries and their matrix fields on additional rows (not what's expected).

This is what it outputs

small large medium x-large //each sizeis a matrix fields in a single entry//
large x-large xx-large
small medium xx-large

Using the regular select html tags I'm able to output... (code above)

small
Medium
Large
x-large

This outputs correctly (1 single entry displaying all matrix rows correctly), unfortuantely I can't get the selection to be added to the database and display in freeform field. Any thoughts?


texts: Wygwam + CKeditor + Browse server not showing up after adding image2 plugin

texts:
I have updated CKeditor and Added the image2 plugin for image caption to work. Now image caption is working fine but the "Browse Server" button to add images from the server is missing.

To manage the images, I am using the Assets plugin and before the update it was setting the path for browse server automatically, but now it's not showing up at all.

Does anyone in here have any idea about this issue? Did anyone get Image caption and Browse image functionality working together? Is there a manual setting that I need to do for this to work?


texts: custom fields in registration form in freemember module

texts: In Freemember module, Can we add  Date of Birth and others field or calender in registration form with required field validation?


texts: Unformatted Field Data Wrapped in  Tags on Output

texts:
I have a text field with formatting set to "none". In the database, the data for that field is stored exactly as it should be: as plain text with no html tags.

When I drop the field tag into my template, however, the data is output with
 tags wrapped around it. Here's an example of a really simple channel entries loop I ran in a test template and got the same result:

{exp:channel:entries
  channel='videos'
  limit='1'
  require_entry='yes'
  disable='category_fields|member_data|pagination'
  status='not closed'
}
  {video_url}
{/exp:channel:entries}

This output:

http://myaccount.wistia.com/medias/12345

The site is EE 2.6.1 and I can't upgrade the version at the moment, so suggestions on how to troubleshoot this manually are appreciated. I'm not afraid to run some DB queries if necessary. Thanks!


texts: Categories Tag inside of Channel Entries Tag understanding problem

texts:
I use this code to list and filter my 3000 blog entries by category.

{exp:channel:entries channel="blog" limit="200" disable="member_data|pagination|category_fields" category="1&2" dynamic="no" parse="inward"}
           {title}
           {categories show_group="2"}
                {category_name}
           {/categories}
{/exp:channel:entries}

I get 140 entries but only 10 entries with category_name.
Why stop this after 10 entries?

Update

When i disable Transcribe it works fine.
Its a Transcribe problem/bug.

It works with Transcribe when i set the limit to 3000.
But it´s increase the Total Execution Time to 3sec....

Thanks,
Sam


texts:
new to EE (version 2.6.1) although I have used a handful of CMS's like WP, Joomla and Teamsite.

I was tasked today with something I could use help with.

I need to create a submission form, that will store the form fields in a dbase, and display these records on a subsequent page.

Looks like EE is using MySQL 5.1.61

Example. You are a non profit company who wants to be listed in our "partners" page catalog.

You fill in our form:

Organization name
Products or Services
Area of Service
Keywords
Contact Name
Contact Email
Contact Phone
[etc]

Saves to dbase.

On the "Catalog of Partners" page... I basically read the dbase table and display each partner.

I can get into the "Manage Database Tables" section of admin console, but don't see how I can create my own table.

I also see what I think is some type of "addon" called "ProForms" which has some pretty straight forward settings, but doesn't look like there is a place to control the actual form fields I need?

Am just hoping for a bit of guidance. Thanks all.


texts: Using Stash to share data between templates

texts:
Is it possible to Stash some content in one template and then grab it from another template?

Basically, I want to store a bunch of Entry IDs in one template and then i'm AJAX loading another template where I would like to retrieve those Entry IDs and use them to plot markers on a map.

I've tried using scope, but it doesn't appear to be working.

{exp:stash:set name="show_nearby" parse_tags="yes" parse_depth="2" parse="inward" trim="yes" scope="user" refresh="10"}
    {exp:channel:entries dynamic="no" url_title="{segment_4}"}
        {exp:trails_nearby entry_id="{entry_id}" lat="{thingtodo_latitude}" lng="{thingtodo_longitude}"}
    {/exp:channel:entries}
{/exp:stash:set}

The following code gets the values above when used in the same template (so I know the values are being set;

{exp:stash:get name="show_nearby" backspace="1"}

However, when I use in another template it just returns everything from the channel because the entry_id isn't being set;

{exp:channel:entries channel="things-to-do" entry_id="{exp:stash:get name='show_nearby' backspace='1' scope='user'}" parse="inward" status="open" dynamic="no"}
{title}
{/exp:channel:entries}

I would appreciate any advice.

Thank you.


texts: Solspace Importer has stopped working with Cron

texts:
Solspace Importer has stopped working with cron, but will work manually.

Apologies for the vague information but I'm really struggling to fix this. If there's any place I should be checking for issues, please let me know.

The setup:

EE2 2.10.1 and Importer 2.2.5
importing 3 files from local server (which are pulled from an external server)
files are UTF-8 with CRLF line endings
files are large, so batch importing is triggered via cron
due to the nature of the data, with each import previous entries need to be deleted and new entries created (this means channel entry IDs are getting very high. eg 1774926)

The cron automated batch processing has been working for over 6 months. And now imports can only be triggered by a manual import from the control panel.

Batch processing has stopped before, but after a manual import, the batch processing seems to work again. Does this indicate some sort of cache issue?

I've checked with webhosts who set up the cron for me, they say nothing has changed. I've also contacted the people supplying the feed, who also say nothing has changed.

Any help appreciated.


texts: Control Panel : put content edit entries from one channel in a link

texts:
Think this might be an easy question but never found the solution.

I want my clients to have a quick link per channel for what they otherwise have to find via Content > Edit > Channels.
If i save the url it redirects to the Content > Edit without the filter

it would be much more user friendly for clients to have a link with "blogposts", "contacts", "events" on the right sidebar.


texts: performance issues - is it the database?

texts:
I'm experiencing pages loading very slowly, it's happening intermittently on a low traffic EE site. Most of the traffic is just me.

When they load slow, they take a good 30 seconds or so.

But when the load fast they are very quick. Less than a second.

The template debugger and output profiler numbers look good as far as I can tell.

Could this be due to mysql table locking?

updates:

For future reference, I upgraded MySQL to MariaDB (a drop-in MySQL replacement) on the host and also changed DB tables from the default MyISAM to InnoDB (actually XtraDB) and have continued to watch it. These changes have had a positive impact on performance so far.


texts: Getting control panel user data in javascript

texts:
Im working on a simple plugin that just needs to get the current logged users screen name, email address and username into some javascript and inject that js on every page.

My hope is to juse the exiwting CP CSS & JS plugin and past the javascript..

I found the EE global variable in the javascript and it looks like EE.username is the current logged in users name.  Is there similar way to get email and/or screen name?


texts: Extending expiry dates of certain entries?

texts:
A third party is providing an XML feed of courses for me to integrate into an existing channel, which I'm planning to use Andrew Weaver's excellent Datagrab module for. My problem is that some of these courses are ongoing, and have no expiry date, whilst others have a definite expiry date. The current course list on the site is ordered by expiry date (so that the closest course chronologically is listed first, in descending order).

The client I'm doing this for wants to add a +3 month expiry date to these entries that come through as ongoing, and then assess them regularly to refresh that +3 month date when they're about to expire.

I thought about doing this via the query module, or even via php, either as a nightly, or as  lookup when someone requests this courses page (although I think that would be expensive performance-wise, I don't need to be looking at them constantly). I can add a category to these entries that makes it easy to pull them out.

I'm wondering if anyone else in the community can think of a good way of handling this? These entries are going to bubble up the listings as their expiry date nears, and then get pushed right down again. I'm not sure this is the best way of doing it, but the client is adamant that they want them integrated into the main list.

Any ideas or suggestions most welcome!


texts: How do i clone my whole EE instance into a test instance?

texts:
I want clone another instance for testing purposes.

I am trying to follow this guide:
https://ellislab.com/expressionengine/user-guide/operations/moving.html

but I'm not sure where to locate the database in Step 4.

And I'm not sure how to verify and update the files in Steps 8 and 9.

Right now I just have a copy of admin.php, index.php, themes/, images/, and system/ in my test/ directory.
And so, accessing www.mywebsite.com/test/ results in unavailable webpage.


texts:
After updating EE to 2.10.. I have a blank (500 error) when i try to edit a member!

I tried to

flush all the cache,
Create and edit new member
Other browser

Any ideas?

Thanks!

UPDATE:

I replaced /expressionengine/controllers/myaccount.php with the 2.9.3 version and it's working..


texts: When should I use the embed tag over the dynamic/template tags?

texts: Since Layout templates are so handy (cutting the template into interchangeable header/sidebar/footer, etc), why should our use an embed tag? Any ideas on when you should not use an embed tag over a layout tag?


texts:
In about us, i added different data and I want to display it in view.
How to create a view of our about us channel.
I newbie in expression.can we use the template in it


texts:
I'm installing my first 2.8 on a local machine, and noticed that the Field Options aren't showing up.

I retraced the steps and it turns out installing latest version of Matrix (2.5.10) breaks Field Options (i.e., FO stops showing up.)

Only CP related add-on I have is NSM's Override.css.

Has anyone else encountered a similar issue?


texts: How to get the logged in member id from PHP / hooks?

texts:
Is there a hook-independent way to get the logged in member id inside a hook handler?

Something like a function or a global variable?


texts: Getting wrong event_last_date within {events} loop

texts:
When I run the code below, I get the correct start time for an event, but the same value is output for the event_last_date (the end time that is output is the same value as the start time….)

Any Ideas?

{exp:calendar:cal sort="asc" dynamic="no" calendar_name="kaharoa-school-events" date_range_start="today" show_months="3"}

{display_each_month}

{date format="%F"}

{if month_event_total == "0"}
There are no events scheduled this month
{/if}
{events}

{event_start_date format="%d"} - {title}

When: {event_first_date format="%g:%i%a"}
{if event_never_ends}
(never ends)
{if:else}
{if "{event_first_date format='%Y%m%d%g%i%a'}" != "{event_last_date format='%Y%m%d%g%i%a'}"} to:
{if "{event_first_date format="%Y%m%d"}" != "{event_last_date format="%Y%m%d"}"}
{event_last_date format="%l, %F %j, %Y at %g:%i%a"}
{if:else}
{event_last_date format="%g:%i%a"}
{/if}
{/if}
{/if}

{if event_location}
Where: {event_location}{/if}
{if event_summary}
Details: {event_summary}
{/if}

{/events}
{/display_each_month}
{/exp:calendar:cal}


texts: Restrict file browsing in Wygwam / CKEditor

texts:
Is there a way to show only files belonging to the current EE user in CKEDitor file browser?

Failing that, can I remove the delete option from the context menu in the CKEDitor file browser to prevent different users from deleting each others files?

Failing both of those - is there an alternative that is better suited to multi-user use (i.e. one that fulfills my first option).

Thanks in advance.


texts: Error: This site is currently unavailable. And unable to login to CP

texts:
I'm running into a strange problem. A couple of days ago, my client started noticing that the site has an error:

Error Message
This site is currently unavailable

And the CP (admin.php) gives me this error:

Error
You are not authorized to perform this action

So it is impossible to login to the CP

No luck trying these solutions out:

Database settings seems to be right
DB Connection is fine
System is ON
Tried from different device and different IP Address
Can't find any strange things in my log files
In my config debug is on. No other errors
Tried removing my .htaccess
Cleared my browser cache
Cleared system/cache folder
Centos 6.5 is up to date
Plesk is up to date
EE is up to date 2.8.1

If you want access or want to see my config file just PM.

Any ideas?


texts: Is there a CartThrob variable for shipping_tax?

texts:
I can't seem to find any mention of one in the documentation - is there a CartThrob variable for the tax calculated against the shipping charge (when you have shipping set as taxable)?

I was able to find one that is the shipping rate plus the added tax:

{exp:cartthrob:cart_subtotal_plus_tax}

But I have not been able to find one for the tax amount separately.  Anyone know if it exists? And if so, what it is?


texts: String failing evaluation as PHP causing blank/white page

texts:
We have a page on our new EE site which is failing to load (blank/white page) because of a PHP error which I'm having some difficulty troubleshooting.

The page is at http://www.healthyschoolscampaign.org/programs/health-in-mind/, and the error encountered is:

A PHP Error was encountered
Severity: Warning
Message: Please contact support about failure
Filename: libraries/Functions.php
Line Number: 683

Those familiar will know that line 683 is the function which evaluates a string as PHP. Unfortunately, due to the vagueness of the error message, I'm not sure how to tell what data is being passed as the string. I do know that other pages use the same Structure Template as this page and do not throw the same error.

We have other seemingly random blog pages which fail to load for the exact same reason, but it is not consistent across all blog entries. Any help would be appreciated, as I'm pretty much a PHP n00b.

Thanks!
Ben


texts: Upgrading to FreeForm Pro 4.1.2 Styling not working

texts:
I have a testing server that duplicates our live server and I updated our FreeForm 3 to 4.1.2 on the testing server and everything went smoothly. When I deployed those changes to our live server the styling for the CP area is broken and I am unable to use the new composer for 4.1.2

I have included screen shots so you can see what is happening. Any help would be much appreciated.

Thanks!


texts: Datagrab import, P&T dropdown not registering

texts:
I'm importing a CSV of around 60 dogs using Datagrab.

The import works fine but when I use Solspace Super Search, it seems to be ignoring the gender of the dog (a P&T dropdown field).

If I resave the entry, it's fine, search works great.

I can't fathom whether this is a Super Search issue or a Datagrab issue. When I look at the field in the db after import, the value is definitely there.

Any ideas?


texts:
I have this code that is not working as expected. No First or last or prev links will display...

{paginate}
                            {pagination_links}

                                {first_page}

 First

                                {/first_page}
                                {previous_page}

 «

                            {/previous_page}
                            {page}

 {pagination_page_number}

                            {/page}
                            {next_page}

 »

                            {/next_page}
                            {last_page}

 Last

                            {/last_page}

                        {/pagination_links}
                        {/paginate}

I get this on the front end ... see attached. Any help would be appreciated.


texts: I am new to V2 of Store and wondering how to make a product tax free?  I understand you may have to use categories not but I do not see anything in the docs or in the tax settings that shows how this is done.  Any help?


texts: How do I delete a page and then redirect the URL to a new URL?

texts:
Hoping you could all help a little, had a look around https://docs.expressionengine.com/v2/ but could not find much of an answer.

I've just inherited a website currently on expression engine v2.10.1 and while I don't really know anything about expression engine or the CP I can see the set up is a bit of a mess. There are a bunch of unused old pages that are still live and the site needs a good spring clean, I've found out how to unpublish them but would obviously like to redirect them instead.

I researched around and found a .htaccess file (12 actually but only 1 with content) and tried to add a line into the # Redirects area

Redirect 301 http://company.com/old-page http://company.com/new-page

This does not seem to be working, any lesson or links to a missed duplicate answer would be greatly appreciated!

Steve


texts:
I am using the Cloner extension with EE 1.7, and I can't work out how to give one of my users access to duplicate and clone an entry.

I know I can do this as a superadmin, but I'm not sure whether I can grant access to a content contributor. Is this possible?

NB I'm currently using EE 1.7 (Yes, I know this is outdated).


texts: Strange CE Image / Stash / Low Search problem

texts:
I have a strange problem where a CE Image tag is outputting fine for one Stash list but not another but only when within a Low Search results tag, works fine in a normal channel entries tag.

APPEND LIST

{product_styles search:code="not IS_EMPTY"}
  {exp:stash:append_list
    name="product_images_{entry_id}"
  }
    {stash:product_lg}
    <img src="{exp:ce_img:single
      src='{image}'
      width='350'
      height='350'
      crop='yes'
      quality='85'
      url_only='yes'
      allow_scale_larger='yes'
      interlace='yes'}">
    {/stash:product_lg}
    {stash:product_options}
      <option
        value="{title} {code}"
        data-thumb="{exp:ce_img:single
          src='{image}'
          width='50'
          height='50'
          crop='yes'
          quality='85'
          url_only='yes'
          interlace='yes'}"
      >{code} {title}</option>
    {/stash:product_options}
  {/exp:stash:append_list}
{/product_styles}

OUTPUT

{exp:stash:get_list name="product_images_{entry_id}"}
{product_lg}
{/exp:stash:get_list}

{exp:cartthrob:add_to_cart_form}
  <select>
    {exp:stash:get_list name="product_images_{entry_id}"}
    {product_options}
    {/exp:stash:get_list}
  </select>
{/exp:cartthrob:add_to_cart_form}

So with the above, I get a series of images output fine where {product_lg} is, but where {product_options} is, it's outputting <option value="XXXXX" data-thumb="{exp:ce_img:single src='filename.jpg'… ">XXXXX</option>, i.e. parsing the CE image tag inside the option.

Which I can't work out because it's essentially the same tag just with slightly different parameters. Anyone have any ideas what's going wrong? :?


texts: Expresso Store: Display price including tax from channel:entries tag

texts:
First Store project underway for a UK store charging VAT.

I'm (probably) going to enter prices ex-VAT into the database as they do ship internationally, but I generally want to display them inc-VAT throughout the site. The only place I'm likely to split things out is in the checkout.

Is there a "best practice" for this? I've got my VAT setup and UK is the default country, but I can't figure out how to add tax to the price displayed using a {store_field:price} tag.

Quite happy to get my hands dirty with add-ons/extensions etc, but not if I don't have to.

thanks


texts: How do I change the search frequency time limit?

texts:
EE 3.5.17
By default search frequency is set to 15 seconds. Is there a way to change that time limit?
I saw an old post from 2007 that said it was under Member Group settings, but I don't see anything like that.
Any suggestions?
Thanks.


texts: Cartthrob, Play Audio File, Content Disposition Issue

texts:
With my site I am are offering a file to be downloaded or to be played. Via mobile(iPhone) I am unable to play the audio file, I get the white play button with the slash through it. Android attempts to download the file, but it fails. I have set Content-Disposition to inline within the Cartthrob_file.php file, this gave me the ability to now play the file not download it via the browser. I have also changed the settings within that file to completely disable Content-Disposition so it would naturally default to inline, but no progress. I have looked around Cartthrobs docs and forums to get around the issue, but nothing.

My main focus(question) I am trying to give the user(purchaser) the ability to play the audio file via their phone while they are view the site. And do the whole right click to save file.


texts:
I'm using Stash's static cache on a site and have wrapped my Freeform tags in {stash:nocache} but whenever I try to submit a form, I get taken to a page like /?ACT=XX with the error No input file specified.

stash_file_sync is set to false and I'm using the .htaccess rules printed out in the CP:

#################################################################################
# START MUSTASH STATIC CACHE RULES

# -------------------------------------------------------------------------------
# default_site
# -------------------------------------------------------------------------------

# Exclude image files
RewriteCond $1 !\.(gif|jpe?g|png|ico)$ [NC]

# We only want GET requests
RewriteCond %{REQUEST_METHOD} GET

# Exclude CSS/ACT EE URLs and 'preview'
RewriteCond %{QUERY_STRING} !^(css|ACT|URL|preview)

# Uncomment this if you want to disable static caching for logged-in users
#RewriteCond %{HTTP_COOKIE} !exp_sessionid [NC]

# Remove index.php from conditions
RewriteCond $1 ^(index.php/)*(.*)(/*)$

# Check if cached index.html exists
RewriteCond ../static_cache/1/$2/index.html (.*\.(.*))$
RewriteCond %1 -f

# Rewrite to the cached page
RewriteRule ^(index.php/*)*(.*)(/*) /static_cache/1/$2/index.%2 [L]

# END MUSTASH STATIC CACHE RULES
#################################################################################

# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

</IfModule>

Each template looks similar to:

{stash:embed
  name="home"
  file_name="views:home"
  process="static"
  context="@URI"
}

Also, is anyone using Mustash but not getting a main menu item which gives you access to create cache-breaking rules? I can access different settings by navigation to the Mustash module or extension, but that doesn't give me a link to create cache-breaking rules.


texts: Using Matrix with Playa Fields and Stash set_list

texts:
I'm using {exp:stash:set_list} along with a few Matrix fields, but when I use {exp:stash:get_list} in my view template to retrieve the values nothing is returned. Here's barebones example of what I'm using.

Model template:

{stash:embed:layouts:template}

{exp:stash:set_list
  name="people_entry:{segment_2}"
  parse_tags="yes"
  parse_depth="2"
}

  {exp:channel:entries
    channel="people"
    disable="categories|category_fields|member_data|pagination"
    limit="1"
    status="open"
  }

        {stash:people_title}{title}{/stash:people_title}

        {exp:stash:set_list:nested
          name="name_{entry_id}"
          parse_tags="yes"
        }
          {matrix_field_1}
            {stash:people_name}
                {playa_field}
                    {name}
                {/playa_field}
            {/stash:people_name}
          {/matrix_field_1}
        {/exp:stash:set_list:nested}

        {exp:stash:set_list:nested
          name="position_{entry_id}"
          parse_tags="yes"
        }
          {matrix_field_2}
            {stash:people_position}
                {playa_field}
                    {position}
                {/playa_field}
            {/stash:people_position}
          {/matrix_field_2}
        {/exp:stash:set_list:nested}

{/exp:stash:set_list}

View template:

{exp:stash:get_list
    name="people_entry:{segment_2}"
}

    {people_title}

    {exp:stash:get_list:nested
        name="name_{entry_id}"
    }
        {people_name}
    {/exp:stash:get_list:nested}

    {exp:stash:get_list:nested
        name="position_{entry_id}"
    }
        {people_position}
    {/exp:stash:get_list:nested}

{/exp:stash:get_list}

Any thoughts on what I'm doing wrong?

Using EE 2.7.3 with Stash 2.4.8 and Matrix 2.5.10.


texts: Solspace FBC not using "real" email addresses for passive registration

texts:
I've setup Solspace Facebook Connect to do passive registration. However, when I test this by logging in with my facebook account the email used for the EE member registration is the facebook email like c414b91c90b55584f779f052531f225b@facebook.com instead of the user "real" email account, even though I'm including "email" in the permissions parameter on {exp:fbc:login}

Is there something else I have to do to get the real email address to be used for EE member passive registration?


texts: Webmaster or site name for auto-generated emails with SMTP

texts:
I currently have site notifications from Expression engine using SMTP. All is working great, except the site name is not appearing in the email. It still says that its from ---@website.com instead of it saying that its from Website name.

Any ideas on how to get this work with SMTP? Is there way to go into the codeigniter email file and manually set this to work?

Any help is much appreciated!


texts: What would be a reasonable configuration for a pizza store?

texts:
I'm wondering what would be the best implementation for a pizza store. The workflow would be:

User adds a pizza (product) to their cart.
User is able to add a la carte toppings to their pizza, each of which increases the price slightly.

I'm assuming some combination of price modifiers would do the trick, but I'm not sure if you are able to add multiple modifiers to a single product?

Any thoughts or suggestions would be helpful, thanks!


texts: Expresso Store with Stripe Blank Checkout after Submit Order

texts:
I’m running into an issue with Store 1.6.5 (ugh, I know!) on EE 2.7.2 (ugh, again!) and Stripe. For the most part, things are working. However, we’re getting some feedback from some customers that in some cases clicking the Place Order button is simply refreshing the page with blank form fields. In some cases we’re seeing errors in Stripe log files that no card details are being sent. In other cases we’re seeing that tokens are created, but not used.

I’ve followed the advice offered at the end of this thread:
Expresso Store with Stripe final checkout page reloads instead of submitting

It disables the check for multiple payment methods as Stripe is the only payment method.

I’ve also switched from using htts://js.stripe.com/v1 to htts://js.stripe.com/v2 thinking that may be an issue.

Unfortunately I am unable to reproduce the issue so it’s hard to troubleshoot.

Does anyone have experience with a similar issue that can offer some additional things to check? I'd be happy to post some code if necessary, or share access offline and report findings back here to keep the community informed.

Thanks in advance!

Greg


texts:
Is there a way in Playa, or by hacking Playa, to select the previous or next sibling to the current entry? I can't find anything in the docs.

Ideally, something like this (assuming we use the existing P&T tag)

{exp:playa:siblings entry_id="5"}

   {previous}
        < Previous
   {/previous}

   {next}
        Next >
   {/next}

{/exp:playa:siblings}

Or as it's own tag:

{exp:playa:prev_sibling entry_id="5"}
        Previous >
{/exp:playa:prev_sibling}

{exp:playa:next_sibling entry_id="5"}
        Next >
{/exp:playa:next_sibling}

Any ideas?


texts: Pagination adding repeating index.php and template group segments to URL

texts:
I am helping someone with their Expression Engine site and I have an issue with pagination in some search results.

The pagination links are adding "index.php/templategroup/template" to the URL for each page. After the 3rd page click (where the pagination is regenerated) I run into the "Error: The URL contains too many segments." error because the URL has expanded.

For example, after the 3rd page click, i get index.php/directory/results repeating:

hxxp://site/index.php/directory/results/index.php/directory/results/search&keywords=xyz

I am familiar with codeigniter but this is my first attempt at working with expression engine.

Has anyone seen this before?

The site is running EE v. 240 and I believe they are using something called "Super_Search" because the template reads "exp:super_search:results"

Edit as requested:

SuperSearch version = 1.4.4

{exp:super_search:results channel="directory" paginate="both" limit="10" orderby="title" sort="desc" redirect_post="yes" status="approved"}
...content...
{paginate}

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

{/paginate}

{if super_search_no_results}

No results match your search. Try again by selecting fewer or different criteria.

{/if}

{/exp:super_search:results}


texts: Managing database for single site across multiple servers?

texts:
Does anyone have any advice on how to deal with separate databases (local, staging, live) for the same EE site on different servers?

The client changes things on live, but I obviously do any site maintenance or updates from my local > staging versions. I've accidentally overridden the client's changes to the live site before. Any advice on how to avoid this with a module that checks database changes, or even a way to block certain sections of the database from being overridden on import? (like say, any tables dealing with members)

I was looking at Site Manager on github but it is currently in Alpha, so unsure when it can actually be used in production. I have Zenbu installed to check entry edit dates, but no idea how to check for changes elsewhere.


texts: Freeform select field - setting the default "selected" value

texts:
I'm developing a form with Solspace Freeform Pro edition.
I didn't use the composer but coded the form myself.
I succesfully mapped a SELECT being defined as Newline Delimited in Solspace backend.
What if I want to make one of the entries the SELECTED one when rendering the template tag?
I've tried this:

{freeform:field:country_select attr:selected="France"}

with no success.


texts: expired form error when return from offline payment in cartthrob payment plugin

texts:
i create payment plugin for cartthrob in EE.
in this plugin we need to send parameter to gateway website with POST and gateway website will return result with posting parameter to url we gave it.
everything goes OK but when gateway send parameter to our url we get error.

This form has expired. Please refresh and try again.

gateway post data to:

http://example.com/themes/third_party/cartthrob/lib/extload.php/Mellat

when we call that URL without post data its working...

thanks and sorry for my English.


texts:
I've just moved a site using 2.5.5 from my local setup to our hosting account under a sub-domain for staging but am having some odd issues.

At first the site is fine but if I visit the add-ons tab I get the whitescreen of death front-end and CP. I turned on debugging and got the following error

A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: core/EE_Config.php
Line Number: 211

Disabling extensions in config.php didnt help but if I change the database user (ie create a new user and update database.php) the site comes back fine.

Even with extensions disabled, if I try to access add-ons, I get the same routine…

I have a 2.5.3 site in another subdomain on the same server with no issues at all.

I have the following third-party add-ons installed: Assets 2, Matrix, CP Analytics, Field Editor, Freeform, Google Maps for EE, Low Reorder, NavEE, REElocate, Sitemap, Environment, Health Check, NSM Addon Updater, Low Alphabet, P&T Field Pack, Playa, Expresso, CE Image

The local install is running perfectly.


texts: Is it possible to return matrix row/column content from a third-party search plugin?

texts:
I'm trying to brainstorm the best way to setup a product search functionality on a site in development. I thought maybe I would have one entry per product, then each variation of that product would be in its own Matrix row (columns = item#, color, woodtype, image url, etc.). So if I searched for "Tables" with color "White", woodtype "Pine", I could return the image of that product variation as well as the rest of the variation's row content(Only ever finding the one exact matching result). I'm looking to use a third-party search plugin, so Low Search or SolSpace Super Search. I'm also hoping to eventually return the result via Ajax if one of those plugins makes that easier.

Or maybe each variation variable is a category? Then I could search for "Tables" with "White" set as the color category, "Pine" set as the woodtype category, etc.? Or use Tags?

Any thoughts on the best way to accomplish this would be great. Thanks!


texts: How to remove the 'Add html button' button from the formatting toolbar

texts:
If you show/allow the default HTML formatting buttons for a custom field there is a red cross that allows you to add HTML formatting buttons.

Many of my users find this confusing and don't understand what is on offer or how to do it, so I'd like to be able to remove it.

Ideally I'd rather not have to hack a core file, but if that's the only way to do it which file contains the means?


texts:
*updated The issue was not having www in the url. Assets works fine if I use www.mysite.com/system.... but not if I use mysite.com/system... in the url. www is required in the url for Assets to work. Is this a htaccess issue or can u recommend a fix P&T please? Thanks***

Just installed Assets 2.1 to test it out on EE2.5.5 - ran the ee server wizard and have what I need installed. If I try and update indexes in Assets the red button just turns opaque and does nothing. I also get no thumbnails and the refresh button just kept spinning endlessly. I reinstalled and uploaded Assets 2.1 twice. Seems to conflict with another module perhaps. Cache is 777, synchronised images in file pref etc...
Any ideas?
Thanks

update index does nothing (don't know where assets_test[2] is coming from? I have 2 images folders test and home...paths are correct)
http://www.tiikoni.com/tis/view/?id=c1608dd
folder and thumbs not displayed
http://www.tiikoni.com/tis/view/?id=e7c53be


texts: How to notify on register with Zoo Visitor & Postmaster

texts:
I am trying to create a notification email in Postmaster to trigger on submission of a Zoo Visitor member registration form. The registration form includes a set of checkboxes for registrants to notify availability.

Using a Parcel in Postmaster as follows it will spit out all of the data but only on Edit/Update - not registration (new entry).

Performer Expression of Interest Application

Date: {parcel:entry_date format="%d-%m-%Y"}

{parcel:artist_group_name}

{member:screen_name}

Email: {member:email}

{parcel:street_address}, {parcel:address_line_2}
{parcel:city} {parcel:postcode} {parcel:state}

Phone: {parcel:contact_phone}

Availability: {parcel:m_availability}

Website: {parcel:website_url}

Facebook: {parcel:facebook_profile_url}

Twitter: {parcel:twitter_profile_url}

YouTube: {parcel:youtube_channel_url}

Bio / Description

{parcel:biography_act_description}

I've tried this with and without email self-activation turned on. I've tried this with all statuses and member groups ticked.   Note that in this example, the Availability field outputs the correct data.

So I tried using the Zoo Visitor Register End Hook as follows:

Performer Expression of Interest Application

Date: {hook:entry_date format="%d-%m-%Y"}

{hook:artist_group_name}

{member:screen_name}

Email: {member:email}

{hook:street_address}, {hook:address_line_2}
{hook:city} {hook:postcode} {hook:state}

Phone: {hook:contact_phone}

Availability: {hook:m_availability}

Website: {hook:website_url}

Facebook: {hook:facebook_profile_url}

Twitter: {hook:twitter_profile_url}

YouTube: {hook:youtube_channel_url}

Bio / Description

{hook:biography_act_description}

But, I get a PHP error on form submission. The email notification arrives but with the Availability field just outputting:

Availability: Array

I also tried:

{hook:m_availability}{options}{/hook:m_availability}

and

{hook:m_availability}{option_value}{/hook:m_availability}

So, I guess there's an issue with parsing arrays like checkboxes etc when using the ZV hook - or I'm simply doing it wrong.

Seems I cant win either way.

If anyone can point me in the direction of either:

a) Getting Parcel to send notification on register

b) Outputting the Availability data when using a Hook


texts: How to display HTML in an EE field, onto an EE template?

texts:
I'm running an older version of EE (v2.6.1) and I need to create a template to export some of the content. I need to display entry fields as their HTML, so that when I view this template, I can see the HTML tags and then copy that HTML into my shiny new instance of EE.

(Please don't suggest importing; I don't have the SQL knowledge to do that. this method is slower, but I know what the frick I'm doing and I know that it won't kill anything. The entries have been created in the new version of EE, so the entry IDs won't align between the two instances anyway. Manual copying is going to have to be what happens.)


texts:
All of our records (30-40 k) got uploaded with non descriptive titles in a certain channel and I want to properly rename them in either Sequel Pro or EE. I haven't used SQL in a while so I need help creating the proper code.

I'm hoping to have the title and title_url values regenerated based on values of other fields.

Basically I want to be able to do things like:
If field_id_91 = [43987] [vogue-pattern-company] Vogue Pattern Company then title should be "Vogue field_id_40 (field_id_41)"

Thanks in advance!


texts: Next / Prev Linking Of Entries in Relationship Field

texts:
I have a channel called "course_content" that contains a relationship field which holds entries from a "lesson_content" channel.

The user clicks on a course (course_content) and all of the lessons related to that course are displayed. They then select the lesson that they want to view.

I'm trying to add "Previous" and "Next" links to the lesson entry pages to allow the user to navigate the lessons specific to that course. Currently, I'm using the following code:

{exp:channel:prev_entry channel="lesson_content"}

     Previous

{/exp:channel:prev_entry}

{exp:channel:next_entry channel="lesson_content"}

    Next

{/exp:channel:next_entry}

The problem is that is is looping through the entire "lesson_content" channel so when you get to the end of the lessons for that class, you continue to lessons from the next class.

I'm sure I need to use an embed, I just can't figure out how to specify just the entries that are found in the same relationship as the entry that is being viewed.

Any help would be appreciated.


texts: how do I get cartthrob order items using only php

texts:
This question came out of discussion of a way to speed up cartthrob order/order items output.

Using only a php solution, is it possible to display all cartthrob order item info? The goal is very fast output with multiple orders and multiple items per order. What is the fastest method to use that would result in the least amount of queries or server load.


texts: Matrix "Move to top/bottom" feature erases content from Wygwam Field

texts:
EE 2.5.3, Matrix 2.5.2, Wygwam 2.6.3

When a Wygwam cell is part of a Matrix and that row is dragged and dropped into a new order, everything is fine.

However, if you use the "Move to top" (or bottom) feature from the cell options dialog, the field moves and the Wygwam content is cleared.

Before moving:

After moving:


texts: Has anyone ever seen this behavior before? I seem to have random entries missing from my site. This has been going on for a few months now and I've chalked it up to some weird anomaly when it first started happening. Now, I'm noticing that entries are missing because I'm getting crawl errors inside of Analytics and Adsense admin. I probably haven't deleted an entry in five years so something weird is going on.


texts: JSON output thumbnails and other image sizes

texts:
I'm currently using this plugin: http://devot-ee.com/add-ons/json

It does pretty much everything I want it to-do but unfortunately it doesn't out put images and all the different versions of that image.

I have edited the plugin to return the data I want but What I have written seems a bit messy and isn't very flexible.

Does anyone have a better solution to editing the JSON output of this plugin to include all image sizes.

Or is this a built in feature I missed. Any help would be appreciated.


texts:
I have users who authenticate using Twitter and Facebook (using the Social Login add-on). Those users have no password.

Is this something I can test for using ExpressionEngine logic?

The obvious suspects don't seem to work, but it's not terribly surprising:

{if password != ""}password == yes{/if}
{if password}password == yes{/if}


texts: Expresso Store Price Modifier Affecting Modifier

texts:
I am developing a website that sells design and print items. My print items run on a formula that needs me to be able to have one price modifier such as "paper type" affect the final price depending on what the "dimensions" modifier is.

To be clear my price modifiers need to affect each other's price.

Is this possible with Expresso Store. If so, what are the solutions?


texts:
I have nested if statement  for template selection - seems a bit cumbersome is there a better way?

{if member_group == 5 }
            {if last_segment == "edit" }
              {embed="mypassport/personal-profile-edit}
              {if:else}
               {embed="mypassport/personal-profile-view}
            {/if}

          {if:elseif member_group ==  6}
          {if last_segment == "edit" }
              {embed="mypassport/business-profile-edit}
              {if:else}
              {embed="mypassport/businessprofileview}
            {/if}
      {/if}


texts:
I have created a file grid field option to store product images in a channel fields. To display one from them on the site I use:

    {product_image limit="1"}
            <img src="{product_image:image}" alt="{product_image:title}" class="img-responsive">
    {/product_image}

but it always pulls images as HTTP connection even when I will come to the site as HTTPS.

Any clue?

Thanks


texts:
I installed Freeform Pro 4.1.3 but it does not appear in the "modules" area of the control panel. I copied the files twice and checked their location but still no change appeared in the "modules" area of the control panel.

I'm running EE2.6.1, PHP 5.4.7 and MySQL Server 5.5

Any idea what may cause the module not to appear?

Thanks


texts: Solspace user - percent of profile complete

texts:
I want to calculate the % of the profile a user has complete is this possible?

Maybe even define the fields.


texts: Paypal error - You do not have permissions to make this API call

texts:
I'm getting the below error when trying to make a payment in store:

You do not have permissions to make this API call
I've checked and the paypal express settings are all correct and it's pointing to the live server and not testing - do you know why this could be?

Thanks
Guy


texts:
Im working on building a product comparison to add into a Cartthrob Ecommerce site. I would like to be able to extract item option information from an existing cart entry to transfer to a page in order to compare against other products. Does anyone know if this is possible and how I would do it?

Any advise would be appreciated


texts: How to remove a relationship field with php

texts: I have a "Teams" channel that has a relationship field to a "tournaments" channel.  On the frontend when I display all the teams for that tournament, I need to allow a user to remove their team from that tournament.  How do I go about doing this?  I still want to keep the team entry, just clear that relationship field so they aren't attached to a tournament anymore.  Not sure if there are meta data and all that you have to set.


texts: Freeform Pro Composer Templates - add class to input/select/checkboxes

texts:
Is there an easy way to apply classes to Freeform Pro form elements in composer mode?

I have gone through several SO posts (& blog posts including this helpful one) however haven't been able to find a solution to cover all elements.

The general suggestion appears to be:

Replace

{composer:field_output}

With

{freeform:field:{composer:field_name} attr:class="form-control"}

Which works well until you get to <select> & other HTML elements:

Note: The orange highlight is where a select field type should be and the red is a random tag that I can't seem to work out where it's coming from...

The only way I can get all elements to display correctly is by using the standard syntax "{composer:field_output}" and then jQuery to add classes to elements:

//jQuery
$('.composer-form input[type="text"],.composer-form select,.composer-form textarea').addClass("form-control");
$('.composer-form input[type="submit"]').addClass("btn btn-primary");

If there isn't an easy way to apply relevant classes to elements using conditional statements, I will stick with the jQuery option however I really hope it's something simply I am missing in my composer template (see below for the template code).

Any help, advice or insight will be greatly appreciated.

Composer (Bootstrap 3) template:

{composer:page}
    {composer:rows}

        {composer:columns}

                {if composer:field_total == 0}

                {/if}
            {composer:fields}
                {if composer:field_label}
                    {if composer:field_type == 'nonfield_captcha'}
                        {if freeform:captcha}

                            {composer:field_label}

                        {/if}
                    {if:else}

                            {composer:field_label}{if composer:field_required} *{/if}

                    {/if}
                {/if}
                {if composer:field_output}
                    {if composer:field_type == 'nonfield_captcha'}
                        {if freeform:captcha}
                                {freeform:captcha}

                                <input type="text" name="captcha" value="" size="20" maxlength="20" style="width:140px;" />
                        {/if}

                    {if:else}

                        {freeform:field:{composer:field_name} attr:class="form-control"}

                    {/if}
                {/if}
            {/composer:fields}

        {/composer:columns}

    {/composer:rows}
{/composer:page}


texts: How to pull a channel entry title from a previous page into a Freeform Pro field?

texts:
Is there a way to pull the channel entry title from a previous page into a Freeform Pro form field?

Here's the specific scenario:

There is a channel containing job postings. To apply for any of these jobs, the visitor clicks an "apply" button which takes him or her from the job description page to an application form. Is there a way to pull the entry title of the job on the previous page to a field on the form the visitor is now filling out?

If there is a way to do this, can the code be integrated into a Composer template?


texts:
                             {exp:channel:entries channel="properties" dynamic="no" limit="10" disable="categories|member_data|category_fields|member_data|pagination"}
                          Start matrix- {property_photos limit="1" sort="asc"}
                            Photo frame- {photo_images size="slider"}
                                <1mg src="{photo:url}" alt="" title="#htmlcaption" />
                            {/photo_images} {/property_photos} - close matrix

     {property_address}{rooms} rooms,{bathrooms} Baths,{beds} beds, House size:{house_size} sq.ft., Price $ {price}  View Property

{/exp:channel:entries}

Could anyone give me some advice on how to improve this? When validating html, it warns that's the html caption div is repeated twice. Is there anyway to slim this down ?


texts: Save issue: Submitting entry edits redirects to control panel top?

texts:
IMPORTANT:  It turned out that this question couldn't really be answered based on the info I had provided, and it wasn't possible for me to provide enough info to make it answerable.  Tom provided the best steps for debugging this type of issue in a normal situation so I'm giving it to him, but in my case the issue being that some changes to core that are not released yet, were causing problems in the way that Secure form processing worked.  Turning of secure form processing until this issue is remedied was the solution that worked for me.

The Question

I'm having an issue in my ee2 install in which most often when I edit or create an entry in the control panel and click submit, the control panel homepage is loaded and the content is not saved.  If I hit back in my browser and resubmit, the change is saved on the second try.

Has anybody else seen this, and does anyone know what the fix is likely to be?


texts: Save templates to file suddenly stopped working?

texts:
I have a clients site which has been working fine for a year or so, I have been doing a few updates to it over the last few days, now suddenly 'Saving Templates to File' has broken. If I make any changes to the templates via the control panel or via my html editor and save it wipes the whole of the file. The only way I can make any changes is to do them via the control panel and make sure 'Save Template to File' is unchecked.

I have checked and the templates folder is set to 777, and the location of that folder hasn't changed.

Does anyone have any advice? or a solution?
Thanks in advanced.


texts: Solspace User form not submitting correctly

texts:
I have EE 3.3.2 and Solspace User 4.0.6 running.

I build the form templates and they appear to be rendered ok. The template tags pull the data correctly for the user:edit form and all the form elements are there.

But neither the user:edit nor the user:registration forms would submit. Upon hitting the submit button they all redirect to the domain without recording any data.

If I hack the rendered page in the browser to append ACT to the action (e.g. action="http://example.com/?ACT=33) I get a permission error.

Any clue, anyone?

Thanks!
Luke

<form id="member_form" method="post" action="http://example.com/"  >

<input type="hidden" name="ACT" value="33" />
<input type="hidden" name="RET" value="http://example.com/member/registration-thank-you" />
<input type="hidden" name="params_id" value="26" />
<input type="hidden" name="site_id" value="1" />
<input type="hidden" name="csrf_token" value="ed7a4cdcdebe7b7349137c6ba5108d88b857f736" />

Email Address *<input type="text" name="username" />

First Name *<input type="text" name="first_name" />

Last Name *<input type="text" name="last_name" />

<input type="checkbox" checked="checked" name="accept_terms" value="y"  /> Accept Terms? *

<input type="submit" value="Submit" class="button" />

</form>


texts: ObjectiveHTML's Authenticate - login and forgot password problems

texts:
I'm trying to use https://objectivehtml.com/authenticate and have come across some problems:

Logon Form:

How can I trigger a global error so I can verify {global_errors} work? See: https://objectivehtml.com/authenticate/documentation/tag/global-form-variables
How do I access a specific field error? {field_errors} does display the first error encountered in the form, but I can't seem to access a specific field error. I've tried {error:email} doesn't work for me.

Forgot Password:

How do I specify the form's class and return URL? See: https://objectivehtml.com/authenticate/documentation/tag/forgot-password

Both Forms:

How do I persist the form inputs when there is an error and the page is displayed again? I want the email and password to be persisted on form errors.


texts:
I have recently upgraded EE to 2.5.3, and Pixel and Tonic’s Matrix to 2.5.1 and now my Matrix fields have stopped parsing. The raw tags with curly braces are being output.

I’ve been pulling my hair out trying to figure out what is wrong.

I have tried contacting Pixel And Tonic on all the support channels I know of, and while it hasn't been that long, I really need to get this fixed pronto. Anyone know what might be causing this and how I can fix it?


texts: layout:set not working properly (EE 2.9)

texts:
Working with layout, have a problem:

{layout="_global/layout_cat"}
{exp:channel:entries channel="my_channel"}
    {layout:set name='htitle' value='{title} | some text'}
    Some text using the channel entry field values {title} {description}, etc....
{/exp:channel:entries}
{layout:set name="layout_param"}
 <script type="text/javascript">...some js script...</script>
{/layout:set}

When I look at the page, I see everything right, but also I see the parts of layout:set values, for example the half of {title} and "some text" then, including a '"}' at the end, and some parts of javascript insertions at the end.

What am I doing wrong?
No plugins installed, clean EE Core 2.9.2


texts: Pixel and Tonix Assets and Wygwam Fields within Content Elements

texts:
I looked around and could not find how to have different types of Wygwam and Asset fields inside of Content Elements.

For example I want to be able to have two different types of Wygwam fields. I assumed my template would look like this:

{wygwam}
    {if element_name == "Address Content"}

{value}

    {if:else}
        {value}
    {/if}
{/wygwam}

This does not seem to work. Is this even possible at this point in time? Assets is giving me the same issue.

Any clarification would be awesome!

Thanks in advanced!

John


texts: Assets (pixel & tonic) channel form - show images only by author

texts:
I'm using Assets to provide a form for members to post an icon.  I'm using the "{field:assets_field_name}" method to provide the file upload ability.

I love it and it works great, however I want users to only see files that they have uploaded and not the whole S3 bucket contents (everyone elses icon uploads as well as theirs).

Is there a way to do this?

Thanks!


texts: Update url_title when editing similar to when creating a new entry in a channel

texts:
We recently updated an old site from EE 2 to EE 5.  In EE 2 when you edited a title of an entry it would also update the url title the same way that it does when you create one.  Now on EE 5 it will not update the url title if you are editing an entry.  It will only do that when you create an entry.  I get the reasoning for this as if an entry is published and you change the url of that entry it could cause problems but the admins for this site are requesting that functionality back as that is what they are accustomed to.

I know the functionality is already there as it does it when you create an entry and wondering if there is any way to trigger this when you edit an entry.  If not are there any open source plugins to add javascript to the admin control panel.


texts:
I'm using a simple grid conditional to show academic references in a post. I only want to show it if someone has entered some references, but the conditional just isn't working. What am I doing wrong?

My code is:

{if references:total_rows > 0}

Further Reading

{references}

{references:names}, {references:pub-year}, {references:title-work}, {references:publisher}, {references:country}

    {/references}

{/if}

I've also tried using " and brackets to surround the if condition but that doesn't work either.


texts: What file contains my template definition?

texts:
I've just inherited a site that uses ExpressionEngine and CodeIgniter.  I'm very excited about it, but I've immediately found myself at a standstill.

I want to place a tracking script in the footer.  In the index file(and on all other pages), a call is made at the end to {footer} .

I don't have access to the CMS side of EE, so I'm just deep inside the cPanel looking through the template PHP files.   Where do I find the declaration?


texts: EE1 -> EE2 Upgrade; Updated Wygwam settings page error

texts:
As stated in the title, I'm in the process of upgrading a site from EE1 to EE2, and I'm encountering errors on Wygwam's settings page. This is almost identical to the issue Lisa raised, with the exception of the line number in error #3 being different.

Errors 1-3 are all above the CP menubar:

A PHP Error was encountered
Severity: Warning
Message: base64_decode() expects parameter 1 to be string, array given
Filename: wygwam/helper.php
Line Number: 40

A PHP Error was encountered
Severity: Warning
Message: array_merge(): Argument #2 is not an array
Filename: wygwam/helper.php
Line Number: 42

A PHP Error was encountered
Severity: Warning
Message: array_merge(): Argument #2 is not an array
Filename: wygwam/mcp.wygwam.php
Line Number: 302

Errors 4-6 are immediately below the "Wygwam" heading (the one with the pencil graphic on the right-hand side), above the Preferences table:

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: base
Filename: views/index.php
Line Number: 3

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: license_key
Filename: views/index.php
Line Number: 11

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: file_browser
Filename: views/index.php
Line Number: 28

The EE 1.7.1 site had Wygwam 2.6.3. The upgraded EE 2.5.5 site has Wygwam 2.7.


texts: Filter by entries starting with in Low Search

texts:
I have a Low Search form which I'm using to perform simple text searches with on a collection. However I would like to also include the ability to search for all entries beginning with a specific character (A, B, C etc).

MY existing Low Search results tag is as follows:

{exp:low_search:results
        channel="book_authors"
        default:orderby="title"
        default:sort="asc"
        query="{segment_3}"
        result_page="explore/library/authors"
        limit="20"
        }

How would I now pass to this results page a search string which will return all authors with surnames (field name {a_surname}) beginning with 'A' for example?

Update:

Thanks to the pointers from Low I got this working with the following code:

{exp:low_search:results
        collection="book_authors"
        default:orderby="title"
        default:sort="asc"
        {if get:search:a_surname}search:a_surname="^{get:search:a_surname}"{/if}
        result_page="explore/library/authors"
        limit="20"
        }


texts: The form you submitted contained the following errors

texts:
I am a new user of Expression Engine and the version I am using is 2.5.2 and whenever I try filling the contact us form unto submission, I have the following error.

Kindly note that CAPTCHA is not enabled and I dont know what else might be the problem.

Can you point me in the right direction?

Another issue is that, the CAPTCHA Image is not coming up.

While trying to save a change made under the CAPTCHA preferences, I got the error message below;


texts:
I am new to plugin/extension development in EE. I currently have an extension that creates a cookie and saves a value to it. What I want is on every page refresh this value to be updated.

Is there a way to have the extension run on each page refresh?


texts: safecracker hidden field status not working after upgrade (2.6)

texts:
    Select Employee

    {field:task_lead}
    <input type="hidden" name="status" value="open">

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

The above code is what i have currently in my template. now the hidden field for changing the status to "open" will not submit. Is there something different in safecracker with the new version.

Just upgraded from 2.6


texts:
I've got a Low Variables group setup called 'Widget sources'.

Inside this group I have 6 Low Variables, all Playa fieldtypes.

I've got some channel entries selected so there are relationship in the system...

I have a Matrix field type setup in a Channel field group which points to my Low Variable group. Multiple selections set to yes.

When I try to publish a new entry in my channel, and create a new Matrix row, my Low variable field type column is blank?

Should I be able to select something here?

What am I doing wrong?

See screenshots attached.

Thanks

Sean

Screenshots:

http://cl.ly/TphQ

http://cl.ly/TpNX

http://cl.ly/TqMd


texts:
I have a quotes channel, and right now I want to use a specific quote on a specific page of my webiste, so i'm using the code below with a conditional based on the url title.  Let's say down the road someone decides they want to change that quote and so they delete entry_id 21, and create a new entry.  Am I correct in assuming that a new entry would be given a new entry_id and would no longer display on that particular page?  If that assumption is correct, should I stay away from the type of code below?  maybe use url_title instead?

{exp:channel:entries channel="quotes" limit="1" disable="categories|member_data|pagination" entry_id="21"}
{/exp:channel:entries}


texts: Error: Undefined property: EE::$view in Filename: libraries/File_field.php (Line 618) EE v2.5.5

texts:
I have recently started to get the following error on a SafeCracker form in an ExpressionEngine v2.5.5 website.

A PHP Error was encountered
Severity: Notice
Message: Undefined property: EE::$view
Filename: libraries/File_field.php
Line Number: 618

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

The other than standard text inputs, this form also references WYGWAM, P&T Checkboxes, P&T Dropdown, VZ URL and Safecracker File. The form has worked fine in the past, so not really sure what the heck is triggering this error now.


texts: How to create a global variable inside config.php

texts:
I'm trying to build a simple config bootstrap for use in multi-server environments. I realise there are lots of config bootstraps around, but a lot of the popular ones seem a bit complicated for what I need (and feel comfortable with) at this stage. I'm currently using this for the database.php file.

I want to create a global variable (or another type of variable that can be used in the same way) inside the config.php file, and then be able to output it inside the templates - how would I go about doing this?

I've tried creating this and adding it to the config.php file:

$config['my_google_analytics_key'] = 'UA-XXXXXXX-XX';

But entering {my_google_analytics_key} inside my templates outputs {my_google_analytics_key} rather than UA-XXXXXXX-XX.

So I'm obviously going about this the wrong way, but I'm not sure what steps I'm missing. Thanks.


texts: Unable to Change Template Caching Preference

texts:
I am running into the strangest problem. I am unable to change template preferences on an EE site. I am a Super Admin, but when I click "Edit Preferences" and try to Enable Caching I get a dropdown at the top of the page that says, "You are not authorized to access this page".

Help! I’ve tried all sorts of things and can’t figure out what on earth is going on.


texts: Cartthrob not saving purchased items when order created

texts:
As the title states, when an order is placed, the order items should appear as entries in the Purchased Items channel but they do not.

The config is all set up as expected.

EE 2.7.2, CT Pro 2.4


texts: How to make jquery UI Tabs + Google Maps for ExpressionEngine play nice together

texts:
Anyone have any ideas how to make this work?

Here's my live test example.

My example demonstrates Google Maps (almost) in action within jQuery UI tabs. Notice that the maps don't fully initialize in each tab. I know there's lots of questions and answers on this issue out there, but none of them apply to the way Google Maps for EE does it's thing with Google Maps API v3.

Any help would be forever and greatly appreciated :-)


texts:
did everything as described in the docs on upgrading EE1 to EE2 and getting stuck around 2.1.4 and then this error comes up on the screen.  How do I upgrade to 2.6.1 from 1.7.3 without getting this error?

A Database Error Occurred
Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`wm_name` varchar(80), `wm_type` varchar(10) DEFAULT 'text', `wm_image_path` v' at line 3

ALTER TABLE `exp_member_groups` ADD `wm_id` int(4) UNSIGNED AUTO_INCREMENT, `wm_name` varchar(80), `wm_type` varchar(10) DEFAULT 'text', `wm_image_path` varchar(100), `wm_test_image_path` varchar(100), `wm_use_font` char(1) DEFAULT 'y', `wm_font` varchar(30), `wm_font_size` int(3) UNSIGNED, `wm_text` varchar(100), `wm_vrt_alignment` varchar(10) DEFAULT 'top', `wm_hor_alignment` varchar(10) DEFAULT 'left', `wm_padding` int(3) UNSIGNED, `wm_opacity` int(3) UNSIGNED, `wm_x_offset` int(4) UNSIGNED, `wm_y_offset` int(4) UNSIGNED, `wm_x_transp` int(4), `wm_y_transp` int(4), `wm_font_color` varchar(7), `wm_use_drop_shadow` char(1) DEFAULT 'y', `wm_shadow_distance` int(3) UNSIGNED, `wm_shadow_color` varchar(7), `id` int(10) UNSIGNED AUTO_INCREMENT, `upload_location_id` int(4) UNSIGNED DEFAULT '0', `title` varchar(255), `short_name` varchar(255) DEFAULT '', `resize_type` varchar(50) DEFAULT '', `width` int(10) DEFAULT '0', `height` int(10) DEFAULT '0', `watermark_id` int(4) UNSIGNED, `file_id` int(10) UNSIGNED AUTO_INCREMENT, `cat_id` int(10) UNSIGNED, `sort` int(10) UNSIGNED DEFAULT '0', `is_cover` char(1) DEFAULT 'n', `site_id` int(4) UNSIGNED DEFAULT '1', `rel_path` varchar(255), `status` char(1) DEFAULT 'o', `mime_type` varchar(255), `file_name` varchar(255), `file_size` int(10) DEFAULT '0', `field_1` text, `field_1_fmt` tinytext, `field_2` text, `field_2_fmt` tinytext, `field_3` text, `field_3_fmt` tinytext, `field_4` text, `field_4_fmt` tinytext, `field_5` text, `field_5_fmt` tinytext, `field_6` text, `field_6_fmt` tinytext, `metadata` mediumtext NULL, `uploaded_by_member_id` int(10) UNSIGNED DEFAULT '0', `upload_date` int(10), `modified_by_member_id` int(10) UNSIGNED DEFAULT '0', `modified_date` int(10), `file_hw_original` varchar(20), `can_admin_upload_prefs` CHAR(1) DEFAULT 'n' NOT NULL AFTER `can_admin_channels`

Filename: /home/user/admin/expressionengine/libraries/Smartforge.php

Line Number: 122

So I then remove all the new EE2 files and try and go back to EE1, I load my homepage and get this error:

Site Error: Unable to Load Site Preferences; Invalid Preference Data


texts: No longer able to login to the control panel

texts:
I'm having trouble logging into a site I'm building. I get no username/password errors when I try to login, but the cp login screen persists. exp_cp_log shows that I'm logged in.

EE 2.6.1

The last thing I did before I logged out was enable structure(3.3.8), although I'm not sure if that's the culprit.

Things I've tried:

clear cache
restart
different browsers
cleared the exp_sessions table
turned on dubug

No luck trying these solutions out either:

Login page returns to the login page, doesn't log me in?

Any ideas?


texts: is it possible to set and retrieve flashdata in sessions_start() hook

texts:
I'm attempting to set flashdata in the sessions_start() hook and retrieve it on the next page load. It does not seem to work although I am able to set_flashdata and then var_dump the session object and see the new flashdata variable, just not able to see it or retrieve it on the next page load.

Does anyone know if you can reliably set and retrieve flashdata within the sessions_start() hook?