texts: Manage update_cart and empty_cart in expresso store using transcribe

texts:
I'm using Transcribe v1.6.1 and Expresso Store v2.4.1 (EE v 2.9.2)
I'm using the empty_cart and update_cart inputs in one of my templates.  These work fine for the default English language but when translated they cause the page to redirect to the English language version.  I noticed that even though I have set my next parameter in {exp:store:checkout} on looking at the html output there is an input named RET which has the English url in it.

<input type="hidden" value="de/zur-kasse-gehen" name="return_url">
<input type="hidden" value="de/zur-kasse-gehen" name="next_url">
<input type="hidden" value="23" name="ACT">
<input type="hidden" value="checkout/basket" name="RET">
<input type="hidden" value="6" name="site_id">
<input type="hidden" value="2b4ace44ef575d89250020c6306c639ed284ae98" name="csrf_token">
<input type="hidden" value="CyYLdVppBWNaeQduVw4LbwhiCjAEdlooUiFTPQAqBGUBbFx3BD8BIwM9Xm0GIVMzUXoOZQNrC3hTNA45VXYKJ1UmATsJZAZ5BXMJclQ4XHELOQsyWlMFI1pxB3ZXIwshCGUKMAR2WihSZlMqAG8EZgFrXGAEPAEsA3leIAYhUz9RdA5/A3cLYlN3Dm9VdgpvVWEBCQkuBnsFcgkiVC9cOAs8CyRafAVpWiYHZFc0C2QIawo/BCdad1IhU3QAbQRgAXZcdwQ3AVEDNF5hBidTM1FvDmQDJws2U3cOLFUxCnhVJgF5CSMGcgViCTNUd1whCzgLCFp9BWlafwd2VyMLYggsCmsEJ1oiUmZTdAAqBC8BIVxgBDwBbQMnXnsGI1MuUWUObgNaC3xTNA4nVTUKZlV3AXcJOwYwBXo=" name="_params">
<input type="hidden" value="1" name="secure_return">

Does anyone know how to get this to play nicely with Transcribe?


texts:
I have the Solspace importer module working well using DataType: CSV Importer. However it won't import data into a custom field past a £ character. For example:

Data to import: Price Guide £300,000 - £315,000

After import, field contains: Price Guide

I've tried using both None and XHTML text formatting for the custom field.

Am I missing any settings? or do I need to encode characters before import?

(EE 2.10.1 and Importer 2.2.5)


texts: Categories not appearing in playa:children

texts:
One of the main templates on my site, the product page, has a single products channel entry, and up to 3 playa children (also products). I'm trying to get the categories for playa children. Here's my test code:

{exp:channel:entries channel="products" limit="1" status="open|wide|feature|glory"}

Main Product: {title}

    {exp:playa:children field="also_like" status="open|wide"}

{title}

Age: {categories show_group="5" limit="1" note="age range"}{category_name}{/categories}

Env: {categories show_group="6" limit="1" note="environment"}{category_name}{/categories}

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

Another page manages to display the categories, but it's directly from the channel:entries tag, rather than going through the playa:children.

Any help appreciated.


texts:
When using the paypal sandbox with store, what do I put in the store settings fields for the paypal gateway?

I have obtained my paypal credentials for running live, but to test with the sandbox, do I have to have another set of credentials for my paypal developer account?


texts:
I wondered if anyone could suggest the best direction to take for this site.

The site is mainly a site with members profiles.  Members will add a profile and others will search through their profiles.  The members will fill out a short form with bio/contact/ and other information.

IS it best to have everything in member fields using something like Solspace User or have a simple member form and have all the content in a channel entry?

What sort of things do I need to consider in making this choice?  I will want to be able to sort and filter the members profiles with items such as categories etc.


texts: I've been tasked in researching whether CT is capable of multiple downloads. For example, if someone adds a CD to their cart and two, separate MP3 files. When the person checks out will the two MP3 files be available for download or can only 1 file be available? I can probably run this through to test it out but thought I would see if anyone knows before spending a few hours testing.. Thoughts?


texts:
I have a potential website project that I may be working on that is currently built with Wordpress. The site uses Gravity Forms with the Authorize.net plugin to allow customers to pay invoices. They can use a single form to make a one-off payment or they can create an account and have their information saved for future payments. All credit card and personal information are stored with Authorize.net.

I will be rebuilding the site with ExpressionEngine 4 and need to recreate the functionality mentioned above. Without having to learn the Authorize.net API and building something from scratch, are there any existing plugins for EE that could make the above happen relatively painlessly.

Thanks for any help.


texts: EE Entry will not save when Playa relationship is searched for relationship

texts:
The most bizarre thing has just started: When either creating or updating an entry with a playa field and I use the built-in playa search for the relationship, the EE entry will not save (returns to CP).

BUT, when i scroll through the relationships and select the related entry (without touching anything else) the EE entry will save.

This just began happening. EE 2.7 Playa 4.4.5

Any thoughts on why this would be occurring?


texts: Channel Videos not outputting entry data

texts:
I'm trying to load videos in a standard channel but the videos are not outputting

{exp:channel:entries channel="videos" disable="categories|category_fields|member_data|pagination|trackbacks" limit="1"}
    {exp:channel_videos:videos entry_id="{entry_id}" limit="1"}
      {video:service_id}//not working
      {video:embed_code}//not working
    {/exp:channel_videos:videos}
    {page_content_video}//working
{/exp:channel:entries}

Version 3.2.0, EE 2.10.1


texts: solspace calendar: attach status or category to date specific date inside event

texts:
Is it possible to attach separate statuses, categories or some sort of unique hook to each date inside the same event when using solspace calendar?

I'm trying to use this for a theater, and the client wants to be able to label dates with stuff like "sold out", and "free" and so on. But these labels have to be attached to a specific date inside the event, not the event itself.

Possible?


texts: Use Channel Entries Search to Search Grid Field?

texts:
See: Use channel search parameter with grid fields

The answer suggests that there is no way to search for grid field values. Is this still the case until now?


texts:
Let's say I have a membership site, and my login page & form are served with SSL: https://mysite.com/member/login.

<form action='https://mysite.com' method='post' class='login'>
    <!-- login form inputs -->
</form>

The user logs in and EE sets a cookie so she remains logged in. It also sets some other cookies to track some other stuff about her. But then the member navigates to my homepage which is not served over SSL: http://mysite.com/

Are the user's membership cookies now susceptible to being intercepted because they're not being sent over SSL? If they are intercepted, can they be used by a baddie to cause trouble on my site?

Ultimately, should any site with front-end membership functionality use SSL on every page, not just pages with sensitive data & forms?


texts: Upgrade to EE2 - Playa content not displaying

texts:
I just upgraded a large site from EE1 to 2.6.1 and to Playa 4.4.3. The site was previously using Solspace's Related Entries, and Playa seemed to have converted these successfully - the related entries appear in the Playa field in the Edit Entry forms. However, they do not appear in the front-end templates.

I assumed this was my syntax error, but in fact any newly created entries do display their Playa content in the template as expected, and if I re-save an old entry, its converted Playa content also displays fine.

{exp:playa:children field="news_field_group_related_entries"}

{title}

 {/exp:playa:children}

and

{news_field_group_related_entries limit="10"}

 {title}

{/news_field_group_related_entries}

both work.

There are several thousand entries so not realy practical to update each one manually. And it's a busy live site so I don't want to try anything too radical. What can I do?


texts: Save images from folder location to entry

texts:
I want my users to upload and crop images, when creating a new entry using Channel Form.

I'd love to use Channel Images for all of my photo management, but since I'm not happy with it's crop tool - which is way too cumbersome for my clients - I want to integrate an external cropping solution.

Now, I'm able to save cropped images to a folder on the server, but how can I assign those images to the entry being created?

Currently I'm thinking about grabbing the URL of the saved image and putting it in a hidden field during the entry creation process, but I'm not quite sure, how to do this in practice.

I've also purchased Photo Frame, but it's not a real replacement for Channel Images and it doesn't seem to be in active development any longer.


texts:
I am trying to display a video and beneath it a series of related videos.

All video are currently separate entries in the video channel.

In another channel, "video_courses" I am using a relationship field to collate all video that belong to that course.

At present I can get the video to display and a list of related videos but it shows all videos and is not restricted to just the related videos.

How can I get the list to honour the relationship.

Current code:

{exp:channel:entries channel="videos" limit="1"}

{title}

{exp:channel_videos:videos entry_id="{entry_id}" prefix="cv" limit="1"}

{cv:embed_code}

{/exp:channel_videos:videos}
{/exp:channel:entries}

{exp:channel:entries channel="video_courses" disable="categories|category-fields|member-data|pagination" dynamic="no"}
{related_videos}
{exp:channel_videos:videos prefix="cv" entry_id="{related_videos:entry_id}"}

{cv:title}

{/exp:channel_videos:videos}
{/related_videos}
{/exp:channel:entries}

Any help appreciated.

N


texts: Modify the 'forgot password' email template

texts:
When a user fills a 'forgot password' form, he or she receives an email like this:

username,

To reset your password, please go to the following page:

[link to reset password]

Your password will be automatically reset, and a new password will be
emailed to you.

If you do not wish to reset your password, ignore this message. It will
expire in 24 hours.

Works well for me, except my site is in french. Where is this template or where can I change it?


texts: I'm trying to upload a favicon to EE, but it says the .ico file type is not allowed

texts:
I am not a developer- but I want to upload my favicon to my EE site.  Which file folder (Content, Base Images, General Content, Gallery Images) should I upload it to?
Is this the proper way to upload the favicon?


texts:
I want to show or hide the status option based on the current status in a safecracker form. This because i want that people can edit statuses form entries which are open or closed, but not the one who are denied.

So far no success because safecracker doesn't like the IF statement, i think i can do it with jquery but is there a good EE solution to get the result i want?

{exp:safecracker
     channel="nieuws"
     return="profiel/nieuws"
     entry_id={segment_3}"
     author_only="yes"
     error_handling="inline"
     status="open|closed|denied"}

{if status=="denied"}
    Can't change the status
{if:else}
    <label for="status">Status</label>
    <select name="status" id="status">
        <option value="open">Open</option>
        <option value="closed">Closed</option>
    </select>
{/if}


texts: Nested html tabs and playa fields please help

texts:
I now want to create a second set of pill tabs  based on a playa list called up  within the first channel entry (called "nwt_2cd_order_location") I am using Zurb Foundation's mark up for responsive design and it worked on flat pages.

The child in a playa list would be (called "3rd_order_under") and from that list i want to add content from that child. This all works pretty good until the user chooses a different selection under the first set of tabs (nwt_2cd_order_location).  It does not update the second set correctly (3rd_order_under).

If thats not enough, once that works i would like to add another playa list (no tabs this time fortunately) in the content derived from a playa list inside (3rd_order_under) called {4th_order_under_3rd_order}. Can you call up a playa list three tier deep?

So if any one here has any suggestions I sure would appreciate it.

Thanks
Eric

The page

http://niwot.colorado.edu/index.php/location

My simplified code:

<div class="twelve columns" style="padding-top:20px;"&#62;
  <dl class="tabs pill"&#62;
    {exp:channel:entries channel="nwt_2cd_order_location" limit="10" sort="asc"}

 {title}&#60;/a&#62;

    {/exp:channel:entries}

          {exp:channel:entries channel="nwt_2cd_order_location" limit="10" sort="asc"}

                  {summary}

            {if 3rd_order_under}

Locations within {title}

            {/if}

           {exp:playa:children field="3rd_order_under" limit="25" sort="asc"}

{title}

          {/exp:playa:children}

     {exp:playa:children field="3rd_order_under" limit="25" sort="asc"}

                   {summary_3rd_order}

                   {!-- nothing I've done here works
                   exp:playa:siblings entry_id="{4th_order_under_3rd_order}" parent_id="3rd_order_under"}
                   {4th_order_under_3rd_order}
                   {/exp:playa:siblings}
                   --}

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

the additional tab selections just stack on top each other instead of replacing the previous selection.


texts: WAMP: Properly configuring image paths on local server

texts:
I'm using ExpressionEngine to build a site, and have a development version running locally via WAMP. Within the root "www" folder, I have an "ee" subdirectory that acts as the root of the development site. There is an "images" folder directly within "ee" that contains all images for the site. On the live server, the image paths require "/images/...", however on my dev server, if I use the same path it will map to "localhost/images/..." not "localhost/ee/images..." and therefore result in broken links.

I'm wondering if there's an adjustment I can make to the .htaccess file to get the links mapping properly on my local server? At this point, in order to get images to show, I need to use "images/..." which will, in turn, not work on the live server.

Thanks for any assistance here.


texts: PHP not processed when Stash parses conditionals in the same template

texts:
I've got a template with PHP enabled and set to On Output, and any PHP at all is getting commented and printed, without being processed, in the HTML.

Template (simplified):

{embed=".header"}

{exp:stash:set name="some_value" parse_conditionals="yes" parse_tags="yes"}{if 'something' == 'somethingelse'}y{/if}{/exp:stash:set}

    <?php echo 'foo'; ?>

{embed=".footer"}

Output:

    <title>Oh the Confusion</title>

Other templates use Stash and conditionals, many use PHP, and this is the only one that combines both Stash (parsing conditionals) and embedded PHP. Caching is not an issue here. This looks like a friendly, intentional thing since the PHP obviously isn't plainly visible to the viewer, but why is this happening?

ExpressionEngine 2.5.5 with a bajillion addons that I can list if it's helpful.

Note: I've simplified my question after figuring out how to ask it better with the help of Lisa Wess. This one seems brief and cheeky because I'll be answering it myself for posterity.


texts:
I've built a plugin that runs on a page & pulls data from a get variable in the URL.  Page URIs look like '/page&foo=bar'.  That's working perfectly.

I've also built pagination into my plugin, since I have some large datasets outputting.  That also works perfectly on it's own.

The problem is that when I have a Get variable in the URL my pagination links don't account for it.  Is there a trick to getting an add-on to recognize Get variables in the URL?  I can provide some example code if needed, but I suspect there's something obvious I'm missing here.


texts: Why i'm getting only one entry on Gmaps map?

texts:
This is my code:

{exp:gmaps:init}

{exp:gmaps:geocoding width='100%' height='100%' marker='yes' map_types='roadmap|terrain' map_type='Hybrid' scroll_wheel='yes' zoom_control='yes' pan_control='yes' map_type_control='no' scale_control='yes' street_view_control='yes' address_format='[city]' div_id='mymap'}
{address}
{exp:channel:entries channel='travels' disable='categories|member_data|pagination|trackbacks' dynamic='off' cache='yes' refresh='512640' orderby='date' sort='asc'}
{scheda_del_viaggio orderby='city' sort="asc"}{city}|{/scheda_del_viaggio}
{/exp:channel:entries}
{/address}
{marker:html}
{exp:channel:entries channel='travels' disable='categories|member_data|pagination|trackbacks' dynamic='off' cache='yes' refresh='512640' orderby='date' sort='asc'}
{scheda_del_viaggio orderby='city' sort='asc'}

[location]

{title} - {travel_check_in format="%d %F %Y"}
|
{/scheda_del_viaggio}
{/exp:channel:entries}
{/marker:html}
{/exp:gmaps:geocoding}

I dont understand why I'm getting only one entry title for the channel 'travels' on my map..


texts: Track one-time GA event for new user registrations

texts:
On the face of it this seemed like it would be something simple to implement, and a common requirement given how important a metric it is, however after a lot of searching and work around ideas this seems to not be the case (I would like to avoid writing a custom plugin for something so basic).

Can anyone offer suggestions on how to do this simply (no hopping through meta redirects) and keep it strict? Or maybe there is a plugin I have missed? The registration system in question is using zoo_visitor and does not require email authentication.

Thank you.


texts:
I'm displaying a list of Channel entries in a "search results" page. Each item has a link to a "details" page. Right now, my URLs look like this:

domain.com/products/1/
domain.com/products/2/
domain.com/products/3/

I'd like to encrypt the entry ids when I generate the links in the search results page. In the details page, I'd like to decrypt that when I pass it as a param to {exp:channel:entries}. Is there a way to do this natively in EE? Or is there an addon that'll do this for me? Or should I enable PHP in the templates to make this happen? (other members will not have access to EE's CP, only the admin).


texts:
I have been trying to add a channel field where I can allow the user to upload files with ease especially PDF files. I just bought the "Channel Files" module but I cannot get it to work for me. The problem is that I cannot see the files on the page where i'm trying to upload the files. It seems to work perfectly fine on the publishing page and I am able to upload files there. I think I just didn't get the code right on the template.

     {exp:channel_files:files channel="news" field="section"}
     {file:title}
     {/exp:channel_files:files}


texts: PHP Issue: To execute another ur using PHP function file()

texts:
I have a PHP CRON script that use to execute the external url using the code below every 5 minutes:
echo file("https://...");
This line of code is not working after i upgrade my server from VPS to Dedicated Server.
Is that anything to do to the WHM tweak, firewall, or security?


texts:
I'm trying to use regular expressions with the new template routes in ExpressionEngine 2.8. I have little experience with either.

Using the Template Route Manager, I'd like to route multiple URLs to a single template:

domain.com/workplace-coaching/
domain.com/workplace-coaching/{url-title}
domain.com/personal-coaching/
domain.com/personal-coaching/{url-title}

Problem is, I don't know how to specify segment_1 == 'workplace-coaching' OR segment_1 == 'personal-coaching' using the Template Route Manager.

I'm assuming I need to call upon the Regular Expressions feature so have tried

{variable:regex[(workplace\-coaching|personal\-coaching)]}/{url_title}

Whilst this works, for the urls above, it also seems to match other urls. For instance domain.com/blog now routes to same template as the above urls.

I suspect my Regrex is wrong, and is matching too many options including blog, however don't know how to fix it.

Any insights would be appreciated.

Thank you.


texts:
I've got a playa field that pulls data from a few entries. I'd like to sort all the results alphabetically. However right now it returns each entry and then alphabetizes each. So I get something like:
Apple
Banana
Cabbage
Alfalfa
Broccoli
etc

My code:

{exp:channel:entries channel="somechannel" site="default_site"}
{exp:playa:children field="playafield" orderby="title" sort="asc" site="default_site"}
    <li>{title}</li>
  {/exp:playa:children}
{/exp:channel:entries}


texts: Can Super Search search categories in a matrix fieldtype?

texts:
Let me start out by saying that I am using Super Search 2.1.3 and on EE version 2.7.3.

Here is my problem. I have a channel for each product I'm selling. Each product has a Matrix field that can have several "variations" on that product and is really the meat of the data about the product itself. For instance, let's say the product is a particular table for this example. The variations for that table would be "Solid Top Table" and "Extension Table". Each variation would have a series number, product number, dimensions, categories etc. I'm using WB Category Select (1.3.5) to simply associate my categories with each matrix row, which is the important part because it's what my question is all about.

Can I use Super Search to search for the categories associated with each Matrix row for that product variation and, essentially, the product as a whole?

From what I've read this does not seem possible, however if someone has any ideas it would be greatly appreciated!

Thanks!


texts: Robots.txt is not found when placed in web root: where to place?

texts: What would be the correct place to put my robots.txt file? In wordpress i was used to putting this in the web root but in EE this doesnt seem to work, when opened in webbrowser i get 404 error.


texts: Synchronize Templates Show No file exists

texts:
(EE 2.5.5) All of a sudden making changes to the template files stopped getting inhaled into the app. The changes are on the server, but they're not showing up on the rendered pages. I'm guessing that EE is no longer using the files, but rather the databased versions of the templates. This is borne out when I go to the Synchronize Templates page in the Control Panel: all the templates have "No file exists".

Is there some configuration setting that got mangled along the way? Any other magickal invocations to aid this along?

Update: "Design > Templates > Global Preferences > Basepath to Template File Directory" is set to our production server, though it should be set to our staging server path. When we try to update it, it says it accepts the change, but going back to the page shows it's still set to prod.

Any help appreciated.


texts: Expression Engine Categories - Only super admin can change category on edit entry screen

texts:
I want to be able to give content members on my site the ability to choose which category an article should be listed within but at the minute only the super admin has this ability.

I've looked through the member group permissions and tried various options but nothing is working.

Thanks


texts:
I have set up a site for booking various conference events with each event represented by a product.

I am trying to output the booking options (set by the item_options) for each event.
The following works but with a couple of problems:

    {exp:channel:entries channel="orders"}
{if first_item}
Order ID	{item_options}{option_label}    	{/item_options}
{/if}
    {exp:cartthrob:order_items order_id="{entry_id}" entry_id="{8647}"}
  {if first_item}
Order ID	{item_options}{option_label}	{/item_options}
{/if}

{order_id}	{item_options}{option_value}	{/item_options}

    {/exp:cartthrob:order_items}
    {/exp:channel:entries}

I am encountering two issues:

The table heading is appearing for every row
The out put works ok if the item entry id is set directly (ie in this case 8647) but I would like to be able to allow the user to select an event on another page and have the entry id fed to the results via a segment. The following code does not work:

{exp:cartthrob:order_items order_id="{entry_id}" entry_id="{segment_3}"}

Any help would be much appreciated! Thanks

EDIT: I managed to get the table header sorted by ysing the following code.

{exp:cartthrob:order_items entry_id="8646"}
     {if item:first_item}

        entry_id
        title
        {item_options}
            {option_label}
            {/item_options}

        {/if}

        {entry_id}
    {title}
    {item_options}
    {option_value}
    {/item_options}

     {if item:last_item}

                  {/if}
    {/exp:cartthrob:order_items}

The Issue of not being able to output a specific list of order items using the  entry_id="{segment_3}" still remains.


texts: I don't want users to enter {title} field

texts: My channel has a few required fields. I want to use those required field to dynamically build the {title} instead of having the user enter it. Is there a way for me to, say, user {first_name} and {last_name} (the required fields of my Channel) as the title?


texts: Best method to split module mcp file into multiple files

texts: We are developing a module and the controller mcp file has become quite large. I wondered if there is a best practice for splitting this into multiple files. It's a collection of methods in the class our module_mcp class, so can these be split out into other files somehow? Multiple controllers instead of one? We could use the include() method in PHP but doesn't seem it would be the best practice to do this.


texts:
Does anybody have a sample shipping plugin for Store 2?
The only one I have is for 1.5 and the documentation isn't very helpful.

Thanks in advance,

Cole


texts:
The screen_name member field is limited to 50 characters in the CP...is there a way to increase this? We have some company names for Screen Names that are longer than 50 characters.

Thanks!


texts: Solspace Rating - where do rating comments go?

texts:
I'm using Rating:Comments and Rating:Comment_Form for the first time. I've successfully set up the form and comments display loop, and submitted my first test comment. I'm submitting comments with a "closed" status status to I can approve them before they show up.

My question is, where do I find these comments in the EE CP so I can moderate them and change their status to open?

They are not listed anywhere in the Rating module tabs or as regular EE comments! Am I missing something?

I've made my comments loop display closed comments and I can confirm the comment was saved and shows up there. So it's there somewhere I just don't see any part of the user interface that allows me to see the comment or change its status.

EE 2.7.2
Rating 3.2.3


texts:
I have built an extension using the freeform_module_insert_end hook according to Solspace Extensions documentation as I want the form to redirect to a custom url including a unique hash - but for some reason I cannot get the hook to fire. I have pasted the code below:

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * Freeform Redirect Extension class
 *
 * @package        freeform_redirect
 */
class Freeform_redirect_ext {

    var $name            = 'Freeform Redirect';
    var $version         = '1.0.0';
    var $description     = 'Redirect to custom url';
    var $settings_exist  = 'n';
    var $docs_url        = '';

    var $settings        = array();

    /**
         * Constructor
         *
         * @param   mixed   Settings array or empty string if none exist.
         */
        function __construct($settings = '')
        {
            $this->settings = $settings;
        }

    /**
     * Activate Extension
     *
     * This function enters the extension into the exp_extensions table
     *
     * @see https://ellislab.com/codeigniter/user-guide/database/index.html for
     * more information on the db class.
     *
     * @return void
     */
    function activate_extension()
    {
        $this->settings = array(
            'max_link_length'   => 18,
            'truncate_cp_links' => 'no',
            'use_in_forum'      => 'no'
        );

        $data = array(
            'class'     => __CLASS__,
            'hook'          => 'freeform_module_insert_end',
            'settings'  => serialize($this->settings),
            'priority'  => 10,
            'version'   => $this->version,
            'enabled'   => 'y'
        );

        ee()->db->insert('extensions', $data);
    }

    /**
     * Disable Extension
     *
     * This method removes information from the exp_extensions table
     *
     * @return void
     */
    function disable_extension()
    {
        ee()->db->where('class', __CLASS__);
        ee()->db->delete('extensions');
    }

public function freeform_module_insert_end($inputs, $entry_id, $form_id, $obj)
{
    if ( ! $obj->edit AND
         ( ! $obj->multipage OR
            ($obj->multipage AND $obj->last_page)
         )
    )
    {
        $obj->params['return'] = 'thank-you/'.ee()->input->post('unique_hash');
    }
}

    // --------------------------------------------------------------------

} // End Class Freeform_redirect_ext

/* End of file ext.freeform_redirect.php */


texts: New site created without any structure or channels

texts:
I'm running an EE 3 install using multiple site manager. When clicking create new site, I can create a new site and name it properly, but it is not importing the channels and field groups from the previous site, nor am I getting any sort of option to import/duplicate/copy them.

I've spent time researching the problem and the nearest I can come is that in EE 2, you were given the option to select which items to duplicate when running MSM, but in EE 3 and beyond, it simply duplicates the site that you currently have selected. Is this untrue or is there some step I'm missing to allow me to duplicate the channels and structure of the other site?


texts: All External Assets Sources Display on MSM Site

texts:
I have several S3 external sources set up with Assets on an MSM site. Some sources are for Site 1 and some are for Site 2. However, when I go to the Assets file manager on Site 2, the external sources for Site 1 display also. Same for vice-versa.

EE 2.7.2
Assets 2.2.2


texts:
Ok, my site is made up of Cities and Properties within each city.  The usual flow is on the homepage there is a list of Cities, you click a city and it goes through to a City view which will then have a list of Properties, to which you can click through to a Property view.

Well some of my Cities only have 1 property, so I would like the link from City to go directly to the Property view, not the city view.

{exp:channel:entries channel="city" dynamic="no" orderby="city_sort_order" sort="asc"}

{title}

                {/exp:channel:entries}

Any advice?


texts: Retrieve Assets file data from custom module

texts:
I'm writing a custom module that's going to need to retrieve channel data using a direct database query.

One of the custom fields is an Assets image and I need to get the full image URL and alt_text in the most efficient way possible.

Is there a "best practice" way to get all this data out of Assets when armed with an entry ID and custom field ID? In pseudo-code I'd quite like to do this:

$assets = new Assets;
$file = $assets->getFileData($entry_id,$field_id);

$url = $file->url;
$alt_text = $file->alt_text;

Alternatively I could JOIN the necessary tables in my query but it looks like there would be quite a few.


texts: Default to no styling images in EE's Rich Text Editor

texts:
Is there a way to disable the Rich Text Editor from adding styling to images that are inserted into the field?  I am specifically referring to use of the RTE in the administration portal.

For example if I add an image it automatically has:

Is there a way to have it default to just showing:

Thanks!


texts: Expression Engine doesn't save changes when I click the Submit/Update button

texts:
Fairly regularly, when in the admin panel editing a template, creating post content, or even creating a channel entry - when I click the Update or Submit button it takes me to the admin panel home page and none of my changes have been saved. This happens several times a day. I have 3 different EE installs that I've tried from several computers and have the same problem on all three. One of the EE installs is completely vanilla with zero add-ons.

As a new EE user, I am really liking it except for when this happens because it eats up my time tremendously. Has anyone in the EE community had an issue like this before, or better yet have a solution?  Thanks!


texts: How to highlight 10 most recent entries from a channel?

texts:
I'm trying to find a way to highlight the 10 most recent entries within an alphabetically sorted list of entries from a particular channel.

I don't wish to change the order of the entries, just have the ability to put some custom markup around the most recent ones.

Is there a simple way to do that or am I going to need to use a custom query instead of using channel:entries tag pair?

I'm currently thinking along the lines of having to do a query to get the entry IDs of the most recent 10 entries, storing those entry IDs and comparing them to the entry IDs when outputting my full list.

There's got to be an add-on for this though right?!


texts: Trying to output first_page and last_page pagination links when there's less than four pages

texts:
I've been having problems getting the first_page and last_page pagination links to work correctly. I then spotted a user comment in the docs that said they only appear if there's four or more pages (though I hoped this just applied to the auto-generated pagination_links variable). I'm trying to output them at all times and thought the pagination variables would give me that flexibility.

I've inserted my code below - can anyone see if I'm doing anything wrong here? Or is there another way to be going about this? Or is it by design or a bug that the first_page and last_page only work when there's four or more pages? The links do indeed work when there's 4 or more pages.

{paginate}
  {pagination_links}

First

Previous

Page {current_page} of {total_pages}

Next

Last

  {/pagination_links}
{/paginate}


texts: Is there a way to embed a page within another page?

texts:
I'm not talking about embedding another template.

I'd like to embed all the child pages of a parent within the parent (for incredibly convoluted reasons).

I'm using Structure if that helps.

Using {exp:channel:entries entry_id="{structure:child_ids}" fixed_order="{structure:child_ids}"} I can get all of the child IDs that I need... I was hoping that something like {embed="{page_uri}"} would do the trick, but alas.

Any ideas?


texts:
Instead of developing something from scratch is there any existing commerce kind of add-on that could speed up integrating FoxyCart and members? There are no products, codes, categories, or anything else in my EE yet so how that gets put into EE can be completely subjective at this point, too. I haven't really touched anything asides from the Simple Commerce Module in EE 1.6.x.

For those of you not familiar with FoxyCart it basically does not assume anything about your e-commerce, it doesn't hold products, but it does create customers invisibly on its end (you can use their API/DataFeed to communicate from your end and/or to receive updates on their end). It keeps track of transactions and can make recurring subscriptions regardless of your merchant gateway. You provide FoxyCart with all the information based on your cart/checkout, such as products, discounts, coupons, categories, you make it all up (can be done securely so the data can be determined to not have been tinkered with) and FoxyCart will present your user with a cart, checkout, etc. It's completely open-ended so you can make your own user experience as you please.


texts:
Is there an way to override the $_body in the email hook 'email_send'. I cant find a way to modify the raw body and not the $_final_body.

Rein


texts: How do I write a conditional based on search results?

texts:
I have a section set up to display contents based on category URL information and it works great. However, when I do a search, the search result URL has a unique value in segment_4 that doesn't fit into any of the designated categories:

  http://rouviere.com/photo/image/fall-colors-alpine-loop-utah9/5918ab43c62403abdef86474b6228f32

In this case I would prefer to hide the conditional content, but I am not sure how to work that segment_4 value into a conditional since it will change with each search return.

I am thinking along the lines of only display the content if segment_4 is not a number.


texts: Is there a way to get the list of languages in the frontend?

texts:
In the control panel, if you go to

Admin ->  General Configuration

there is an option for setting the default language. The select dropdown contains the list of languages that are supported.

Is there a way to get this list of languages either in the templates or inside a plugin function?


texts: Does anyone know of a good online appointment solution? It would be for a salon so they would need to be able to book an appointment in 15-30min intervals.  I looked at rEEservation but it looks like that one only handles full days. Any help will be appreciated. :)


texts: Emails not being sent to CC or BCC recipient in Postmaster

texts:
I've created a parcel in Postmaster (1.2 beta, build 1.1.99.4), and I want to send a copy of the email to an admin email address (in addition to the intended recipient in the To field).

But when entering a hard-coded email address into the CC (or even BCC) field, I'm finding that the email never gets sent to that hard-coded recipient.

The email does get sent to the recipient in the To field though, and in that email, the hard-coded email address does appear in the CC field. But if I look at the email account for the email address in the CC field, no email is there, or even in the spam folder.

I've used different email addresses but the same thing happens. If I have an email address in the To field, and another in the CC or BCC field, then I'm expecting the email to be sent to two different recipients. But it appears that only one recipient is being sent the email. Can you think what I'm doing wrong here? The email service I'm using is ExpressionEngine.


texts:
Hi I use Channel Ratings with comments on my website, but lately I'm receiving 'spammed'   ratings with comments about viagra!!!
Do you have a way to prevent this from happening??

Best regards

Dave@Daliz


texts:
A development installation has been set up for me that has cloned an existing site. However, the .htaccess file no longer works to remove index.php.

Could this be because there is a dot in the URL? If so how can I fix it?

So the URL is formatted like this http://www-dev.domian.com/

And the htaccess file like this:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{HTTP_HOST} !www-dev\.domian\.com/$ [NC]
    RewriteRule ^(.*)$ http://www-dev\.domian\.com/$1 [L,R=301]

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

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php?/$1 [L]
</IfModule>


texts:
Trying to put the Playa children results into a parameter of a plugin to pass as metadata.  First tried this, but it passed the tag itself.

{exp:channel:entries}
    {matrix_field}
    {asset_field var_prefix="abc"}
        {exp:myplugin:plugin artist="{exp:playa:children backspace='2'}{title}, {/exp:playa:children}"}
        <audio src="{url}">
        {/exp:myplugin:plugin}
    {/asset_field}
    {/matrix_field}
{/exp:channel:entries}

So tried the parse="inward" technique, but for each result/relationship it repeated the {url}:

{exp:channel:entries}
    {matrix_field}
    {asset_field var_prefix="abc"}
    {exp:playa:children backspace="2" parse="inward"}
            {exp:myplugin:plugin artist="{title}"}
            <audio src="{url}">
            {/exp:myplugin:plugin}
    {/exp:playa:children}
    {/asset_field}
    {/matrix_field}
{/exp:channel:entries}

(added based on comment)  This returns blank for that parameter:

{exp:channel:entries}
    {matrix_field}
    {asset_field var_prefix="abc"}
        {exp:myplugin:plugin parse="inward" artist="{exp:playa:children backspace='2'}{title}, {/exp:playa:children}"}
        <audio src="{url}">
        {/exp:myplugin:plugin}
    {/asset_field}
    {/matrix_field}
{/exp:channel:entries}

So how can the Playa tag be parsed before the plugin runs?  Stash or Low Variables approach?  I've never really used them so an example would be super helpful!


texts:
My client has created a link to an entry within a Wygwam field, and we also have a link to the same entry as a Playa/relationship link.

The Playa/relationship link is working fine. In the Wygwam field, we see:

http://staging.domain.com/reference-item/auto_replace-100

I suspect I know what's going on, that something changed with this entry and the Wygwam field wasn't updated. I've looked in the Source view, and that's the value stored there as well.

What's the best way to correct this? Just update such links in the Wygwam field? Or is there a better way to cover this?

We're also using Title Master to generate URL Titles from a few different fields in the entry being referenced. An update may have broken something on that end. I'm aware of a few issues on that front that we need to work through as well.

(May be related to MX Title Control + Structure)

Thanks!


texts:
I want to uninstall Structure on a site. The navigation rarely ever changes, so a dynamically generated menu isn't necessary; the people maintaining the site have some knowhow, and content is used in multiple places; and finally, I want to use EE's inbuilt Pages module but I don't know that I can with Structure installed.

Other than hardcoding the navigation, and then making sure to set all "static" pages as Pages, what else do I need to do, to uninstall Structure?

I'm running EE 2.5.3, Structure 3.3.6.


texts: Anyone know how to sell CartThrob Credits?

texts: I just love asking stupid questions, but I'm on a deadline and can't find any documentation on how to enable users to purchase CartThrob Credits. The description says you can, and I suspect it's really obvious, but I'm stumped.


texts:
Now that SL MailChimp Subscribe is no longer in development*, is there an alternative that I can use to sign-up members to a MailChimp list?

*The extension throws a Javascript error for EE2.9.2


texts: Output the value of field1 * field2 within an entries loop

texts:
I have a template that outputs a csv, php is set to run on input to allow headers to be set.

For each row I need to calculate the result of 2 fields multiplied and output this as a field to the csv.

Are the field values available in PHP?

Or is there another way to mulitply 2 fields in an entries loop?

<?php
$csv_ids = $this->EE->input->post('csv_id');

header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=stock_".date("d_m_Y_H_i").".csv");
header("Pragma: no-cache");
header("Expires: 0");
?>
CODE,field1, field2
{exp:channel:entries channel="stock" limit="10000" entry_id="<?=$csv_ids?>"}
{code},{field1},{field2},{field5}
{/exp:channel:entries}

I need 'field5' to be the result of multiplying 'field3' by 'field4'.


texts: How to tell what page I am on inside a template?

texts:
Is there a variable I can use to determine that name of the template that is currently being accessed/displayed? For example, if I have a /pages/home/ template, inside the home template I'd like to know it's called "home". Possible?

I plan to use this variable for the following:

assigning an id to the <body> tag
determining if the navigation is "active" or not (it's active if user is on the page where the navigation points to)


texts: Safecracker and RTE: html is double encoded or something?

texts:
playing a bit with 2.5.5, I tried to create a Safecracker form with a RTE field. But when I edit an existing entry in this form, the HTML is displayed as HTML in the RTE box (see below), like if the content were double encoded or something.

How can I solve that?

[EDIT]: Little precision, this only happened with content saved from the control panel. Entries created or edited with the Safecracker form are correct (no html tags in the RTE).

[EDIT-BIS]: It is probably a bug, I posted it here: https://support.ellislab.com/bugs/detail/19157


texts:
I was looking at this website:
https://mobirise.com/bootstrap-template/blog.html

It's a blog page that has interesting diversity on each blog entry. I'm wondering how I can build something similar in EE. Is it possible to create a field where the user can pick from posting a video, a gallery or slider on every blog entry? If so, how?


texts: How to set exp:channel:entries tag to no limit?

texts:
Based on this link in the documentation, the default limit is 100 if it is not defined.

How do you set it so that it will not have any limits?


texts: How to add a placeholder attribute to a Matrix cell in a SafeCracker form

texts:
I'd like to add a placeholder attribute to a textarea Matrix cell in a SafeCracker form (so I can add some placeholder text to the field that says, 'Add your feedback here...'), and I'm using EE 2.5.5 and Matrix 2.5.6.

I don't want to hack any of the Matrix files to do this, so was hoping someone might have used a JavaScript solution for this previously and be able to share the code.

Here's the front-end output for this particular Matrix cell, and the entire Matrix field is surrounded by a div with an ID of cf_amendment_details. Thanks for any help with this.

<textarea class="matrix-textarea" name="cf_amendment_details[row_new_0][col_id_19]" rows="1" dir="ltr"></textarea>


texts:
Someone named Yoshi Melrose wrote a plugin for EE1 called "onthisday" which I'm using on my EE1.7.1 sites. I'd like to migrate those sites to EE2 and this functionality is a key requirement. I'm trying to locate a replacement plugin or find someone interested in migrating the EE1 plugin.

The plugin is really cool for blogs. It allows you to create a link to posts that were made "on this day" (or a date of your choosing) from previous years. Since I've had a couple of blogs that have been running for about 7 or 8 years, the results can sometimes be very interesting and fun.

Has anyone heard of this plugin? I can't find an EE2 version (or locate Yoshi for help), so a functional replacement would be very much appreciated.

I think migrating it is beyond my skill level since it actually extended the weblog class in EE1 and I can't see how to do that in EE2.


texts: Does Solspace’s Tag add-on not allow for tags with ampersands?

texts:
My company’s name has an ampersand in it, so you can imagine it appears quite frequently in tags. The tag displays correctly on the page, but clicking it always leads you to a page with no results. There should be some urlencode going on in the plugin to allow for things like this.

Is my only option to modify the Tag add-on myself to urlencode links and urldecode on the results page?


texts:
I'm trying to wrap items in a ul if there are more than one, however I am getting the if always false, this is caused due to {feature_content:total_results} returning false.
I end up with
TOTAL: ""
 so it's not even zero.

Can someone enlighten me as to what I'm missing?

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

TOTAL: "{feature_content:total_results}"

            {if feature_content:total_results > 1}

                    {feature_content}

{feature_content:content}

                    {/feature_content}

            {if:else}
                {feature_content}

{feature_content:content}

                {/feature_content}
            {/if}

{/exp:channel:entries}

Based on this answer Relationship field entries total count I would have thought the above to work.


texts: path constant works locally, doesn't on dev

texts:
Using Focus Lab Master Config, I've defined these constants for my dev environment:

define('ENV', 'dev');
define('ENV_FULL', 'Development');
define('ENV_DEBUG', TRUE);
define('ENV_BASE_PATH', '/home/public_html/dev/');
define('ENV_BASE_URL', 'mywebsite.com');

In config.master.php I have this line:

$env_config['tmpl_file_basepath']        = ENV_BASE_PATH . 'templates/';

Now when I check my Global Template Preferences in the CP, I get this:

  ENV_BASE_PATHtemplates/

As a test, when I put ENV, ENV_FULL or ENV_DEBUG in the $env_config line in stead, it prints correctly. On my local install there's no issue at all. Did I miss another setting needed to make this work?


texts: redirect from Control Panel (top right link) not working

texts:
There is a similar issue mentioned here, but the answer doesn't work for me...

If I click on the site link it'll forward as follows:

http://example.nl/?URL=http://example.nl/

This works for all my EE sites, except one. This shows a blank page. I have completely removed the .htaccess file to test if that was the cause, but no change. Since this normally presents a EE page like this:

To proceed to the URL you have requested, click the link below:

http://example.nl/

I assume the issue is EE related? Or is it server related?


texts: Anytime I submit changes in EECMS I get DB result printout

texts:
Anytime I make a change within the eecms admin, I get DB table readouts instead of the ol' green light.

I deleted my DB in the event that it became corrupted during the install. Downloaded a fresh copy of eecms from EllisLab, installed, same issue. Only thing I can think of is that I'm using Media Temple hosting for the first time. Not sure if there's special install procedures for them or not.

Specifically, every time I choose File Manager I get: {"rows":[],"pagination":""}

Everything is technically "working," but I shouldn't be getting these DB readouts.


texts: Exp:resso Store and Authorize.net auth only?

texts:
Is there any way to run x_type "AUTH_ONLY" transactions from Exp:resso Store using Athorize.net AIM?

Reference link to Authorize.net x_type:
http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=3_TransDataReqs.06.3.html

Reference link to Authorize.net AUTH_ONLY transaction:
https://support.authorize.net/authkb/index?page=content&id=A64


texts: Focuslab Master Config not working with MAMP

texts:
I have recently set up an ExpressionEngine 'Sandbox' test site locally via MAMP (On Mac OSX), and have integrated the Focus Lab LLC’s EE Master Config for when I push the local Sandbox site code to a staging server (using version control via Git/Tower/Beanstalk etc).

I have set up all the configurations as required using the documentation for Focus Lab LLC’s EE Master Config.

The issue:

When I naivgate to the local MAMP Sandbox site URL:
ie. http://localhost:8888/sandbox/

I get the following server error message(s):

Warning: require(/Users/karlbowers/Sites/../config/config.master.php): failed to open stream: No such file or directory in /Users/karlbowers/Sites/Sandbox/system/expressionengine/config/config.php on line 410

Fatal error: require(): Failed opening required '/Users/karlbowers/Sites/../config/config.master.php' (include_path='.:/Applications/MAMP/bin/php/php5.5.10/lib/php') in /Users/karlbowers/Sites/Sandbox/system/expressionengine/config/config.php on line 410

I have placed the new 'config' folder at the same level as the 'system' folder.

ie.

public_html

  config
  system
  themes

etc.

I have added the following into my master config file:

if ( ! defined('ENV'))
{
    switch (strtolower($_SERVER['HTTP_HOST'])) {

        case 'sandbox.domainname.co.uk' :
            define('ENV', 'stage');
            define('ENV_FULL', 'Staging');
            define('ENV_DEBUG', FALSE);
        break;

        case 'localhost:8888/sandbox' :
            define('ENV', 'dev');
            define('ENV_FULL', 'Development');
            define('ENV_DEBUG', TRUE);
        break;

        default :
            define('ENV', 'local');
            define('ENV_FULL', 'Local');
            define('ENV_DEBUG', TRUE);
        break;
    }
}

I'm not sure why I am getting the errors stated above?
It's like the URL paths are incorrect?

Anyone have any ideas on this?

Many thanks in advance.

Regards

Karl


texts: Channel form: "The selected author is invalid"

texts:
When trying to update the status of an entry through channel form, I get an error that says "The selected author is invalid".

Just do be sure it's not a permissions problem due to lack of permissions for the user group of which the member trying to do the submit the form belongs to, I have set everything to "Yes".

My code looks like this

{exp:channel:form
channel="orders"
entry_id="{entry_id}"
return="ordre/vis/{url_title}"
  }
 {status_menu}
    <select name="status" class="status">
        {select_options}
    </select>
{/status_menu}

<input type="submit" class="submit-status" value="Submit">
{/exp:channel:form}

Note that with Super Admin it works fine.

What am I doing wrong?


texts: Multi word url links bug in WYGWAM field

texts:
If I create a hyperlink from multiple words in a WYGWAM field it looks fine if I view the source code but when parsed in the browser it adds stuff to the link address causing it to fail.
Example, I type some link text "Results and splits" I then highlight it and click the link button and browse and select the file. This is the source code generated in the WYGWAM field when viewed in the control panel:

Results and splits

But this is what the resulting browser source is:

/results-archive/2012-13/index.html2012-13/index.html}

But if I edit the link text by viewing source in the WYGWAM field and delete the words and then retype the words in source view and then save the link it works perfectly.

Edit:This is only when linking to a file via Assets

EE 2.6.1 WYGWAM 2.7.1


texts: Is it possible to search by entry number on the front-end?

texts:
Is there a way to allow logged in users to search on the front-end by ID number?

I’ve got a list of entries here (http://dev.andover-tc.gov.uk/allotments/maintenance).

What I need to do is setup the search box at the top of the page to allow logged in users to type an entry_id number in and only that entry be displayed.

I’m thinking I may be able to use the URL to control this (i.e. allotments/maintenance/147) but can’t work out how to take the data from an input field and use this to create a URL.

Alternatively, if there’s an easier way I’m open to that too.

Thanks in advance,

Tom


texts:
The website I am busy developing contains a shopping cart and after 2 hours of no user activity, the current cart is considered abandoned and should send the user an email regarding this.

I am using Expresso-Store as my shopping cart and considering the Postmaster add-on for handling my emails. Will the Postmaster add-on handle the sending of email after 2 hours of inactivity?


texts:
I can't seem to get a list of tags for an entry in multi-entry view. According to the docs, this should work, but I get no output.  Anyone have any luck doing this or suggestions?

{exp:channel:entries channel="articles"  status="not closed" limit="20"}

{title}

  {exp:tag:tags
    entry_id="{entry_id}"
    backspace="2"
    orderby="relevance"
    sort="asc"
    limit="6"
  }
    {tag},{/exp:tag:tags}

{/exp:channel:entries}


texts: EE 2.5.5 how to use snippet in if statement

texts:
I have a multi site EE set up and I have set up a snippet to use in my template. The snippet syntax is {current_site_name} and the content that the snippet outputs is {site_name}

I am trying to use this snippet in the following if statement:

{if current_site_name == "Site 1"}
    {site1_phone}
{if:elseif current_site_name == "Site 2"}
    {site2_phone}
{if:elseif current_site_name == "Site 3"}
    {site3_phone}
{if:else}

{current_site_name}

{/if}

The if statement doesn't seem to work, the else condition just gets run every time even though the value that it outputs matches one of the site names like Site 1, Site 2, Site 3


texts: Directory access is forbidden (by EE, not apache)

texts:
I'm in the middle of an EE1.x -> EE5.3 upgrade. (Both sites are currently up on different servers, and by 'upgrade', I mean we built a fresh EE5 and are just trying to recreate essential data; the EE update path was too heavy with addons that I couldn't successfully replace...).
The old site operates flawlessly with index.php removed via httpd rewrites. I've tried to reproduce all config data on the new site, but still have problems.
On the new site, I can hit everything that is not: http://servername, http://servername:80,  http://servername/ or http://servername:80/.
If I try one of those URLs, the site is redirected to http://servername (never a port or terminal slash), and the page displays 'Directory access is forbidden.'
This is not an apache error (viewing devtools in the browser, and http access and error logs), apache returns a 200.  However, I do see 'Directory access is forbidden.' in the EE codebase, and the /index.html page it creates on the fly to display that.
My .htaccess:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    # Removes index.php from ExpressionEngine URLs
    RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
    RewriteCond %{REQUEST_URI} !/system/.* [NC]
        RewriteCond %{REQUEST_URI} !/ [NC]
        RewriteCond %{REQUEST_URI} !/index.php [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>

my httpd.conf (relevant portions, I think)
AcceptPathInfo On

 ServerName [external IP address]
 DocumentRoot /var/www/vhosts/eesite/htdocs
 #
 # Relax access to content within docroot parent
 #
 <Directory "/var/www/vhosts/eesite">
     AllowOverride None
     # Allow open access:
     Require all granted
 </Directory>

 # Further relax access to the default document root:
 <Directory "/var/www/vhosts/eesite/htdocs">
   Options Indexes FollowSymLinks
   AllowOverride All
   Require all granted
 </Directory>

Are there other config settings that would impact this?
Thanks!
mike


texts: File manager images not displaying, linking back to the main article

texts:
First off I apologise if this is the wrong SE community to post this on, however since it is the software package I use I hoped you guys could help me out.

I have set up a couple of image upload directories for me to use, one being for static images used over the site and another for images relating to articles posted on the site. I currently have a custom directory set up for static images at <root>/img/<imagename> which works perfectly fine when directly linked to in the template. However, this is not an ideal solution since I would need to manually manage images.

The problem effects both upload directories and new ones, but I will refer to the directory used for the static images for convenience unless noted. The logo which is used in the custom directory was also uploaded to the new ExpressionEngine upload directory, however when it is accessed nothing will appear. Any links to the image will show up as the broken image icon, and opening the image link directly will just produce a blank screen.

News article images are stored at <root>/news/images/<newsimage>. At the same time news articles themselves are stored/displayed at <root>/news/article/<channelcontent>. This suffers the same issue as the static image directory, however opening a direct link to one of the images will load up the news overview section of the site, the homepage of the /news/ section. In short, it effectively ignores the image and displays the news homepage instead, as the image below demonstrates.

(the second black box at the bottom happens all the time, not just in this particular scenario).

You can see that while hotlinking to the image, I get redirected instead of showing an image. Below, you can also see that the images hotlinked alongside the articles do not display, instead showing a broken image icon.

The same issue does not occur just in the articles, but also in the editor!

I instantly assumed it was a server permissions error, but following the guide I set the image and folder permissions to 755 and even 777, but the bug remains present.

The following is the setup for the news image directory.

Descriptive name: News Images
Server path of upload directory: /home/<hidden>/public_html/beta/img/news/
URL of upload directory: http://beta.bowl-of-soup.co.uk/news/images/
Images only

And this is how it is used in the broken images above.

{exp:channel:entries channel="news" limit="10"}

{title}

A wonderful testing article by your adoring {author}

{news_headline}

{/exp:channel:entries}

(Removing :thumb makes no difference).

Please can anyone help with this issue? I can provide more details happily as this issue is a blocker in the site development. I tried searching multiple solutions but none seemed to work.

ExpressionEngine covers the whole site at , so please check it out to see the bug first-hand (advertising not intended - I'll switch off adverts until the issue is resolved).


texts:
I've got a client who wants to use short URLs of dynamic entries for marketing literature

So clientdomain.com/events/event-type/full-event-name

Would be clientdomain.com/short-event-name

I've been setting up redirects manually within the htaccess file, but does anyone know of a better way? I can see several plugins to do it but can anyone recommend one?

Thanks for any help!


texts: Forgotten password link is not parsed properly

texts:
I have these set in my forgotten email email notifications template

{name},

To reset your password, please go to the following page:

{reset_url}

If you do not wish to reset your password, ignore this message. It will expire in 24 hours.

{site_name}
{site_url}

I get this output

foobar@gmail.com,

To reset your password, please go to the following page:

http://qux.com/?ACT={AID:Member:reset_password}&id=FPeUNsWS

If you do not wish to reset your password, ignore this message. It will
expire in 24 hours.

Qux
http://qux.com/

If you look at the url, {AID:Member:reset_password} is not parsed. Why?


texts: Is there a way in Expression Engine to bulk close entries that contain a specific string?

texts:
I have old data that has been migrated into a new design. The old data contains multi-language data using 4 different languages and Transcribe.

The new site does not contain transcribe, nor does it need the articles in the other languages. But all other articles in english need to be included.

I need to close all entries that are written in these other languages. Removing Transcribe didn't close the entries. In the url_title column in the exp_channel_titles row, the language prefix is included. So I can search for ru, ar, fa - etc in this row, filter them out, and set the status to closed if the strings ru, ar, fa, etc are found.

So I'd like to search for all entries that contain "ar" and bulk close them. I'd imagine there is a way to do this via sql query.

I was able to write:
UPDATE exp_channel_titles a
    ON a.url_title = '"-ru"'
SET a.status = "closed"; based on the response below, but that gave me a syntax error. I'm not sure that = will find a string, it seems like an exact search, I could be wrong.


texts:
I have a page displaying all FreeForm entries. Now I'd like to add a search form to search the entries. I haven't found anything in the documentation about doing this so thought I'd ask here.

I found information about show the results:

{exp:freeform:entries  search:name="{last_segment}" }

    ...

{/exp:freeform:entries}

Just not sure how to construct the search form.


texts:
I'm using Git for version control and have been battling with the system/expressionengine/cache folder a bit. Someone had removed it from the repo using an ignore, but then we got php errors because the latest version file could not be found. Add ons like Channel Images use this folder to cache some files. I've been putting git ignore files in these folders:

# Ignore everything in this directory
*
# Except this file
!.gitignore

This leaves the folder in the repo, but keeps it empty. Seems to work, but wonder if there is a better way.


texts: Matrix: Vertical Cell Organization in cp

texts:
I use Matrix with a Multi-language plugin (bieber.ltd).
Multi-language capabilities results in a plethora of fields especially within matrix.

So I wonder if its possible to stack cels vertically in the cp-panel:

| cell_title_de | cell_description_de |
| cell_title_en | cell_description_en |

instead of

| cell_title_de | cell_title_en | cell_description_de | cell_description_en |

Anybody knows something about this?


texts: How to build a personal fitness record site

texts:
Having used EE in fairly conventional ways, I'm not sure how to build this. Here’s the scenario:

A user registers and uses the site to create and view ongoing health
data, graphs and statistics etc.
This is sensitive data so, like a running app site or myFitnessPal
only the user (or other selected members of the community) get to see
their pages.
The template for each user’s set of pages is the same but the data
will be personal to the user.
A trainer will need access to 15 users.

How can ExpressionEngine enable this?


texts: Structure Nav keeps appending URLs to children

texts:
I am using {exp:structure:nav}, but each child ends up linking to all of its parents' URLs. The selected template, e.g., "stuff/index," is the same for them all. But what happens is below with links in parenthesis:

Page 1 (stuff/page_1) - correct

--Page 1a (stuff/page_1/page_1a)

----Page 1aa (stuff/page_1a/page_1aa)

Any ideas on why this is happening? Or am I doing something wrong?

EE 5.3 / Structure 4.6.1


texts: Matrix and Wygwam / Content Elements plugin conflict

texts:
I think I have a plugin conflict.
In the CP, I have a channel with the following channel fields:

Content Elements
Matrix with just Text
Matrix with Text and Wygwam

In the last one, when I try to click on the left column (text), everything works fine but then, when I try to edit the other Matrix column (the Wygwam one), nothing happens, it just stays blank. The cursor doesn't even appear.

In the console, I have the following errors:

index.php:1SyntaxError: Unexpected token '<'
http://mywebsite.com/themes/third_party/content_elements/elements/wysiwyg/ckeditor/skins/wygwam2/skin.js?t=B8DJ5M3Failed to load resource: the server responded with a status of 404 (Not Found)
ckeditor.js:23TypeError: 'undefined' is not an object (evaluating 'r.init')

What can I do to fix this?

EE: 2.4.0
Wygwam: 2.6.3
Content Elements: 1.0.1

[Updated]

Wygwam: 2.7
Content Elements: 1.1.2

I updated the Wygwam and Content Elements plugins and now have the following error messages:

SyntaxError: Unexpected token '<'
http://mywebsite.com/themes/third_party/wygwam/lib/ckeditor/plugins/flickr/plugin.js?t=D09H5XKFailed to load resource: the server responded with a status of 404 (Not Found)
[CKEDITOR.resourceManager.load] Resource name "flickr" was not found at "http://mywebsite.com/themes/third_party/wygwam/lib/ckeditor/plugins/flickr/plugin.js?t=D09H5XK".


texts:
I'm trying to setup a multilanguage site using this solution http://eeinsider.com/articles/multi-language-solutions-for-expressionengine

I have to modify the .htaccess to remove index.php from URL event in the subfolder but I don't know how. The current .htaccess is this

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# 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>

This file is located in /en/ folder and should point to right index.php in the same folder.

Thanks


texts:
We've got quite high traffic cart throb site which occasionally gets duplicate order numbers. The most recent one was when 2 orders were placed at exactly the same time (to the second). Both orders have been given the same title and url_title, but obviously have different entry IDs in the database.

This must be a Cart Throb bug? Has anyone else come across this before?

This causes problems with the sales reporting so we really need to find a fix. Anyone from Cart Throb able to offer any insight?


texts:
I am having a slight issue with grabbing data from my related categories. click here on my dev site i have several categories energy, relax, wellness etc etc. When the user click on one of the categories a blog roll is created which reveals all posts with that category. I have added the following code to my template:

{exp:channel:entries channel="blog" disable="member_data|trackbacks" related_categories_mode="yes" limit="4" }

{title}

{exp:eehive_hacksaw chars="150" append="..."}{feature_copy}{/exp:eehive_hacksaw}

        {/exp:channel:entries}

However the blog roll pages remain blank, although the categories are populated. Looking at my code above can someone point me in the right direction.


texts: Is there an alternative to webspellchecker.net in Wygwam?

texts:
We enabled spell checking in Wygwam and the 3rd party service (webspellchecker.net) doesn't even seem to understand simple things like contractions.

For example if the word "aren't" is present it flags "aren" as a misspelled word :-/

So my question is - are there any other ways to spell check in Wygwam without hacking it?


texts: Addon to return different values based on environment?

texts:
My project links to an external form. Once that external form is submitted, the user is brought back to the ee site. I need to send the form a param (ie ?action=dev) to tell it which environment to return to. We currently have dev, client review, staging (excessive much?) and will eventually have the live site.

I don't want to have to remember to change these external links when updating. One of the links is a Low Variables var so I can't php strpos and it's not even letting me do an if statement on the value of site_url.

Does a plugin or extension exist that will help me out?

Thanks
Amanda


texts: Getting image files for META tags if in entry

texts:
Basic blog setup using Wygwam for the primary field in the entry. Inside the file management, I have Image Manipulations set to manipulate any images uploaded and used formatted for social media. For instance, since the twitter images for twitter card data must be at least 280x150, I just create better optimized images for them and they are dumped in a sub-folder of images named "_Twitter_Card_Image".

Is there any way to find if an entry has an image in the Wygwam field and add a META tag for each image used?

Something like:

{wygwam-field}
    <meta name="twitter:image:src" content="{twitter-image-location}">
{/wygwam-field}

I've never done this before. It may be something pretty simple that I'm over thinking.

* EDIT *

Sorry, I should have been more clear. (Trying to post and answer questions when people walk up.)

I know of the images only tag. I wasn't exactly clear about the needs. I need the alternate image source for the Image Manipulation option spoken of above.

{my_wygwam_field images_only="yes"}
    <meta name="twitter:image:src" content="{twitter-image-location}">
{/my_wygwam_field}

* UPDATE *

<!-- Twitter summary card with large image must be at least 280x150px -->
{app_primary_copy images_only="yes"}
    <meta name="twitter:image:src" content="{exp:low_replace find='/appraisers/' replace='/appraisers/_Twitter_Card_Image'}{src}{/exp:low_replace}">
{/app_primary_copy}

<!-- Open Graph data -->
<meta property="og:title" content="{title}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{current_url}" />
{app_primary_copy images_only="yes"}
    <meta property="og:image" content="{src}" />
{/app_primary_copy}
<meta property="og:description" content="{exp:eehive_hacksaw chars = '150' append = '...'}{app_primary_copy}{/exp:eehive_hacksaw}" />

So the hacksaw info comes in just fine, but the rest of the info that's wrapped in EE Tags is completely blank. Basically, the wygwam tags aren't producing any results. No HTML or anything. It's like there is nothing there at all.


texts:
I'm trying to display a nested nested list of relationship entries using stash. The following standard EE template code correctly displays all of the data.

{!-- Category page --}
{exp:channel:entries channel="category_page" entry_id="16609" dynamic="no"}

    {!-- Category page title --}
    {title}

    {!-- Get parent Landing page content --}
    {parents field="cf_landing_categories"}

        {!-- Parent Landing page Feature 1 Places title --}
        {parents:cf_landing_feature1_title}

        {!-- Parent Landing page Feature 1 Places --}
        {parents:cf_landing_feature1_places}
            {parents:cf_landing_feature1_places:title}
        {/parents:cf_landing_feature1_places}

    {/parents}

{/exp:channel:entries}

However, if I then try to put this into Stash nested code as follows, only the {feature_list1_title} displays;

{!-- SET LIST --}

{exp:stash:set_list name="category-{segment_2}" parse_tags="yes" parse_conditionals="yes" parse_depth="3" save="yes" refresh="60" scope="site" replace="yes"}

    {exp:channel:entries
        channel="category_page"
        disable="{global:channel_disable_basic}"
        status="open"
        limit="1"
        require_entry="yes"
    }

        {stash:category_entry_id}{entry_id}{/stash:category_entry_id}

        {exp:stash:set_list:nested name="landing-{segment_1}-feature-list1" parse_tags="yes" parse_depth="2"}

            {parents field="cf_landing_categories"}

                {!--Landing page places title--}
                {stash:feature_list1_title}{parents:cf_landing_feature1_title}{/stash:feature_list1_title}

                {!--Landing page places--}
                {exp:stash:set_list:places name="landing-{segment_1}-feature-list1-places" parse_tags="yes" parse_depth="2"}

                    {parents:cf_landing_feature1_places}

                        {stash:feature1_place_title}{parents:cf_landing_feature1_places:title}{/stash:feature1_place_title}

                    {/parents:cf_landing_feature1_places}

                {/exp:stash:set_list:places}

            {/parents}

        {/exp:stash:set_list:nested}

    {/exp:channel:entries}

{/exp:stash:set_list}

{!-- GET LIST --}

{exp:stash:get_list name="category-{segment_2}"}

    {exp:stash:get_list:nested name="landing-{segment_1}-feature-list1" context="{category_entry_id}" save="yes" scope="site"}

        {feature_list1_title}

            {exp:stash:get_list:places context="{category_entry_id}" name="landing-{segment_1}-feature-list1-places" orderby="random" limit="3"}

                {feature1_place_title}

            {/exp:stash:get_list:places}

    {/exp:stash:get_list:nested}

{/exp:stash:get_list}


texts:
I'm using a channel form to allow readers to submit letters to the editor that can include pictures. Here's the (redacted) code:

{exp:channel:form channel="{my_channel}" category="37" return="/site/page/5569" status="closed"}
<textarea name="body" cols="50" rows="20" class="rich_text"></textarea>
{field:pictures}
<input type="submit" value="Post" />
{/exp:channel:form}

The form seems to work OK. You can enter photos and captions just as you would in the the control panel. But when I save the form, and go to edit the entry in the control panel, all of the entry is there, except for the grid contents, which are empty.


texts: Having problems with EE mail library code

texts:
I'm new to Expression Engine, I'm hoping someone can help me out with an issue? I'm sure I'm missing something obvious.
What I'm trying to do is send an email.

My template code looks like this:

{embed="main/header1"}
<meta name="Description" content="whatever">
<meta name="Keywords" content="stuff">
{embed="main/header2"}
{embed="main/navbar"}

{exp:channel:entries channel="subscription" limit="1"}

    <?php
    echo $_GET['email_address'];
    ?>

$email_msg = "email address: $email_val";
$email_to = "email@address.com"

ee()->load->library('email');
ee()->load->helper('text');

ee()->email->wordwrap = true;
ee()->email->mailtype = 'text';
ee()->email->from("Expression Engine");
ee()->email->to($email_to);

ee()->email->subject(Test);
ee()->email->message(entities_to_ascii($email_msg));
ee()->email->Send();

{/exp:channel:entries}
{embed="main/footer"}

All of the EE library code is outputting to the screen as text, rather than being executed. What am I missing? Thanks for your help. PHP is enabled.
- James.


texts:
Is there a way to dynamically create a main navigation (e.g. every template group appears in the main nav)? I want to set up EE so that when the client/user adds pages, they'll appear as either a new item in the navigation, or an item under the navigation, etc.

I'm trying to avoid having the client/user actually make edits in the templates.


texts: Is it possible to set up default price modifiers per channel since there are many modifiers for each product and a large number of products being uploaded?


texts: Channel Entries w/ Month, Day, Year Having Issue w/ Localization

texts:
Having issues with the following code, if entries are todays date, but past 07:00 PM they do not display. Even with *show_future_entries="yes"* unless the entries are dated 06:59 PM or earlier.

{exp:channel:entries channel="lunch_order" status="open" day="{current_time format='%d'}" month="{current_time format='%m'}" year="{current_time format='%Y'}" show_future_entries="yes"}{lunch_order_account_number} {lunch_order_share_id}   {lunch_formatted_order_total}
{/exp:channel:entries}

I should also add the Localization is set to UTC-6 CST, and Allow members to set their own localization preferences is set to "No".

Any help would be greatly appreciated. Thank You!


texts: How to filter relationship field options?

texts:
Assume two channels: Channel A and Channel B.

Say that Channel A has a relationship field type that points to Channel B. When a Member is making an entry in Channel A, is there any way to limit the relationship field's options to display only the current Member's entries in Channel B?

Right now, I am seeing ALL of Channel B's entries regardless of which Member made the entry.


texts: I am new to EE and I am only using a free version of EE 3.3. Nevertheless, I have noticed that you can only upload one image at a time for the file manager. Is any other way to create a drag and drop with EE's file manager?


texts:
Having an issue where my form is losing all image values on a grid when saving via AJAX. I have the parameters on my channel form as json="yes" include_assets="yes"

Is the issue that I'm sending via Json? Is there a hidden field trick? Anyone have any knowledge or expreience working with grid images in a channel form and updating the entry?

$(document).ready(function() {
var options = {
    beforeSubmit:  showRequest,  // pre-submit callback
    success:       showResponse  // post-submit callback

    // other available options:
    //url:       url         // override for form's 'action' attribute
    //type:      type        // 'get' or 'post', override for form's 'method' attribute
    //dataType:  null        // 'xml', 'script', or 'json' (expected server response type)
    //clearForm: true        // clear all form fields after successful submit
    //resetForm: true        // reset the form after successful submit

    // $.ajax options can be used here too, for example:
    //timeout:   3000
};

// bind form using 'ajaxForm'
$('#cform').ajaxForm(options);

});


texts: Expresso Store: Manually trigger 'store_product_price' recalculation

texts:
The class 'store_product_price' is updated by Javascript so that when a customer selects an option with a price variant, the price on display updates to reflect the new price.

This all works brilliantly.

However. We've added a system where by all the colour options for a product are shown as images on the product page. When clicking on one of these images we have got jQuery updating the select box of colour options (as populated by Expresso:Store) to reflect the right colour. However, the price doesn't update. I've tried fiddling with the $('select').change() methods, but I can't get it work.

The jQuery we use to update the select the right option in the select box is:

$('.options select option').removeAttr('selected').filter('option[data-val="'+$(this).attr('data-title')+'"]').attr('selected','selected');

How can use code to trigger a recalculation of the price please?

Thanks!

Tom


texts: Reduce spam from Contact form without CAPTCHA?

texts: I'm using the standard EE Contact Form (exp:email:contact_form) and getting spammed. Apart from enabling CAPTCHA, are there any good ways of reducing spam from it? Using EE 5.3.2.


texts:
I have a production and local environment that I want to be able to transfer content between. I can't take a copy of the database as the production environment and local will be at different stages of the project.

My ideal would be to export channel entry content (including grid and matrix) and then import that into the production site.

Does anyone know of a module, script etc... that does this?

Thanks,
James


texts: How to: Member notification after Channel Form submission

texts:
I have a Channel Form in which the user chooses a member from a different member group and when they submit the form, that member receives a notification. Is it possible to do this with any existing add-on (or out of the box)?

It sounds like MX Notify would be perfect for this, but it's not compatible with EE3.


texts:
So building on the answers from my previous question, I'm trying to cache the main navigation on my site.

As I understand it, the principle is to cache everything in one big chunk and then use the stash:nocache tag to except the conditionals used for the active state.

The relevant part of my code is:

{exp:stash:set name="full_nav_cache" parse_tags="yes" parse_conditionals="yes" output="yes" save="yes" refresh="180" replace="no" scope="site"}
    {exp:navee:custom nav_title="main-nav" wrap_type="none"}

    {/exp:navee:custom}
{/exp:stash:set}

However, it seems like the {segment_1} variable is still parsed when the cache is saved. In the database I'm seeing:

But I was expecting:

which would then get parsed on the page load. Is the the expected behavior?


texts:
I have a question about Exp:resso store. I need to develop a webshop where different prices are handeld per group member.

Each group has different pricelevels. For example a product has the following prices:

Group consumer: 15,-
Group business: 12,50
Group retailers: 10,-

So I want to set fixed prices, not a discount percentage! Is this possible?


texts:
I have a channel entry and I can return the {author_id} but what I would like to do is return more fields from author

{title}
{business_name}

What is the best way to achieve this?


texts: Moving Expression engine site from Live Server to Localhost

texts: Please advice me on how to move Expression engine site from Live Server  to Localhost


texts: Is it possible to place an embedded template within a snippet?  Reason is I have a client that wants to be able to use the Allow More EE Code plugin http://devot-ee.com/add-ons/allow-more-ee-code to insert certain items into the WYGWAM editor in normal (non-source). Since this plugin does not parse snippet dynamic data, I tried just placing the code [code]{embed="includes/.calendar"}[/code] into the snippet and to my surprise the dynamic data was parsed!  Is it OK to setup a few snippets in this manner to allow the client to insert them were needed or is there a big drawback?


texts:
Is possible to use CE Image in the same way of timthumb? for example, this image:

timthumb.php?src=//mysite.s3.amazonaws.com/WebStatic/Images/Static/109/slide-1.jpg&w=1280

can be used with CE Image? something similar to:

{exp:ce_img:single src="//mysite.s3.amazonaws.com/WebStatic/Images/Static/109/slide-1.jpg"}&w=1280

thanks


texts:
This is a first for me... I'm importing into an database with no tables from a working backup.

Error
SQL query:

--
-- Dumping data for table `exp_accessories`
--

INSERT INTO `exp_accessories` (`accessory_id`, `class`, `member_groups`, `controllers`, `accessory_version`) VALUES
(1, 'Expressionengine_info_acc', '1|5', 'addons|addons_accessories|addons_extensions|addons_fieldtypes|addons_modules|addons_plugins|admin_content|admin_system|content|content_edit|content_files|content_files_modal|content_publish|design|homepage|members|myaccount|tools|tools_communicate|tools_data|tools_logs|tools_utilities', '1.0'),
(2, 'Developer_acc', '1|5', 'addons|addons_accessories|addons_extensions|addons_fieldtypes|addons_modules|addons_plugins|admin_content|admin_system|content|content_edit|content_files|content_files_modal|content_publish|design|homepage|members|myaccount|tools|tools_communicate|tools_data|tools_logs|tools_utilities', '1.7.1'),
(3, 'Devotee_acc', '1|5', 'addons|addons_accessories|addons_extensions|addons_fieldtypes|addons_modules|addons_plugins|admin_content|admin_system|content|content_edit|co[...]
MySQL said: Documentation

#1062 - Duplicate entry '1' for key 'PRIMARY'


texts: Error on CP homepage from core/EE_Exceptions.php

texts:
I'm trying to secure my install of EE by following the instructions here, which involve moving my system directory above my web root, and renaming it.

My site loads fine, and I can even navigate to parts of the control panel by deep-linking into CP sections. However, when visiting the CP home, I get the following PHP error:

Fatal error: Call to a member function send_ajax_response() on a non-object in
/Users/charlesgallant/ ... path ... /stem/expressionengine/core/EE_Exceptions.php
on line 62

--
EE 2.6.1, running on
Apache 2.2.3, with php 5.3.2 (and have tested 5.4.10)

I've checked:

File Permissions
Disabling plugins
Others who have found this error have mis-named some folders or failed an upgrade, but that doesn't appear to be the case here.
Making sure the paths in all my config files are correct (which they MUST be, if I can access my site AND sections of my control panel).

I've tried commenting out some offending blocks of code around line 62, and I was able to raise this error:

Unable to load your default controller. Please make sure the controller
specified in your Routes.php file is valid.

...and yes, this file appears valid to the best of my knowledge.

Any thoughts are appreciated - thanks in advance =)

==UPDATE==

I can subvert this error and at least render the login page by adding blank query parameters to the url:

Visiting myDomain.com/admin.php?S=0&D=cp&C=login works,

Visiting myDomain.com/admin.php? throws the above fatal PHP error. How is this possible!?!? Either way, I still can't see the actual homepage for my control panel, so I can't accept this workaround.


texts: Can I link an entry to an Assets folder, instead of adding files?

texts:
I am using Assets to manage documents associated with entries, but each entry will have sub-folders. Categories for each document. I am hoping to show a folder navigation on the front end to click the sub-folder, then even another, then list files.

I can create the folder hierarchy in Assets.

But instead of uploading/linking files to an entry, all I need to do is link the Assets folder. Can I do this in Assets?

The only way I can think of is make sure to name the folders the same as the entry url title so we can grab the correct folder, but thats open to mistakes.

Thanks


texts:
Does anyone know of an easy way to export the Zoo members data.

I am having a play with ajw_export but I have a feeling it isn't going to quite do what I need.

This is what I need from the export

Name         [standard member data]
Email        [standard member data]

Business     [zoo member data - checkbox]
Education    [zoo member data - checkbox]
Fund         [zoo member data - checkbox]
Newsletter   [zoo member data - checkbox]

With ajw.export I've got the following query

{exp:ajw_export
  sql="SELECT member_id, screen_name, email FROM exp_members"
  format="csv"
  delimter=":"
}

This is fine, returns the id/name/email address, but the zoo members data isn't stored in the members table.  So I need to get field_id_55, field_id_56, field_id_115 and field_id_118 from channel_data.

Any ideas?

Thanks
Dave


texts: Template route not generating correct URLs

texts:
I followed Boyink's tutorial to the letter but still can't get template routes to work.

My multi-entry template is located at company/people. My single entry template is at company/person.

In the Template Route manager, I have /company/people/{bio:alpha_dash} for the `company/person template.

Multi-entry template link code:

<a href="{route="company/people" bio="{url_title}"}">

Single-entry template channel entries tag:

{exp:channel:entries
    channel="people"
    limit="1"
    require_entry="yes"
    dynamic="no"
    url_title="{segment:bio}"
    disable="categories|category_fields|member_data|pagination"}

All of the links in the multi-entry template look like: /company/%7Broute=

I don't understand why the URL's are not getting generated correctly.

Any help is appreciated.


texts: Expresso Store Fatal Error: FakePDO not found

texts:
Just attempted to install Expresso Store and I get the following warning and error and I am unable to proceed:

  A PHP Error was encountered

  Severity: Warning

  Message: Class 'Store\Illuminate\FakePDO' not found

  Filename: store/autoload.php

  Line Number: 50

and

  ...expressionengine/third_party/store/vendor/expressodev/laravel-codeigniter-db/src/Illuminate/CodeIgniter/CodeIgniterConnectionResolver.php
  on line 24

I am running EE 2.8.1.


texts: Insert Selected Channel into the Template

texts:
We are creating a template that our client would use on many pages of their website, for example 'Accordion Layout Template'.

So we create a page 'Bikes', assign the 'Accordion Layout Template', then create and select the channel named 'Bikes'

Is there a way to get the selected channel for the page, so we do not have to hard code the channel into the template like below:

{exp:channel:entries channel="bikes"

but ideally it would be

{exp:channel:entries channel="Get_Selected_Channel"

Thank you.


texts: Pagination - blank pages and weird numbering

texts:
I have enough results for 2 pages, but my pagination links show 3 pages of results, the 3rd page being blank.  Also, the segment that should show the pagination page number (i.e. P1, P2) says P2 for the second page, and then jumps to P4 on the third page.  Anyone ever seen this before?

{exp:channel:entries channel="message" dynamic="no" limit="2" paginate="bottom" orderby="date" sort="desc" disable="categories|category_fields|member_data"}
        {series_association}
        {if series_association:no_results}

{title} -
{message_date format='%F %j, %Y'}

{message_summary}

        {/if}

        {if "{count}" == "{total_results}"}
{/if}
        {/series_association}
        {paginate}

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

        {/paginate}

    {/exp:channel:entries}


texts: Set up of conditional redirect in htaccess

texts:
I've asked a question over at Stackoverflow thinking that it wasn't really EE related

https://stackoverflow.com/questions/18229829/set-up-of-conditional-redirect-in-htaccess

But now I'm not so sure that the rules I'm using to remove index.php aren't having an effect.

Any help appreciated.


texts:
Love this accessory by Brandon Kelly / P&T:

http://devot-ee.com/add-ons/module-nav

Works like a charm. Only now, I'm getting this error in the developer log:

Deprecated function generate_json() called in system/expressionengine/third_party/module_nav/acc.module_nav.php on line 82.
Deprecated since 2.6. Use the native JSON extension (json_encode()) instead.

Appears to still be working but the forum at devot-ee is closed. Anybody know if this is still supported by the developer? Or what to do to upgrade it? Tried swapping out the function but it failed.


texts: Expresso-store - order email notification custom email address

texts:
3) Purchase notifications

Each ‘product’ will have an ‘owner’, this will either be the author of the entry or a custom filed with an associated emails address.

Question 3: Can we vary the order notification ‘to’ email address based on this custom fields or the entries Authors email address? For example, if I was the owner example@example.com and someone ‘purchases’ shop item I am the owner of, I would get the the email notification.


texts:
Is there a way to retrieve the colour assigned to a status to use on a front-end template?

For instance, I have an ecommerce system that uses a status of "Declined". I have made this status display in red so on the  back end the store administrator can easily see any declined transactions.

Now, say I wanted to output a list of a customer's transactions for them on the front end. Would it be possible to grab that colour to use in my template or will I need to create a series of conditionals and set colours that way (using CSS classes)?

I guess a quick hack around it would be to do something like

Status: {status}


texts:
Using EE 2.5.2

I'm not aware of any changes that I would have caused this, however, I'm getting a javascript error.

Resource interpreted as Script but transferred with MIME type text/html: "mysite.com/?ACT=comment_editor". mypage:59
Uncaught TypeError: Object [object Object] has no method 'CommentEditor'

My comment fields are being rendered in the source code (with the correct brackets of course):

[script type="text/javascript" charset="utf-8" src="http://mysite.com/?ACT=jquery"][/script]
[script type="text/javascript" charset="utf-8" src="http://mysite.com/?ACT=comment_editor">[/script]

Any thoughts?


texts:
When I'm pulling related_entries into a channel:entries tag, I want to be able to sort those related entries (for example by date).

Example:

{related_entries id="related_field" orderby="entry_date"}

I know that the above orderby parameter is not accepted by the related_entries tag, but is there any other clever way to get those entries sorted?


texts: Or some other means of bypassing the 'thank you, you're logged in' message pages on login/redirect?


texts:
Is there a difference in US based Moneris accounts and CA based Moneris accounts in terms of API integration / payment gateway plugin usage.

Client has a US-based account, but my developer cannot get it to work with the current plugin (which, according to Moneris, appear to be trying to access the CA-based API).

Any thoughts?

Sam


texts: Can CartThrob send notification emails on wishlist/registry events?

texts:
We need to send a notification email to a person who receives an item from their registry.

Person A: Adds item to registry
Person B: Finds Person A's registry and purchases an item
Person A: Receives a notification email informing them "An item has been purchased for you."

While this is one use case, are there any other wishlist/registry events that we can send notifications on?  I haven't been able to find any documentation on this and CartThrob seems to have a flexible notification architecture for steps in their other related CartThrob products.


texts:
I'm setting up a membership site where registered members can access video pages.

The access to video pages needs to be done on a per member level. This will be done manually by the administrator.

For example certain members will have access to video page 1 and other members will have access to video page 2 etc.

What is the best way of setting this up?

Will I need to setup individual member groups?


texts: EE error "The page you requested was not found."

texts:
I just made a fresh EE install on one of my clients shared server,and after setting up permissions etc when I try to access admin.php file I get this error

"The page you requested was not found."

I am not able to debug it,is it some thing to do with server or is it a EE bug??

Cheers
Nisar


texts: Uploading file as a modifier in Expresso Store

texts: I would like to have my clients upload a couple files when they add a product to the cart. I want to be able to do something similar to the print products on "missions linked.com".


texts: Expresso Store: Larger, expandable text fields for modifiers

texts: I'd like to make the custom text fields for the product modifiers in Exp:resso Store larger on the front end and user-expandable since they will need to type large amounts of text. Right now they are only one line high which makes it difficult to write a paragraph easily.


texts: Use Free Member as a way for Administrators to Register Members

texts:
I am creating a little front end admin area for a client.

I am setting it up so they can administrate users on the front end.

One feature I would like is for the Administrator to be able to Register Members using the FreeMember Register Form on the front end.

I have it all setup although obviously since the Administrator is Logged in they can not register a member because the module is picking up they are logged in and giving the following message "You are already registered and logged in."

Is there a way we can override this?


texts: I might be missing it but.. is there a variable to output the total count of days the entry spans across, from start to finish?


texts: {site_url} global variable not outputting in php header redirect

texts:
Trying to create the following redirect template for some structure pages, however the url is outputting like this http://example.com/{site_url}#section. Any idea why {site_url} variable isn't working? And/or any idea how to resolve issue. Thanks in advance.

{exp:channel:entries channel="pages"}
    <?php
        header( "Location: {site_url}#{homepage_section}" );
        exit;
    ?>
{/exp:channel:entries}