texts:
I'm trying to install Membrr and OpenGateway on an existing EE site to allow us to accept payments through PayPal for subscriptions to different Member Groups. I'm following the instructions documented by Membrr and OpenGateway here:

http://www.membrr.com/docs/installation

First I'm wondering what license.txt file I should upload as there is no license now that OpenGateway is open source and I didn't pay them or Membrr for one. Does this mean that I should upload an arbitrary license.txt file? I've tried uploading one with filler text and am unsure if this is somehow holding up the install.

Second, I've tried going through the install steps and was unsuccessful in accessing /install directory (step 6 in docs)—browsing to the path only led me to my site's 404 page. Assuming the license.txt file isn't affecting this are there any other ways I could troubleshoot why this isn't working?

I've done all other steps outlined in the installation.

Thanks in advance for any help!


texts: Expresso Store - Invalid Payment Method for Manual

texts:
Just installed Expresso and getting my feet wet with it. I'm using the default demo store it comes with to walk myself through the entire process and to figure out how to best utilize the software for my client's specific needs.

In particular, the client wants all items on the store to be free and with free shipping unless they want next day delivery (I already have a pretty good grasp on how to handle this). So, this means that I don't want to specify a payment method and use some preconfigured gateway for it- I don't need it.

I read that the best way to handle this is to simply use the "manual" payment method, but all I'm getting are constant errors.

Only code I added to the Checkout3 default template the Store provides you:

<select name="payment_method">
                <option value="paypal_express" selected>Paypal</option>
                <option value="manual">Manual</option>
            </select>

            {if error:payment_method}

{error:payment_method}

                {/if}

Earlier, I tried specifying the manual payment type without the above code in the checkout tag- same error being flagged.

Other than this, all I've done is comment out the  tag that houses the default payment code for the demo, given how I didn't need it.. Or thought I didn't.


texts:
Is there a way to change the HTML markup of the page where you change your password(the page you go to when clicking on the reset password link sent to your email)?

I would like it to match the look and feel of my EE site.


texts: Can someone explain the difference between Structure and Taxonomy?

texts:
I'm trying to pick a navigation module that will dynamically update the main nav, secondary navigation, and landing pages as pages are added, keeping everything consistent. This is a requirement because otherwise the client will make a mess out of the navigation, making it inconsistent and ruining the user experience.

From my research it seems NavEE is not the answer. It appears to be fully manual. Can someone explain the difference between Taxonomy and Structure, when you would choose one or the other, etc.?

Thanks!


texts: GWcode CatMenu: Do Not Show Empty Children

texts:
How do I set GWcode CatMenu to not show child categories that have no entries assigned to them? The show_empty="no" parameter only seems to work for parent categories.

Here's my code:

{exp:gwcode_catmenu style="linear" cat_id="5" active_branch_only="yes"}
    {if cat_id != 5}

{cat_name}

    {/if}
{/exp:gwcode_catmenu}


texts:
I'm trying to output a custom field from a channel that stores a formatted date, which gets used for a jQuery datepicker.

I'm using the following code;

{exp:channel:entries channel="events" dynamic="no" orderby="url_title" sort="asc"}
["{event_date}"],
{/exp:channel:entries}

However, I've noticed a problem in that it won't output entries that have a date like 4-9-13. The {event_date} custom field is a simple text field.

It seems to be fine for dates stored like; 1-8-13, 12-8-13, 24-8-13, 2-9-13, 3-9-13, 30-9-13 etc - but it just won't output any dates that start with a number 4, 5, 6, 7, 8 or 9.

I wondered if anyone knows a way around this?

Thank you.


texts: Assets2 not displaying all uploaded images

texts:
I think I have a problem with the box that appears when you want to select an uploaded image.

I have a folder with about 150 images in it.
When I browse this folder via the Assets2 module I am able to see all of the images.
When I try and select an image using the Assets field type in a Matrix cell the pop up box only shows a few of the images.
I know the image is because it appears when I manually search for the file name.
I think the problem is that the images are not refreshing when I pull the scroll bar down.
Using Safari 5.1.7 and Chrome 24.0.1312.57


texts: What does $config['disable_all_tracking'] do?

texts:
Not sure how to choose to set $env_config['disable_all_tracking'] = 'y' or 'no'; When documentation says if set to 'y' some of the below settings are disregarded

/* Tracking
-------------------------------------------------------------------*/
$env_config['disable_all_tracking']        = 'y'; // If set to 'y' some of the below settings are disregarded
$env_config['enable_sql_caching']          = 'n';
$env_config['disable_tag_caching']         = 'n';
$env_config['enable_online_user_tracking'] = 'n';
$env_config['dynamic_tracking_disabling']  = '500';
$env_config['enable_hit_tracking']         = 'n';
$env_config['enable_entry_view_tracking']  = 'n';
$env_config['log_referrers']               = 'n';
$env_config['gzip_output']                 = 'y';

Thanks in advance for great support


texts:
My Stash template has the following:

{if "{member_images:total_rows}" == 0}
    {!-- No images uploaded. Display placeholder as avatar. --}

{/if}
{if "{member_images:total_rows}" == 1}
    {!-- Only one image uploaded. Display that image as avatar. --}
    {member_images}

    {/member_images}
{/if}
{if "{member_images:total_rows}" > 1}
    {if "{member_images:total_rows search:default="y"}" == 0}
        {!-- Multiple images upload, but none defined as default. Display first image as avatar. --}
        {member_images limit="1"}

        {/member_images}
    {/if}
    {if "{member_images:total_rows search:default="y"}" == 1}
        {!-- Multiple images upload, and one defined as default. Display that image as avatar. --}
        {member_images search:default="y"}

        {/member_images}
    {/if}
{/if}

This works fine. However, since I need this in different parts of my site, I figured I'd pull it out into its own stash template and just try to embed it where ever it's needed, like this:

{stash:embed name="common:.avatar" process="start"}

The problem is when I do this, nothing is outputted. When I enabled template debugging, I see the following error:

Parse error: syntax error, unexpected T_STRING in /home/devserver/public_html/system/expressionengine/libraries/Functions.php(683) : eval()'d code on line 12

I have no problems embedding other stash templates. Any ideas what might be wrong?

UPDATE 1:

The culprit seems to be the nested if block, particularly the if-conditions (e.g. {if "{member_images:total_rows search:default="y"}" == 0}. The if-condition contains a tag that must first be parsed? I'm guessing this might have something to do with parsing order, etc.?

UPDATE 2:

Currently using this code now. Incorporated elseif, single quote wraps tag when tag has double quote, etc.

{if "{member_images:total_rows}" == 0}
    {!-- No images uploaded. Display placeholder as avatar. --}

{if:elseif "{member_images:total_rows}" == 1}
    {!-- Only one image uploaded. Display that image as avatar. --}
    {member_images}

    {/member_images}
{if:elseif "{member_images:total_rows}" > 1}
    {if '{member_images:total_rows search:default="y"}' == 0}
        {!-- Multiple images uploaded, but none defined as default. Display first image as avatar. --}
        {member_images limit="1"}

        {/member_images}
    {if:elseif '{member_images:total_rows search:default="y"}' == 1}
        {!-- Multiple images uploaded, and one defined as default. Display that image as avatar. --}
        {member_images search:default="y"}

        {/member_images}
    {/if}
{/if}


texts: how to put a category condition with exp:query?

texts:
{exp:query sql="my query"}

{/exp:query}.

This works fine.But I want to give a category condition to it.When I do it,it does not flter the data accordingly.

for example:

{exp:entrie:channel category="2"}


texts: independent gallery not related to an entry

texts:
We are using channel-images for all our websites, but facing one big questions which always comes up.

A gallery is always created per entry, also folder of the gallery is named by the ID of the entry.

Our wish would be to create independent galleries, folder not named by id, but rather by the name of the gallery. afterwards, galleries are linked like relationships to entries. so one gallery can be linked to multiple entries, instead of creating the gallery again.

anybody in here stubmbled over that usecase we would like to have? if yes, how did you solved it or did we overlook some feature in channel images?

Best, Thomas


texts: once a file has been uploaded to the upload directory in expresssionengine can it be moved on my server?

texts: Can I move files that have been uploaded to the upload directory be moved on my server, or will they be lost in the upload directory and therefore not show on the site?


texts: Does anyone know what file format for videos Expression Engine will allow to be uploaded? I tried MP4 and WMV neither one is working via the upload screen


texts: Wygwam inside of a grid -- has_excerpt conditional not working

texts:
I'm unable to test for the has_excerpt condition, when trying to display excerpt and extended content in a grid. In this example, "booklist" is a grid field and book is a wygwam field within that grid:

{booklist:book:excerpt}
{booklist:book:has_excerpt}
{booklist:book:extended}

This all works... it will print the excerpt, then the "y" then the extended content. However, if I try to test for has_excerpt, it breaks:

{if booklist:book:has_excerpt}
  {booklist:book:extended}
{/if}

This conditional doesn't work and in fact triggers a PHP error:

A PHP Error was encountered
Severity: User Warning
Message: Invalid EE Conditional Variable: {if "
This massive unfinished modernist novel examines many issues that cannot be categorized.":has_excerpt}
Filename: libraries/Functions.php
Line Number: 2762

I've tried {if booklist:book:has_excerpt == "y"} and {if "{booklist:book:has_excerpt} == "y"} as well, and neither works. Just to confirm that it works outside of a grid, I tried this (where "book" is a wygwam field not in a grid)...

  {if book:has_excerpt}

{book:extended}

  {/if}

And it works fine. Any ideas how to make that conditional 1. work and 2. not trigger a PHP error? Thanks in advance.

j.


texts: "invalid form id(s) submitted" error for a FreeForm Pro form

texts:
Several users are complaining about this error whenever they try to submit one of our online forms: "invalid form id(s) submitted".

The problem is I can't replicate this error. Also, many people have submitted the same for without any problems.

I found this link http://www.solspace.com/forums/viewthread/13745/#55777 which suggests it's to do with XID hash. If so, how can I set it so it doesn't expire.

Am using EE v2.4.0 FreeForm Pro 4.0.7.

Abdi


texts: Email Notification Templates {entry_url}

texts:
I've set up an automatic response when a new entry is posted, I've included the template below. It's working fine, but the {entry_url} is wrong, it's sending an older URL from the dev version of the site.  Does anyone know where I can change this?

A new entry has been posted in the following channel:
{channel_name}

The title of the entry is:
{entry_title}

Posted by: {name}
Email: {email}

To read the entry please visit:
{entry_url}


texts: Should I run the EE Install & Update Wizard after updating mySQL

texts:
We are currently running EE v2.7.3.

Our IT partners have informed us that they will be updating the server this week.

They will also be updating Linux, PHP, httpd, and mysql-server moving up to the following versions.

Redhat 6.6
php-5.3.3-38.el6-x86_64
httpd-2.2.15-39.el6-x86_64
mysql-server-5.1.73-3.el6_5-x86_64

I saw the system requirements on the website, but they don’t mention which version of Redhat EE is compatible with.  We’ve run into issues before when updating EE so we want to be cautious and aware of any issues we may run into if any.

Currently our IT folks have updated one of our load balanced servers with newer versions of the redhat, php, mysql.  However, when i try to login to EE Control Panel, I’m getting the installation and update wizard screen.  I'm thinking this is a result of MySQL being updated, but i am not sure.

I'm hesistant to click the "click here to begin!" button because i don't have direct access to the database (I've got a request in to make a backup of the database).

Can someone let me know what should happen after I click “Click here to begin!” button?

I am wondering if this is normal or should i be concerned?


texts: Payment Gateway Integration API Directory

texts: I downloaded PayU Integration API php files to be used in EE2, but I am not too sure in which directory to store it? It's not a module or something similar, its just 3 API files I need to reference in my checkout steps. Where would be best to store them in my EE2 project?


texts: Getting Brilliantretail and Freeform Pro to play nice

texts:
So I was forwarded here by Solspace since this is apparently their "paid" support now for Freeform Pro users :P

c&p of my questions I posed to them:
I recently ran across a project that requires me to make an order form. I'm currently using BrilliantRetail for the storefront, and then a special member groups gets to expedite things using an order form as apposed to going through a standard checkout process.

I have this, somewhat, working with Freeform Pro and am hoping to get a little more help to finish things up.

What I'm doing now is populating the form with channel entries (really br_products, but it works the same). Each product has an qty option associated with it, which is simply a text field in the Freeform form. Now, I'm sort of getting the data I need, but not the details.

So I have a field named qty, then each product produces a tag like this:

<input id="qty" type="number" name="qty[]" value="" />

So the quantity gets passed along but I also needed the Title, SKU, and Price. So I added three hidden fields for this, and added this to my template:

<input id="title" type="hidden" name="title[]" value="{title}" />
<input id="sku" type="hidden" name="sku[]" value="{sku}" />
<input id="price" type="hidden" name="price[]" value="{price}" />

So this also works, but I'm getting product info for products not ordered (because all the hidden fields are now filled in they all get returned, not what I want). What I need to do is only see the "title", "sku", and "price" for products that actually have "qty" filled in. This is my problem, I don't know how to do this??

My idea was using data-attributes for the "qty" input, so the data is attached to the product being ordered, but I don't know how to do this??

Hoping someone here can help me figure this out! Thanks in advance!!


texts: Is it possible to have a front end tag entry form that is responsive? How?

texts: I'm trying to create a front-end channel form using bootstrap and I have a Tag Module field in it. I'd like to make the field responsive so it could be used on a phone. Is there any way to do this?


texts: How the Heck do I turn off Comment Notifications?

texts:
I want disable comment notifications going to the admin everytime a new comment is posted...

But I can't find this setting in the maze that EE is.

How can I turn this off? Where is this setting?


texts: Why does dynamic='no' affect displaying a banner from a different channel?

texts:
The code I have works, but I don't understand why and am seeking an explanation rather than a fix.

I have a template which displays a list of news articles. The channel is called news. I also have another channel called news_overview which is used to create an "intro" page to my list of news articles (which belong in the news channel).

So my template is as follows:

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

{/exp:channel:entries}

{exp:channel:entries channel='news' orderby='date' sort='desc' limit="9" paginate="bottom"}

{title}

Read article

{/exp:channel:entries}

My news entries are categorised.

When I go to a URL (/news) it loads up the template above and everything works.

However when I go to a category based URL such as /news/category/events it loads the appropriate articles....but not the information from news_overview. In other words, it loads the appropriate list of news articles (which are categorised as "events") but is missing the banner and intro text from news_overview at the top of the template - nothing is output there.

I managed to fix this by adding dynamic="no" to the first channel entry tag:

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

This fixed the problem. But I don't understand why?

According to the documentation

  There are times, however, where you do not want the parameters affected by what the URL contains. To override the dynamic nature of the channel tag, use dynamic="no".

Why does the URL affect loading data in this way? My understanding of my initial channel entries tag is that it's just asking for 1 entry from news_overview. Given that this is the same on every page, and isn't even from the news channel, why does it affect it in this way? I understand why it affects the news entries that are found in the query...because the categories are tied to news, but not news_overview.


texts: New member registrations with large file uploads

texts:
I am using the Solspace User for new registrations and want to allow new registrations the ability to upload large files in the user registration form.  I need to allow up to 6 large files, ie: 6 files up to 10mb each.

I thought about DevDemon's channel files as it allows for large uploads, but don't think it works with user registration forms.

Is there any other ideas to allow large file uploads in a User member registration form?

Maybe the only other option is to create a second SAEF using Channel files and get a member to be fill out the second form after their registration. (not ideal for me)


texts:
I'm seeing PHPSESSID set at /members/ when I have $config['cookie_path'] = '' (also tried $config['cookie_path'] = '/').

Shouldn't this config ensure all session cookies are set at the root path? I'm finding data I have in $_SESSION is not available at paths other than /members/


texts: possible for custom module entries to show up in search results

texts:
I built a custom module that has its own group of tables that holds the data, it uses mcp.module_name and mod.module_name for the back/frontend

I want to know if there is a hook or some api that allows for EE's native search to display results from my custom module?

I know I can write my own search feature for my module.

If that is not possible, is there an add-on that allows for me to search for both channel entries and custom module entries?

I looked into low's search and solspace's, and their summary did not hint at that.

Any help is appreciated, thanks.


texts: Convert {reverse_related_entries} to relationships

texts:
I used "{reverse_related_entries}" before but after the upgrade (2.8.1) i like to use the new Relationships.

I found some stuff in the docs. But i can't figure out what i have to do when the relationship-field is into the ChildChannel:

ParentChannel

title

ChildChannel

title
relationship_field (Relationship)

Template for ChildChannel:

{exp:channel:entries channel="ParentChannel"}
{title}
{relationship_field}{relationship_field:title}{/relationship_field}
{/exp:channel:entries}

What i need is a menu like this:

Product-Family (from ParentChannel)

Product 1 (from ChildChannel with Relationship to Product-Family)
Produkt 2 (from ChildChannel with Relationship to Product-Family)
Produkt 3 (from ChildChannel with Relationship to Product-Family)


texts:
I'm using the exp:channel:entries tag to add files to a zip folder, but when I try to download the zip file, I get the following error:

Error : PCLZIP_ERR_MISSING_FILE (-4) : File 'http:/www.domain.com/file_name.pdf' does not exist

However, if I go to: http:/www.domain.com/file_name.pdf, the file does exist and is shown.

Any thoughts?

Here are my tags:

{exp:zip direct_output="no" filename="project_package.zip" comment="Project Package" remove_path="" add_path=""}
{zip:files}
{exp:channel:entries disable="categories|member_data|pagination" limit="1"}
{project_package}
    [{project_package:project_item}]
{/project_package}
{/exp:channel:entries}
{/zip:files}
{/exp:zip}

Thanks in advance!


texts: Transfered EE site to cPanel and keep getting errors

texts:
Had this site on an ispManager server. Moved it over to cPanel and kept getting errors. Now down to this. Not sure why I can't get the site to pull up and just how to fix these errors.

A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for CI_Loader::is_loaded(), called in /home/davidsdrycleaner/public_html/system/codeigniter/system/core/Loader.php on line 74 and defined

Filename: core/Loader.php

Line Number: 93

The code from line 93-100 is as follows, which also works for error #2..

public function is_loaded($class) { if (isset($this->_ci_classes[$class])) { return $this->_ci_classes[$class]; }

  return FALSE;

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: class

Filename: core/Loader.php

Line Number: 95

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 443

The code on line 443 is... header("Status: {$code} {$text}", TRUE);

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/EE_Config.php

Line Number: 208

The code on line 208 is $query = ee()->db->get_where('sites', array('site_id' => $site_id));


texts: Strange issue with expressionengine and store on a Shared Hosting (OVH)

texts:
i've an eccommerce with store on OVH's shared hosting and I often receive this error message when i browse the site:

  Internal Server Error

  The server encountered an internal error or misconfiguration and was unable to complete your request.

  Please contact the server administrator, postmaster@www.griffando.it and inform them of > the time the error occurred, and anything you might have done that may have caused the error.

  More information about this error may be available in the server error log.

PHP Version: 5.3
EE version: 2.5.3
Store version: 1.6.0

Have anyone else encounter in the same issue?
Thanks

edit:
Here there's the error log: https://gist.github.com/9d2f2a1f85374c415042

edit2: thank you all guys, now (i don't know why) the error disappear. I didn't change anything


texts:
I'm looking to re-invent the wheel to some extent and am inquiring how best to go about it.

I'd like to replicate the read/unread functionality of forum software (Not EE but IPB). Thats to say lets say we have 5 entries and I've only read/landed on entry#1, the other 4 would somehow be marked as "unread".

Using entries/comments instead of forums because I want the entire site in my control.

My thinking would be soon as an entry is posted, its ID is recorded in every members "profile" (or a new table mapped to members ID). If a comment is posted, it to is recorded to all members profile (or new table mapped to members ID) not the comment ID but the entry_id it belongs to.

So entry 4-5 could be recorded like a JSON/array
[entry_id2], [entry_id3], [entry_id4], [entry_id5] - don't need comment ID as the comments live on the same page as the entry.

Soon as a member lands on a page with an entry_id listed in their profile (or table) it would delete the corresponding ID - making it 'read'.

On a "view latest entries" summary page, we could then mark item#1 as read (because its not in the users list of unread ID's) and we could then mark the remaining 4 as unread (because it is in their list of unread ID's).

If you made it this far - great. Now, can I source an approach on what I'll need to know to accomplish this. I know I'll need to do create something module/accessory or plugin but NFI on just how.

As a note, there will be about 30-50 members, with about 5-20 posts per day - so not huge but could be – so query/server load will be a factor.


texts:
One of our clients is having a problem with Google indexing incorrect URL's.

The shop templates are using something like...

{if segment_2 != "" AND segment_3 == "" AND segment_4 == ""}
    Parent Category List
    e.g. http://website.com/shop/parent/
{if:elseif segment_2 != "" AND segment_3 != "" AND segment_4 == ""}
    Child Category List
    e.g. http://website.com/shop/parent/child/
{if:elseif segment_2 != "" AND segment_3 != "" AND segment_4 != ""}
    Product
    e.g. http://website.com/shop/parent/child/product/
{/if}

But, they are getting URL's such as...

http://website.com/shop/product/product/
http://website.com/shop/category_group/product/
http://website.com/shop/parent/child/P568
http://website.com/shop/gahhaiiuznyofiw.html/P171
http://website.com/shop/product/cxdrclhujw.html/P216
http://website.com/shop/P1130

Which obviously don't exist and are picking up on the incorrect pagination amount etc.

Why would this happen, and how can this be stopped? E.g. how can we enable a 404 error for these kinds of pages.

The only way I've been able to fix it is for EE to check if the segments are a valid category or product, and then throw a message such as "No products found" or "Category doesn't exist"

But I just don't know how it's finding and generating these weird URLs. Obviously the "P1130" exists because it's showing ALL products, but that page shouldn't be accessible.


texts: EE5 read from template files instead of database

texts:
I recently upgraded from EE2 to EE5. For my template groups and templates, I had a /templates folder that I used to save/load my templates. So the site read from that folder and not the database.

In EE5, for some reason I cannot get it to do the same, so now it is trying to load all templates from code saved in the database instead of the template files.

During the upgrade, the /templates folder was moved to /system/user/templates. I also added this to my config.php file:

$config['save_tmpl_files'] = 'y';

But that also didn't work. Anyone know how to force EE5 to read templates from files instead of database?


texts:
Is there a way to set the expiry time of the login cookie for users on the front end of an EE site?

I know there are hidden config variables for user_session_ttl but they don't seem to work if the Website session type is set to "Cookies only". With Sessions enabled the login system doesn't work properly.

This is on a 2.9.2 site.


texts:
scenario

I want to manage a multi language site without using any add-ons. I’m successful in managing all content from single channel, single field set & single template by using conditional statements.  I’m able to switch between two languages (English & Arabic).

Now i want URL structure like http://example.com/language_parameter/channel_name/module_name/param1/param2/param3

I failed to place language variable before channel name. I tried to alter htaccess file and few other hacks in core files but i couldn’t make the URL structure. Please guide me to achieve the desired URL structure

I’ve used stash to share variables (current language chosen) across templates and write conditional statements to decide what to show.

my .htaccess is

<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 ^(.*)$ /ee_file/index.php/en|ar/$1 [L]

</IfModule>

Now

http://localhost:81/ee_file/index.php/about is able to retrieve {home_video}

{exp:channel:entries channel="home" limit="1"}
            <iframe  src="{home_video}" allowfullscreen></iframe>
 {/exp:channel:entries}

where as http://localhost:81/ee_file/index.php/en/about is not able to retrieve home's variable

I couldn't figure out how to use template routes in placing language variable before channel name in url.


texts: Issue trying to remove entries on one page not displaying on another

texts:
I'm very new to EE so forgive my lack of actual knowledge of the correct terms for channels/entries etc.

We have page entries (the coloured blocks of text)on our charity website which allows you to make a donation to a specific fund - https://www.royalfreecharity.org/give/funds

I want to be able to remove the individual items from this page but when we do it removes the entry from the drop down list on our general funds donation page - https://www.royalfreecharity.org/donate/fund.

is there a way of changing the coding so that if we turn off the entry in one list it will still appear on the drop down donation page.

Here is the current template code

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

{title}

{donate_summary}

                [...]


texts: Is there a definitive way to style a Matrix field in a Safecracker form?

texts:
I'm using Matrix fieldtypes in a front end Safecracker form and to say it looks terrible would be an understatement... I'm wondering whether there is a definitive guide to styling matrix elements in safecracker / frontend forms?

Does anyone have any tips?

Cheers

Jim


texts:
I have a channel where each entry has a field called "Brand". This coincides with an entry title in a different "brands" channel. The best way I've found to set this up is to use a select field type and use the populate feature to draw in these titles. That all works perfectly with one problem...

How do I get it to populate the field in alphabetical order? Currently it's in order of entry which isn't alphabetic and so it's making it hard to use.


texts:
I have some parent entries that I am looking to filter down using a date field.  I know the search functions are not available in the parent or relationship fields.  What other options do I have?

I was thinking of doing a separate entries tag, but have not found a way to select all entries that are related to another specific entry, like this:

{exp:channel:entries search:parent_entry="1234"}


texts: Is there a way to insert an image's "Image Manipulation" into a Wygwam field? I'm using Assets as the file manager in Wygwam.


texts:
I'm having an issue with Matrix where after upgrading from Matrix 2.4.3 to 2.5.3 I get this error on every page of the site regardless of the content on the page. Any ideas on how to fix this would be greatly appreciated.

Error Number: 1054

Unknown column 'is_draft' in 'where clause'

SELECT row_id, col_id_1, col_id_2, col_id_3 FROM exp_matrix_data WHERE field_id = 17 AND entry_id = 1048 AND is_draft = 0 ORDER BY row_order ASC LIMIT 1

Filename: third_party/matrix/ft.matrix.php

Line Number: 2808

Site specifications

EE 2.5.3
PHP Version 5.3.20
SQL 5.0.77

Plugins

Structure
Matrix
WYGWAM
Playa
Assets


texts:
I try to use this exp:channel:entries code to call a list of news for a year (YYYY), that is the third segment in the url … but it doesn’t work: the page is empty.

{exp:channel:entries
    channel="news"
    limit="5"
    year="{segment_3}"
    orderby="date"
    sort="desc"
    paginate="bottom"
}

if I write "2016" or "2015" as a replacement for the {segment_3}, the code works without an error.

any ideas?
thank you very much.


texts:
I have a site that has been using AJW Feedparser to embed an xml feed for months without problems, but has recently stopped working.

If I open the cache file, the feed info is there, but it is no longer being parsed in my EE template.

I tried setting the item path parameter to channel/item but it didn't make a difference. Is there some other parameter I'm missing?

My template code:

{exp:ajw_feedparser
url="feed"
cache_refresh="60"
limit="8"
parse="inward"
debug="true"
}

{event_start} {if event_end != event_start} - {event_end}{/if}

{title}

{/exp:ajw_feedparser}

My feed code:

<?xml version="1.0" encoding="US-ASCII" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
    <atom:link href="feed url" rel="self" type="application/rss+xml" />
    <title>Events</title>
    <ttl>500</ttl>
    <item>
        <title>Event Title</title>
        <event_start>06/06/15</event_start>
        <event_end>06/06/15</event_end>
        <description>Event Description</description>
        <link>Event URL</link>
    </item>
    ...

EDIT: It appears that the plugin is choking on some ascii characters in the feed. I don't have access to change the feed's encoding. Is there a way to get the plugin to handle the ascii characters?


texts: 404 not rendering correctly when using template layouts

texts:
I'm finding in EE 2.10.1 that if I try to check for the presence of a valid category in a URL using Low Seg2Cat and then perform a redirect on error that when the 404 template is rendered it inherits the layout and layout variables specified beneath the redirect in the original template:

{if !segment_3_category_id}
{redirect="404"}
{/if}
{layout="global/.layout_2col"}

This doesn't appear to be a problem when not using layouts. It's as if the layout is processed before the redirect and then the content of the 404 template is inserted 'into' the layout of the page/url which generated the 404.

I'm thinking this could possibly be related to Unexpected results when using {redirect=404} and template layouts but as I'm using 2.10.1 the patch associated with that is already applied.

:?


texts: Expression Engine image:url not replaced on style attr

texts:
Is there a escape mechanism for strings in EE to render EE tags?
This is my snippet

{exp:channel:entries channel="used_vehicles" paginate="top"}
{paginate}
    {pagination_links page_padding="2"}
{/paginate}

{title}

      Ver más

{/exp:channel:entries}

I need that {image:url:medium} be replaced by the entry's image url. But on the inspector it seems it only puts {image:url:medium}. Any ideas?

edit:
Forgot to say that, sadly, I can't change the div to an img tag.


texts: Javascript Error in themes/javascript/compressed/jquery/plugins/ee_filebrowser.js

texts:
I have an “add file” link in a plain template. When I click it, I get:

Timestamp: 2/18/14, 11:43:40 PM
Error: TypeError: d is undefined
Source File: https://preview.mycustomsite.com/index.php?S=e6d26fe1e6d862912992a7dfe770a712aa694471&D=cp&C=javascript&M=combo_load&ui=datepicker,resizable,draggable,droppable&plugin=ee_url_title,tmpl,ee_table,scrollable,scrollable.navigator,ee_filebrowser,ee_fileuploader,markitup,toolbox.expose,overlay&file=underscore,files/publish_fields,json2,cp/publish,cp/publish_tabs,cp/publish_admin&v=1392357549
Line: 364

Short of disabling plugins one at a time until it works, has anyone ever had this issue?

UPDATE: I copied the files and the database to my local environment and it works just fine. It is still broken on the staging server. I diff'ed the javascript and HTML files and the only difference is the v=????? numbers.

UPDATE: its because the EE ajax loader is loading some javascript asynchronously over HTTP, yet the site is loading over HTTPS. Now I need to figure out how to get it to load over HTTPS.


texts: Send order-confirmation to different emails in Expresso-Store

texts:
I've created an order-based store using ... Store! Recently my client asked if certain orders could be send to a different email-adress based on which member-category (using IntoEEtive's Member Categories) the customer belonged to.

I created a hidden input-field on the check-out-page, with an email dynamically inserted based on the member's category. Can I use that value in any way to send confirmation-emails? When I tried to enter {order_custom1} in the BBC-field I got an error (of course...).


texts:
I want to use the module Shine pdf to generate pdf's. Only problem is it doesn't render embed tags in the template.

I would like to change the code in the module so it would render embed tags. This option would save me tons of time. Could someone push me in the right direction into what EE function I should use for this?


texts: Creating Custom CP Links to Other Site Channels in MSM with Zoo Flexible Admin

texts:
I've got an MSM installation with 2 sites (Site 1, Site 2). I'm building out a custom control panel menu using Zoo Flexible Admin. I would like my admin to be able to click a custom link in the CP which will:

switch the MSM site from Site 2 to Site 1
take them to a specific channel edit page on Site 1

I can't seem to figure out how to combine these two into a single link, as the CP url for switching sites seems to include a query string of "C=sites" and the link to a specific channel edit page also uses the query string "C=content_edit".

The reason for the season is that Site 1 holds a Member Profile channel (using Profile:Edit). I'd like my admin (who administers both Site 1 and Site 2) to be able to quickly go to this Member Profile channel from Site 2 (avoiding the extra step of having to switch sites first, and avoiding the confusing conversation where I try to explain why the admin must go to Site 1 to change settings for a Site 2 member).


texts: Is it correct to put "{site_url}" inside a global variable?

texts: As the title says, is it correct? Thanks


texts: Why have Chase Paymentech orders started failing in CartThrob

texts: We are having all orders fail since around the middle of June 2014. We are using an unofficial payment gateway plugin for Chase Paymentech. I'm not seeing why it has suddenly stopped working and no one is aware of any changes made on the site or in CartThrob. Is this possibly related to the 'heartbleed' updates that everyone was doing for SSL certificates?


texts: Cartthrob Issue/Error - Adding to cart gives "Not in Stock"

texts:
Carthrob 4.6.2 - EE5

When I add an item to the cart I get the error "XXX is currently out of stock" This happens on my own custom inventory channel. It doesn't happen with the installed examples setup on initial CT installation. All channel fields are mapped to the CT ones.


texts: Exporting lists of channels and associated fields?

texts:
Is there a simple way of exporting all the channels and associated fields?

Rather than copying everything out of the channel field groups manually, I'm looking for a simple way (even via a plugin) to export the list of channels and associated fields.

While all the fields are usually planned out in advance, the final product is a little different and I want something that could be easy to print out - for a variety of reasons, including double-checking the work and making a usage guide for end users.


texts: Order Status Email Fields... which box is being used?

texts:
https://www.exp-resso.com/docs/settings_order_statuses.html

There are the two boxes containing email templates, which box should contain the emails I want to send?


texts:
I am using the Month calendar. I would like to display the months and days in Arabic language. Can anyone help me with this?

Can you please guide me how to call the arabic calendar?


texts: How To Manipulate Database In Custom Expresso Store Payment Gateway

texts:
Is it possible to use EE-standard database queries in a custom payment gateway written using Omnipay format to manipulate data in the database?

I.E. use $query = ee()->db->select('title, url_title, field_id_14') within the PurchaseRequest class?


texts: Shine PDF generate blank when load generate shine pdf template on ajax

texts:
When We have Load shine pdf Generate page by ajax load that time pdf generate but it blank, but without ajax it worked fine.

We need to generate pdf in Background process so that call template on ajax.

let me know if you have any idea.

Thanks,
Piyush


texts:
I have recently taken over administration of a legacy EE (2.5.5) / CartThrob (2.1.4) site.  I've moved this successfully to a new server, and for the most part everything seems to be working.

The site has CT Admin installed (1.4.4).

The problem I'm having is that the CT Admin monthly report for the current month isn't working because the first order placed this month was at 00:15 on 1st June, and the CT Admin code is identifying this as 23:15 on 31st May.

Does anyone have any suggestions as to what I might do to fix this?  This is my first experience with EE, so I'm still getting to grips with it ...

Cheers,

Crac


texts:
Anyone getting this with the new Assets 2.0?  Receive the error when saving the channel field:

Error Number: 1054

Unknown column '0' in 'where clause'

SELECT * FROM (`exp_assets_folders`) WHERE `source_type` = 'ee' AND `source_id` = '1' AND `0` = 'parent_id'

Filename: third_party/assets/ft.assets.php

Line Number: 332

Running EE 2.5.5 and the Asset field is inside of a Matrix.


texts: Email worked on dev server, not on live server

texts:
Have just moved a site live. But no emails are coming through.

No CartThrob order confirmations. I have tried sendmail and phpmail. I have also tried both sendmail and phpmail and just sending from the CP with the 'communicate' feature.

With email debugging on the CP says everything is fine:

Your email has been sent. Your message has been successfully sent using the following protocol: sendmail

CartThrob on the front end throws an error at the point it wants to send an order confirmation and says to turn email debug off.

Where do I start looking? This client doesn't use email with there webhost, they use Google apps - not sure if that matters?


texts: I've created custom tabs for the Channel entry form. Now, I want to rename it. The the toolbar for configuring the layout is open, I see a pencil icon to the left of my custom tab (as well as all the other tabs). When I click it, nothing happens. What am I supposed to see when I click that? Is that how I should be editing the tab name?


texts:
I'm trying to display a list of Users based upon the value of a custom field that I am storing dynamicly in a Stash variable.

Basicly, if the Logged in Users Company ID is 1, I want to show a list of other users who also have a company ID of 1. When I place the Stash variable {exp:stash:get name='company_id'} inside of the User Tags It doesn't return results, however, if I hard code it I get what I expect.

Am I missing something with passing dynamic Variables into the User Tags?

My User tags look like this:

{exp:user:users search:company_id="{exp:stash:get name='company_id'}"}
   {if no_results}
Sorry, no sports heroes here!

Add a User

   {/if}

{screen_name} - {company_id} - {email}

{/exp:user:users}

Russ


texts: Low seg2cat & Stash: Error message when I use it in a conditional

texts:
I think I may be getting a parse order problem when I try and use Low's seg2cat variable in a conditional with Stash.

Here's my code:

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

    {if segment_2_category_id != ''}

        {exp:stash:set_list name="news_list" parse_tags="yes" parse_depth="2"}
            {exp:channel:entries channel="news" status="open|featured" orderby="date" sort="desc" limit="10" category="{segment_2_category_id}"}
                {stash:item_title}{title}{/stash:item_title}
            {/exp:channel:entries}
        {/exp:stash:set_list}
    {/if}
 {/exp:stash:set}

Here's my error message:

A PHP Error was encountered
Message: Invalid EE Conditional Variable: {if segment_2_category_id != ''}

If I run the IF statement outside of stash:set it fails gracefully. I presume Stash is being parsed before low seg2cat variable is available. Anyone know how I can get around this?

Thanks.


texts: EE Matrix filepicker error: Cannot read property 'rows' of null

texts:
I'm getting the following error when opening the file picker in a Matrix field. It's broken the keyword search box and pagination within the file picker.

TypeError: Cannot read property 'rows' of null
http://www.example.org/admin.php?S=0&D=cp&C=javascript&M=combo_load&ui=datepicker,resizable,draggable,droppable&plugin=tmpl,ee_table,ee_filebrowser,ee_fileuploader,markitup,toolbox.expose,overlay,ee_url_title&file=cp/publish,cp/date,files/publish_fields,cp/publish_tabs,cp/publish_admin&v=1386674008:263

EE v2.7.3 Matrix v2.6.1

Update #1:

It seems the error is caused by the following PHP error:

A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Filemanager.php
Line Number: 882

Update #2

Here's the line responsible for the error:

$dirs = $this->directories(FALSE, TRUE);
$dir = $dirs[$params['dir_id']]; // error occurs here

The definition of $this->directories is as follows:

function directories($ajax = FALSE, $return_all = FALSE, $ignore_site_id = FALSE)

Seems odd that it's passing $ajax as FALSE when it's being called by ajax. Could this be the problem?


texts: Images were working in EE's native File Manager, but were blank in Assets. I checked all the usual suspects, reindexed them with native EE File Manager and Assets, but the problem persisted. Andris at Pixel & Tonic pointed to the problem.


texts: Problem with Template Routes and Pagination

texts:
I have an established site that was working just fine, but following a point-upgrade of EE (3.5.6 to 3.5.9) template routes that include a pagination term have all stopped working.  I am mystified as to what is going on - maybe someone can suggest either a fix or a way to find out what is going on...

I have several template routes of the form /resources/category/{page:pagination} segments=no.

Currently any two-segment URL that would match this type of route (e.g. /resources/public-sector) goes to a 404.   Identical URLs with a pagination term (e.g. /resources/public-sector/P5) work as they should.

If I send a URL that has a random third segment to the route (e.g. /resources/public-sector/stuff) the route goes to a 404 (correctly).

However, if I send a URL that has a third segment that has the form of a pagination term, but a lower case letter (e.g. /resources/public-sctor/p7) the route returns the opening page (what I should have got when there is no third segment).

I realise that with cleverness I could use a single route for all the various categories, but for various reasons all the various categories have their own route (so one for /resources/public-sector, a similar but separate one for /resources/presentations etc.) - and this behaviour is replicated across all of them.

Does anyone know what is going on here?  Anyone seen it before?

Thanks alot for any help on this.  FWIW It looks a lot like the unresolved issue in this thread.


texts:
I'm trying to create something similar like http://pinterest.com
a popup with a magical url rewrite.

I'm wondering if anyone tried something similar?

There is a tutorial to do staticly here: http://html5doctor.com/history-api/
But i'm wondering how to do this dynamical with every new entry

the possibilities so far could be :
- adjusting the script with EE tags (creating a super long javascript though)
- perhaps nsm-htaccess-generator to create the httaccess with every new entry ?
- a way to detect in which page i currently am

any other idea's how to handle this?
thanks


texts: How can I customise the publish/edit screens, or provide a custom UI for editing entries?

texts: I'd like to provide my users a prettier UI to publish and edit/delete content (compared to what is provided by EE's control panel). For example, say I wanted to divide my entry form into tabs, etc. What are my options?


texts: How to create a form and insert form data to database in ExpressionEngine?

texts:
I am developing a website in ExpressionEngine and I am a newbie for ExpressionEngine and CodeIgniter.

I want to create a form on page and want to insert it data after submission to my customized table in ExpressionEngine .

I don't want to go deep in ExpressionEngine. I just want a form on page and when user submit the form all fields value insert into my custom table.


texts:
I'm trying to display some user entered data on the success/thank you page.

From http://www.solspace.com/forums/viewthread/10692/ I've got return="rsvp/success/%%entry_id%%" and when I submit the form I end up rsvp/success/49, rsvp/success/50, rsvp/success/51, etc.

On rsvp/success I have:

{exp:freeform:entries entry_id="{segment_3}"}
{if freeform:no_results}
Sorry, no results were found.
{/if}

{freeform:field:concert_date} / {freeform:field:concert_tickets} Guests

{/exp:freeform:entries}

But I always get no results were found. I've tried adding dynamic="no". I've tried hard coding the entry_id. I've even tried search:FIELD_NAME and looking for something else in the entry. Always no results were found.

In a different area of the site, I've had use form_id and entry_id together to get a single entry. Does it always need both?

EE 2.7.2, Freeform Pro 4.1.3

Thanks
Amanda


texts: Entire site down - Seemingly random (and fatal) ExpressionEngine error

texts:
Every so often, my entire site goes down for an indefinite period of time. Restarting the MySQL service appears to temporarily fix the issue. I recently upgraded to EE 2.7 and about the same time my website started to experiencing a bit of a slow down. Just when this error occurred, I noticed a huge spike in response time (1 million ms) for PHP processing in New Relic!

Above image shows a 30 hour window for New Relic

This shows a 6 hour window for new relic

Any ideas on what could be happening? Any suggestions for diagnosing this? Remember, this error only occurs periodically and seemingly without warning.


texts: Expresso Store, USPS shipping options for individual products?

texts:
I'm using the USPS Shipping plugin to calculate shipping in my store. We use USPS Flat Rate Boxes to ship and most products fit in those boxes. In order to pull the correct shipping rates during checkout I have to set the container to "Flat Rate Box" in the shipping extension settings.

This works great, except we have couple products that do not fit in a flat rate box and need special packaging. When I try to add one of these products to the cart I get an error stating:

  Store (Shipping): The entered length must be less than or equal to 11.00000 inches.

Is it possible to use the USPS Shipping extension but set a custom shipping option for the individual products that need a custom option?

So far I have been unable to find a solution.

Thank you!


texts: Postmaster user defined hooks & member registration

texts:
EE 2.5.5. Postmaster 1.2. FreeMember 2.1.1

The predefined hooks (some of which are named differently in the docs) don't contain one for member registration. So I'm using a user defined hook and entering:

member_member_register

But when submitting a new member form I get a blank page after just under a minute. Everything works fine without that Postmaster Hook.

I should mention that member accounts are automatically activated, which is one reason why we can't use the standard EE emails. Also, no info related to this hook appears in exp_postmaster_mailbox.

Am I missing something obvious?


texts: what happens if you delete a category in EE?

texts: What happens when I delete a category? We have created far too many categories, in a hierarchical list. I want to reduce it from 100 to 15 by deleting the sub-categories. Will the article then default back to the parent category? Or will it be completely detached from any category?


texts: Is it possible to populate a select list field from another grid field?

texts:
I'm working on a project where the client wants to be able to upload new page background images and then select one for each page/section of the site.

A solution I thought might solve this would be to have a grid field allowing for the uploading of the images, say up to 10 rows. Then add in another select list field that is populated from the previous grid field. I could then take that selected value and change the background image via css.

As the grid field is quite new I'm not sure if this is possible?

Also, if there is a better way of solving this please advise too.

Thanks.


texts: Expresso Store: Reorder button for previous orders

texts:
I'd like to add a "Reorder" button to the previous orders (store:orders) in Store so when a user clicks the button that same item, quantity and modifiers will be placed in to their shopping cart. I've cobbled together the following but it loads slowly, the modifiers don't work as the {modifier_input_name} tag doesn't exist in the {items} tag and it only seems to process the first four of the {exp:store:product} tags. Is there a better way to do this?

Order history template:

{exp:store:orders member_id='CURRENT_USER' order_by='order_date' sort='desc'}
{items} {title}
{embed="includes/order_history_reorder" entry_id="{entry_id}" hidden_fields="<input type='hidden' name='item_qty' value='{item_qty}' class='item_quantity' />{modifiers}<input name='UNKNOWN' value='{modifier_value}' type='hidden'>{/modifiers}" }
{/items}
{/exp:store:orders}

includes/order_history_reorder template:

{exp:store:product entry_id="{embed:entry_id}" disable_javascript="yes"}
{embed:hidden_fields}
<input type="submit" name="submit" class="submit-button" value="{lv_reorder_text}" />
{/exp:store:product}


texts:
Running EE v2.5.5 and FreeMember 2.1.1

I am using the following code to log out a user:

logout

clicking the link takes me to EE's system message page with the following message:

You are not authorized to perform the following action

am I implementing this wrong or is there a bug perhaps?

Here are links to my templates

logging out from here: http://pastie.org/6317009

any page I use for the return param creates the same error

Thanks!


texts: Limit a Low Replace query to only the first instance

texts:
Is there a way to limit the "find" and "Replace" to only the first occurance of an item?

For instance, I want to replace only the the first < p > tag with < p class="lead">

Thanks.
Russ


texts: Is there a way to limit display of entries to a within a recent time period?

texts:
I have a news section on a site and would like to limit entries on certain pages to "fresher" content so that it will only show entries that have been entered within the last three months.

In reviewing all the parameters start_on looks like the closest fit but it would have to be dynamic so that it was something like today's date minus 90 days or something like that.

Is anyone familiar with a way to do this?

Thanks.


texts: Has Anyone Migrate a Site from CraftCMS to ExpressionEngine?

texts:
Are there any 'How-To Guides' on switching from a Craft 2 site to ExpressionEngine?

I sit on a committee, where their developer switched them to Craft 2 maybe 5 years ago. Unfortunately, it is poorly set-up and the group that set-up no longer supports it. I've been helping them add new templates, adjust code, and make minor/medium changes, but have reached my limit in terms of being able to tell what's a restriction/limitation introduced by the original developer and their set-up versus the software.

I'm exploring what a clean install of Craft 3 might offer, as well as just moving them to ExpressionEngine 5, which I prefer. But it's for them not me. So far, everything I find is migrating from EE2 to Craft 2 or Craft 3 (which makes sense, since that was the great migration period).

But EE5 is superior to Craft 2 and on par with Craft 3, so I'm hoping someone has made the switch and has some ideas around best practices.


texts:
I am trying to store items selected from a list of checkbox shown in the template, into a textarea custom field(item), but like this seems not working, and I am getting this error:Error Number: 1054
Unknown column 'Array' in 'field list'
Any idea if I can achieve this?

{exp:channel:form channel="my_channel" entry_id="{segment_3}" limit="1" preserve_checkboxes="yes"}

        <input type="checkbox" name="item[]" value="item1"{checked} />item1

        <input type="checkbox" name="item[]" value="item2"{checked} />item2

        <input type="checkbox" name="item[]" value="item3"{checked} />item3

        <input type="checkbox" name="item[]" value="item4"{checked} />item4

        <input type="checkbox" name="item[]" value="item5"{checked} />item5

{/exp:channel:form}


texts: Creating an instance of Expression Engine 2 plugin class from template

texts:
I have created an EE2 plugin under third_party folder and it succesfully shows up in Plugins list @ backend.

Now, is it possible to create an instance of that plugin class directly from a template as I don't need any template tag behaviour? Eg.

<?php
$cart = new Cart;
?>

Where as the plugin would have the following structure:

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

$plugin_info = array();

/**
 * Cart Class
 * ...
 */

class Cart {

    var $return_data;
    function Cart() {
    }

    ...

}
?>

OR, is there a better way in achieving this preserving the possibility to use tags later on? Thanks!


texts: How can I show all available UPS Shipping methods at once?

texts:
I am trying to add UPS to a store and have it show all the UPS choices in the US and all the International choices automatically for the user. Is there a simple way to add all the UPS choices to the Checkout page?

From what I see it looks I would need to create 10 different UPS plugins each with UPS credentials and then use jQuery to manually switch based off which country the user uses?

Please tell me I am dense and missed something obvious. Thanks...


texts:
Running EE 2.7.2

Wondering if there's an elegant way to duplicate an entry AND at the same time take the entire child tree/structure with it.

Basically, we have around 450 pages that live under the English side of the site, we'll call it 'EN' and need to duplicate this, exactly, on the French side.

Something like https://devot-ee.com/add-ons/mx-cloner is what I'm looking for but that only does one entry at a time. I'd like to clone the top level and copy that and the 5 levels below is in one fell swoop.

Is that a thing?


texts: Using an IF ELSE statement to find user option & redirect appropriately

texts:
Very inexperienced with EE 2.4, but im experienced with PHP & HTML. I am attempting to use the following code to get variables from URL & then run an IF/IF ELSE statement:

<?php $firstname=$_GET[“firstname”]; $zipcode=$_GET[“zipcode”]; $option=$_GET[“option”];
  if ($option==”Instant Medigap Prices”) { header(‘Location: 1’); }
  elseif ($option==”2”) { header(‘Location: location2test’); }
  elseif ($option==”3”){ header(‘Location: location3test’); }
  elseif ($option==”4”){ header(“Location: location4test”); }
?>

Obviously the above wont work in EE with php enabled. How can i change it to allow it to work within EE 2.4? I’ve also tried using Mo Variables for aid but still unsure on implementation. i.e. how do i set a var

 {get:option}

Help & Clarification much appreciated !!


texts: How do I show a field if it contains content, but hide it if it's empty?

texts:
I have:

{exp:channel:entries channel="products" limit="1" status="open"}

Properties

{properties}

Applications

{applications}

Production

{production}

Packaging

{packaging}

{/exp:channel:entries}

How do I hide:

Production

{production}

If there is nothing in the {production} field?

Thanks.


texts: Search results based on segment / Structure top parent

texts:
Is it possible to make a search on only subpages from the top segment? Example:

1) The user is on www.example.com/products/product-title/ and do a search on this site
2) The search results displays children of their top parent, /products

The reason why I want this is because I have several sections of the site that has been build up with exactly the same channels and structure. In other words, www.example.com/products/ and www.example.com/about/ is build up the same way, just with different content, and when I'm in "about" I only want to search articles that belong to that parent.


texts: Simple PHP Substring not Working in Template

texts:
This should be straightforward.  I just need to take my event summary from the Solspace Calendar plugin and truncate it to say 280 characters.  I have PHP set to "Yes", and "Output" parsing stage.  It is breaking and not rendering the template.   I'm assuming it's because I'm using it in a variable pair.  Below is the template:

{exp:calendar:cal calendar_id="214" date_range_start="-2 weeks" date_range_end="+5 weeks"}
{events}

            {event_start_date format="%F %j, %Y"}

            {if event_pic != ""}

{/if}

{event_title}

{event_location} - <?php echo substr("{event_summary}", 0, 280); ?>

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


texts:
Do you have any alternatives for "tmpl_file_basepath" used in EE2 (it looks like this function has been deleted from EE3 version)? I wish to move "templates" folder above root but cannot find any solution yet.

Thanks.


texts: Multi Site Manager site dropdown showing on single site

texts:
I have a single site on a fresh install. However, in the top right corner, clicking on the site name gives the dropdown as if this were a multi site install. I am not running MSM.

Additionally, it wasn't clear where to edit the site name, I had to do so in the DB.

Bug?


texts: What are my best options for powerful member management with many custom fields?

texts:
Working on a college site that will have many, many members (in the hundreds), only a fraction of which will actually be editors in the CMS. All members need to have access to their own information (so they can update with ease). Each member will have a ton of custom fields, too, including specialty fields like Matrix and Playa (which, as I understand it, isn't allowed with the built-in member management).

What are my options here? Really appreciate any suggestions I can get.


texts: Low search showing repeating/too many results

texts:
The search is returning too many results and repeating the same result entries more then once.

I have a second collection set up almost exactly the same which doesn't do this.

Any idea what is going on?
Thanks for looking.

Search box code

  {exp:low_search:form result_page="publications/pub_results"}
     <fieldset>
       <input type="search" name="keywords" id="keywords"/>
       <button type="submit">Search Publications</button>
     </fieldset>
  {/exp:low_search:form}

Results page code (with mark up simplified)

    {exp:low_search:results query="{segment_3}" limit="10" collection="publications_c" search_mode="auto"}
  {if count ==  1}

{pub_year}

{full_title}.

                   {/if}

             {if count == total_results}
{/if}
                {if no_results}
No search results. Check your spelling or try a different search term.
{/if}
              {/exp:low_search:results}


texts: Runaway memory usage on 2 of 3 servers - strange situation

texts:
I have a client site that was updated to ee2 (2.5.0) about 15 months ago. Its at http://www.smart-publications.com. The host both after and before that upgrade is yourhost.com. Everything worked fine. I updated them to 2.6.1, and updated all the add-ons that needed an update, about 10 days ago. Deployed the updates and within 15 minutes the server came down due to runaway memory usage. After working with the host and trying a few more times, no change.

We run a Rackspace cloud sites server for some client hosting, so I setup a site there and deployed the files. Using the testing URL that Rackspace provides, the site seemed fine. I opened the site in 8 tabs with auto reload on and the memory didn't go nuts. So I pointed the A record to this server for the time being and that is where the site is running now.

I figured that Yourhost may not have servers optimized for EE so I recommended to the client setting up a VPS on Liquidweb, which I used for years with EE1 and 2 sites before Rackspace. We did that, and I deployed the site there and, using a spare domain name I own, set the site up for that. Opening several tabs with the auto reload running sent the memory on the server out of control.

I thought maybe it was a 2.6.1 issue, or one of the add ons that I had updated, so I blew away the site and redeployed it using the original 2.5.0 version before I had done any of the upgrades. Same problem.

Can anyone help be figure out what the hell is going on? I've never seen anything like this.


texts: Is it possible to customise columns that are shown in a Playa pane?

texts:
Is it possible to make a Playa field show you additional options to help choose an entry from the Playa pane? I've got a situation where there's lots of entries on a site with the same titles (blog posts and user-submitted image galleries), so it makes it difficult to pick the correct entry. See the screenshot below:

Ideally, I'd like to be able to choose which columns are shown in the list alongside title, in a similar way to how you can choose the columns when viewing an Assets field in list mode. If that wasn't possible, then even being able to see the title and entry id in a title tag when hovering over the entry title would be better than nothing and save the trial and error of picking, saving, testing, and repeating, in order to get the correct entry.

I've looked in the various Playa settings and can't see any way to do this, so this may turn into a feature request. But I thought I'd post here first in case I was missing something, or if there was a config override that I wasn't aware of that might allow something like this (like magic ;-)), thanks.


texts:
I have a live site with a Rich Text Editor field. The RTE field is really not allowing them to accomplish what I need them to be able to. specifically linking to files. So I have decided to use wyvern instead. In the past in EE2 I had changed fields from RTE or textarea to wygwam with no issue. In this case I have installed wyvern and created a test field just to make sure all was working well. When I go back to the main field to change the type from RTE to Wyvern wyvern is not listed as an option. In fact the options are very limited (email address, text input, textarea, URL)

Does anyone know why wyvern wouldn't be listed as an option or why the options are so limited? I really dont want to have to migrate all the data to a new field as I would have to copy paste everything and then go change the field name in all the templates.


texts: Need quick Fix for captcha security flaw in EE 2.x

texts:
On the registration form page, you take note of the captcha code and
fill the form with errors (i.e.: unmatched passwords).
Reload the page , you now have a new captcha image.
Fill the form correctly (i.e.: matching passwords) and enter the
old captcha code you got in step 1
submit the form

The form submits, while it should not.
The security guys don't like that and I need a way to fix this.

Any ideas ?

Side note : I'm using freemember extension and reCaptcha extension does not seem to play nicely with free member.
(the problem occurs even on default EE install)


texts: Solspace tag display all available tags from a channel and related tag group

texts:
I have a template which displays all products (entries) for a particular channel:

Viewing all entries tagged with:

{exp:channel:entries channel="products" category_group="1" category="not 7|8|9" status="retail|showroom|open" dynamic="no" orderby="title" sort="asc"}
        {exp:tag:tags entry_id="{entry_id}" backspace="2" tag_group_name="Attributes" orderby="tag_name" sort="desc"} {tag} |{/exp:tag:tags}
{/exp:channel:entries}

{exp:channel:entries channel="products" category_group="1" category="not 7|8|9" status="retail|showroom|open" dynamic="no" orderby="title" sort="asc" limit="8" paginate="bottom"}

{switch='|||

'}{snp_paginate} {/exp:channel:entries}

 {exp:stash:get name='pagination_links' random limit="1" process="end"}

but that is not working in a way I expect (some tags are displayed multiple times).

At that point my question is how can I get to display all tags (but not doubles) assigned to products (displayed using template above) from particular tag group?

Also is there any way to create something similar what NewEgg has on a left side bar, where customer can select "tags" and display only products which has those tags assigned?


texts:
I have some modules on a site that basically functions as ORMs and one as a search engine for those ORMs. The problem I'm currently running into is that when a search term is submitted, it gets double urlencoded, and looks like this:

submitted term: "Boston +New"
encoded url: "site.com/search/Boston%2B%252BNew"

and this is correct, and allows me to safely pass these terms through a giant search module. It also allows me to decode one step safely in the module and do searches in BOOLEAN MODE so users can use a few specials affect characters (the + in front of New puts extra weight on that word being in the match-against).

This is all fine. However, using EE's standard pagination tool, it outputs the url links in this manner:

pagination_url: "site.com/search/Boston+%2BNew/P20"

so when you go to any other page, the search term isn't what you searched for. I'm looking for a simpler solution than using regex to pull apart the pagination_url, mangle it, and put it back together. Is there a way to get just the pagination top segment (ie, P10, P20)? Then I can just put the url together with the segment var, ie

site.com/search/{segment_2}/{page_path}

Or any other suggestions?


texts: Related_categories_mode="yes" outputs all channel entires and isn't related to current entry

texts:
We're build a shop and want to output similar products using categories, everything is now working apart from the related products. It's currently just outputting the latest 5 products that have been added, they don't belong to the same category at all so i'm pretty confused as to why this would happen? We have the following code:

{exp:channel:entries related_categories_mode="yes" custom_fields="yes" limit="5"}
{if count == 1}

Related products

{/if}

          {product_image limit="1"}

          {/product_image}

{title}

            {exp:store:product entry_id="{entry_id}" disable_form="yes" disable_javascript="yes"}
            {if on_sale}

Sale

              {price}
              {if:else}
              {regular_price}
              {/if}
            {/exp:store:product}

  {if count == total_results}

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

I've tried using dynamic="no" and url_title="{segment_2}" together but this brings up the no matches, any ideas would be appreciated.


texts:
Don't need an edit function - just a way for a new member to post new entries, one time, in custom fields (10 of them) in a single channel via one page Channel Form. So basically one form with 10 fields, each of which will be a new entry in one single channel.

Not sure if Channel Form can do this or if there's another plugin. I found one called Mefu but it only works for editing multiples not posting new ones.

Any suggestions?


texts:
Anyone able to provide what needs to be change in the core to allow this?

I was able to allow it in the email field by changing the regex in email_helper.php but I am using zoo visitor and have email as username set and username is not allowing it.

I have read about every post on the matter out there but they are all for older versions of EE. I am running 2.8.

Please help, this might be a deal breaker for me at this point.

Thanks

Mike


texts: Playa link with matrix field is not working

texts:
I am using playa with in matrix field type and want to get the url of playa link.

For eg:-

I have created Channel (named as XYZ) and following fields  as below :

a) gallery_name : text

b) gallery : matrix

   i) link  : Playa
   ii) link_text : text

Now i want to show gallery link and link_text.

I am using code below :

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

    {gallery_name}

    {gallery}
        {link_text}
    {/gallery}

{/exp:channel:entries}

But the code  is not working.

{link}{page_uri}{/link}

this code is not showing playa link that is selected before for respective text.

So what is missing/wrong here. Please give me a solution.


texts:
I'm using MX Title Control to concatenate two entry fields into the entry title. This is working correctly for the URL Title value as well. However, my Structure Listing URL looks like auto_replace-97.

Has anyone gotten MX Title Control working with Structure URLs?


texts: php error Filename: helpers/form_helper.php

texts:
Got an error

A PHP Error was encountered
Severity: Notice

Message: Array to string conversion

Filename: helpers/form_helper.php

Line Number: 345

I do not have a helpers folder in my main directory but I have one in my codeigniter > system and the file form_helper.php exists there.

Is the path to CI needing updated?


texts: I'm finding that an installation is not sending email notifications to members once the account has been changed from pending. Is there an option I need to check to send the notification? I thought it was sent automatically. The email to notify admin that someone has registered is being sent and received.


texts:
I have an events listings. Events are by “start_date”. When I have no events I want to display “NO EVENTS SCHEDULED” When I have events I want to remove the NO EVENTS SCHEDULED. I can’t seem to get the conditionals right. Need help, can not seem to get my head around it.

{exp:channel:entries channel=“Events” sort="asc" orderby="start_date"}
{if star_date == ""}
No Events Scheduled
{/if}
{if start_date}
{title}
{/if}

{start_date format="%l, %F %j, %Y; %g:%i %a"}</>

{rentals_main_copy}
{if start_date} New Vic, 33 W. Victoria Street, Santa Barbara, CA, 93101 (map) {/if}
{if start_date}
{/if}

 {/exp:channel:entries}


texts:
I'm trying to pass a category id to an embed like so:

{if local_ratings=="Los Angeles"}
{embed="embeds/ratings" cat="22"}
{/if}

The "local_ratings" is an EE dropdown.

In my embed I have:

{exp:channel:entries channel="reports" disable="member_data|trackbacks"  limit="200" category="cat" dynamic="no"}
... stuff ...
      {if absolute_count == total_results}{if:else},{/if}
{/exp:channel:entries}

I cannot get anything to output from the embed. If I manually add an ID to the embed it works.


texts: how to convert $_GET and include from php to EE tags

texts:
How can i convert the following code to EE Tags?

<?php
if($_GET['rel']!='tab'){
    include 'header.php';
}
?>

I've used this with enabling the template to PHP, but i get the following error.

A PHP Error was encountered

Severity: Notice

Message: Undefined index: del

Filename: libraries/Functions.php(683) : eval()'d code

Line Number: 5

Thanks


texts: Can´t post comments, have pagination issues - assume Database Probs due to migration from Dev to Production

texts:
In my DEV-envoronment I can post comments and pagination works. On my production machine not.
I assume, that I did something wrong, when I used phpMyAdmin to dump the Dev-DB and then uploaded the DB into my Production Server.

I checked around and changed the paths in the Production-DB manually. But I have to admit, since I did this for the first time, that it was a laborious proccess. I saved the templates as files and ftp´ed them onto the Production Server, I moved the DB with phpMyAdmin and then - as mentioned - I went through the CP on the Production-Server to set the paths.

Not very clever, I admit, but now I´m stumped. I turned debuigging on, but I can´t see any issues.

Which tools can I use to figure out, why the comments aren´t posted to the DB. I checked with phpMyAdmin: When I post a comment nothing gets added to the DB.

Regarding the pagination: This code works on my Dev-machine:

{paginate}
Seite {current_page} von {total_pages} | blättern: {pagination_links}
{/paginate}

But on the Production machine EE is not executing this code while rendering the page, but just "prints" it out, so that it´s there like a text string.


texts: How do I display alternative text when there are no active entries in a channel?

texts:
I have an events channel that displays brief information about upcoming events. Those entries are set to 'expire' when they pass a certain date. When there aren't any pending events I would like to display alternative text like “There are no upcoming events at this time. Sign up for a our Newsletter to keep up to date.”

I tried the following but it does not work because there isn't a case where there aren't any entries at all:

{if total_entries != 0}

{title}

{event_dates}

    {event_location}

    {event_summary}
{if:else}

There are no upcoming events at this time. Sign up for a our Newsletter to keep up to date.

{/if}

Is there a way to set a condition for when there aren't any entries that aren't expired?


texts: DevDemon Updater - updating EE2.5.2 to 2.6.1 Error Unexpected server response, probably a php error

texts:
I am trying to update my EE installation from 2.5.2 to 2.6.1 using DevDemon Updater v3.2.5.

I get the following errors on the "update CP Theme Corporate (N/A)" stage (first stage)

"Error Unexpected server response, probably a php error. Show more"

When I view the PHP errors, they all relate to images in a themes/cp_global_images/corporate/
folder, which does not exist, I have looked in other EE installations and that folder doesn't exist in them either.

A PHP Error was encountered

Severity: Warning

Message:
copy(/x/x/public_html/themes/cp_global_images/corporate/calendar.gi
f)
[function.copy]: failed to open stream: No such file or directory

Filename: libraries/updater_transfer.php

Line Number: 820

Screen grab here:


texts:
I find myself struggling with some of Structure's documentation and cannot find an answer via Google either, here's the skinny:

Currently have 2 top level "pages" (2 more but are hidden because I dont need them in the nav list). Each of these have children pages and everything is dandy and working.

Top Level Page1 - overview template / Channel1
    + Child Page -- Display template / Channel2
    + Child Page -- Display template / Channel2

Top Level Page2 - overview template / Channel1
    + Child Page -- Display template / Channel2
    + Child Page -- Display template / Channel2

I now need to take those 2 "top" level pages and insert them into a select dropdown for some JS sorting on a page that isn't managed by Structure, like this:

Project Overview -- show all entries template - Channel2
    {exp:channel:entries}
    // Works well, spits out Channel2 data no prob
    //This is what I need
    <option value="{structure:parent:id}">structure:parent:name</option>

Have tried:

{exp:structure:nav start_from="/" max_depth="1"}
  <option value="{page_uri}">{title}</option>
{/exp:structure:nav}
//This code works well in nav

This yields nothing (blank code), the docs allude that using :nav sets an li which I dont want & likely causing nothing to output.

I expect because Structure isn't managing the "projects" page, finding a parent or anything to do with normal exp:channel:entries tag is the roadblock.

Thought about adding Top Level pages as children of a new 'parent' but then I'd have another list item in the main nav which we dont want.

Totally stumped :(


texts: How do I strip spaces from a form field?

texts:
I have a strange issue with URLs double encoding. So for instance if I have a URL with spaces, instead of the site navigating to "url%20name" it instead navigates to "url%2520name."

I'm looking at how to rewrite .htaccess to fix this but I feel like the best practice would be to strip the spaces out of the data coming from the safecracker form field.

My code is

   Author*

    {field:story_author}

What could I add to that to strip out the spaces in the output?


texts: Playa and Zoo Visitors conditional to check a match does give an error

texts:
I use Zoo Visitors and the Zoo channel has a Playa field which relates to a Customers channel. A logged in user may only see entries he has been assigned to. The conditional to check if the customer entry to list has a parent to the logged in user fails.

{exp:channel:entries channel="customers" disable="categories|category_fields|pagination" dynamic="yes"}
{exp:playa:parents channel="zoo_visitor" status="not closed" disable="categories|category_fields|pagination"}
    {if "{username}" == "{logged_in_username"}"}There's a match{/if}
{/exp:playa:parents}
{/exp:channel:entries}

The error message says:

Parse error: syntax error, unexpected '}' in /serverpath/public_html/system/expressionengine/libraries/Functions.php(683) : eval()'d code on line 12

When I replace {logged_in_username} with a sample username like testperson@mydomain.com then the conditional does not break, it does find the match.

The conditional once worked. There where some software updates like EE to 2.5.5, Zoo Visitor to 1.3.21, Playa to 4.3.3 but reverting back to older versions did not help to solve

I need to find out if the logged in user is a parent in the Playa loop. How would I do this?


texts: Expresso Store - display entries based on an availability

texts: The items (products) come up in alpha order currently. Is there a way to push all of the “Not in Stock” items to the end of the list when displaying entries?


texts: Assets panel not loading when static html file is present in root

texts:
I have used Assets before and everything worked fine but on a fresh install of EE 2.6.1 and Assets 2.1.3 I have the following problem. I have a static index.html file whilst developing the new site. When I click upload and the assets panel is displayed, it shows the content of the index.html. If I remove the html file then the assets panel loads correctly.

Any thoughts on why this is occurring. The only things I have done (as always) is to remove the index.php via htaccess and also rename the admin.php.

Thanks

Brian


texts: Transcribe add-on: How to output content depending on the language selected

texts:
I am running Transcribe add-on to manage a multi language website and I am trying the following but doesn't seem to work:

{if '{transcribe:language_abbreviation}' == 'en'}
          {exp:structure:nav start_from="/about" include_ul="no"}
{/if}

Thanks

UPDATE It actually works but my template for some reason wasn't updating EE. Sorry about this.


texts: member_delete hook isn't deleting member after my code

texts:
I've got an extension that is using the member_delete hook which checks a specific entry field for the deleted member's ID and removes it if found.

This is working fine (field cleared of member ID) and I am shown the EE message saying that the member has been deleted however when I view the member list the member still remains.

I read question Cancelling member deletion in member_delete hook handler and it says that you need to return an array of member_ids for it to continue. I've done just that but it doesn't appear to be doing anything.

Here is my code:

function del_client_check($member_ids) {
    $cleared_entries = array();

    $member_id = $member_ids[0];

    $field['m_client'] = $this->settings['client_field'];
    $field['e_client'] = $this->settings['e_client_field'];
    $m_field = $this->settings['member_field'];

    $this->EE->db->select('entry_id, ' . $m_field . '');
    $entries = $this->EE->db->get('channel_data')->result_array();

    foreach ($entries as $entry) {
        if ($entry[$m_field] != '') {
            $members = explode('|', $entry[$m_field]);

            if (($key = array_search($member_id, $members)) !== false) {
                unset($members[$key]);

                $entry[$m_field] = implode('|', $members);
                $cleared_entries[] = $entry;
            }
        }
    }

    if (!empty($cleared_entries)) {
        $this->entry_update_del($cleared_entries, $member_id);
    } else {
        return $member_ids;
    }
}

function entry_update_del($entries, $member_id) {
    $member_ids = array();
    $this->EE->db->update_batch('channel_data', $entries, 'entry_id');
    $member_ids[0] = $member_id;
    return $member_ids;
}

Just a note, in the entry_update_del function I am setting $member_ids[0] to $member_id. There is always only going to be 1 member deleted at a time.

If anyone could help that would be great.


texts:
I'm getting the following error when upgrading from MX Google Maps 1.4 -> 1.5.3 in EE 2.8.1

Fatal error: Call to undefined method Cp::set_variable() in /system/expressionengine/third_party/mx_google_map/mcp.mx_google_map.php on line 191

Anyone know if there's a fix for this?


texts: Textarea (Rich Text) stripping html/form (paypal donate code)

texts:
The field strips the 'form/action' tags that are used for the Paypal link/button. Because of this the button is not a clicking link.
Is there any way i can prevent this?

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"><input name="cmd" value="_xclick" type="hidden"><input name="business" value="my@email.com" type="hidden"><input name="item_name" type="hidden"><input name="currency_code" value="USD" type="hidden"><input name="amount" type="hidden"><input src="/images/paypal.jpg" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" type="image"></form>


texts: Cartthrob entity_id on add to cart. "Unknown column 'Array' in 'where clause'"

texts:
We have inherited a site which uses Cartthrob on Expression Engine. The site on the live environment works fine but on the Development environment it throws the below error.

Error Number: 1054

Unknown column 'Array' in 'where clause'

SELECT exp_channel_titles., exp_channel_data., exp_channels.* FROM (exp_channel_titles) JOIN exp_channel_data ON exp_channel_titles.entry_id = exp_channel_data.entry_id JOIN exp_channels ON exp_channels.channel_id = exp_channel_titles.channel_id WHERE exp_channel_titles.entry_id IN (Array)

Filename: third_party/cartthrob/models/cartthrob_entries_model.php

Line Number: 183

I've had a look and it seems that a multi-demensional array is getting passed into the where_in clause and that is confusing it. But what is confusing me is why this is happening. I am reluctant to go messing with the Core code and I don't understand it enough to easily fix the problem. So I was wondering if anyone could help me or had seen this problem themselves?

Used to using Wordpress and Magento so this is a complete new area for me.

EE Version v2.7.2
CartThrob Version 2.4

Hope you can help!

Thanks,
Stu


texts:
I've been working on a site for about a year now without issue.  There's a good number of channels and entries (about 11/2000+).  Within that last couple weeks, I seen something strange happen.  The channel ID's in the database seem to be in correct.

An example:

Vendors channel_id = 4 in the exp_channels table
in exp_channel_titles, channel_id 4 correlates to the title for the blog channel (channel 5).

Has anyone ever experienced this before?  I'm trying to go through and fix this, but it's now causing more issues (IE: when you go to a page with a safecracker form it's not pulling in the channel fields for that channel).

Have I completely screwed myself?  How can I fix this?

Thanks!


texts:
How do I change  to  in default richtext editor field.   I have looked at the default HTML buttons - but this does not seem to update TextArea (rich text), but maybe (I haven't checked) updates TextArea.

How can I change  to  as  is deprecated.

The version we are using is ExpressionEngine Core Core v2.10.1 - Build Date: 20150501.

Help appreciated.


texts: Expresso Store: If member, fill in blank shipping\billing details automatically?

texts:
Client wants the check out pages to automatically populate the shipping\billing details if they're a member and have already done it before.

Does Expresso have any sort of functionality to accommodate this?


texts:
I'm still new to Stash and still in the process of wrapping my head around it. I'm developing a music site which will have four total channels.  On the homepage, I'll have a main section with the mix of all channels sorted by date. Then below that i'll have columns that will display a single channel (with entries that may already be included in the main section)

My question is, how do I combine all the channels together into the one section. I would've thought using a pipe character would work like this, but that didn't work:

{exp:stash:get_list name="news_home|reviews_home|gallery_home"}

Example :

{!-- APPEND LIST --}
    {!-- GALLERY --}
    {exp:channel:entries channel="gallery" disable="categories|category_fields|member_data|pagination|trackbacks" dynamic="no" require_entry="yes" status="open" limit="7"}
        {exp:stash:append_list name="gallery_home" parse_depth='2'}
            {stash:home_title}{title}{/stash:home_title}
            {stash:home_image_gallery}{gallery_thumbnail}{/stash:home_image_gallery}
        {/exp:stash:append_list}
    {/exp:channel:entries}

    {!-- REVIEWS --}
    {exp:channel:entries channel="reviews" disable="categories|category_fields|member_data|pagination|trackbacks" dynamic="no" require_entry="yes" status="open" limit="7"}
        {exp:stash:append_list name="reviews_home" parse_depth='2'}
            {stash:home_title}{title}{/stash:home_title}
            {stash:home_content}{content text_only="yes"}{/stash:home_content}
        {/exp:stash:append_list}
    {/exp:channel:entries}

    {!-- NEWS --}
    {exp:channel:entries channel="news" disable="categories|category_fields|member_data|pagination|trackbacks" dynamic="no" require_entry="yes" status="open" limit="7"}
        {exp:stash:append_list name="news_home" parse_depth='2'}
            {stash:home_title}{title}{/stash:home_title}
            {stash:home_content}{content text_only="yes"}{/stash:home_content}
        {/exp:stash:append_list}
    {/exp:channel:entries}

{!-- GET LIST --}
{exp:stash:get_list name="news_home|reviews_home|gallery_home" parse_tags="yes" limit="7" parse_conditionals="yes"}

{home_title}

    {/exp:stash:get_list}


texts:
So I have searched but I seem to only find information on setting up EE in the config.php for multiple server environments - local, staging, production. What Im looking to get some information on is adding a new server to my already existing setup.

I have added another server, copied over my EE install and put that up on the site. The new servers ip loads up the site minus any dynamic data.

Question: Can I use one EE install and MySql database to run the site on two servers?

Example:

Server 1 = MySql, EE, site

Server 2 = remote into server 1, connect to MySql, use server 1 EE, show site

Hopefully this makes sense, but I dont see a reason to install EE twice. I also dont see a reason to have another DB setup which would require replication of data.


texts: Exclude category group from category_archive

texts:
I have the following code below. Trying to show categories from one category group, but instead all categories are being outputted. I've tried using category_group="1", but no luck. Any help is much appreciated.

{exp:channel:category_archive channel="speakers" style="linear" backspace="7" category_group="1"}

        {categories}
            {category_name}
        {/categories}
        {entry_titles}

{title}

        {/entry_titles}

{/exp:channel:category_archive}


texts: I am looking for a good guide/example Grunt being used in a multiuser Expression Engine Environment. I do Understand the gruntfile will not be EE specific, but I am hoping there are some articles that explore and explain any issues regarding using with EE.


texts:
Is there a setting to force the stock EE captcha to use a random string instead of the word list in /config/captcha.php?
I was able to do it by copying the random string generator from the captcha_helper.php file and use that in the captcha.php file to feed the array a random string.

Just wondering if there is some hidden configuration to do this instead of hacking a file.


texts: Flexslider and Grid - thumb does not match image

texts:
I've set up an Artist gallery on a site that I'm building using FlexSlider. It works great except that there's this really strange issue where the large image is not matched to the thumbnail navigation.

The thumbnails are in the correct order but the large images displayed are off by one. i.e. the first image displayed should be displayed second with the final image being the first one. Really weird.

My EE code is:

  {exp:channel:entries channel="exhibition|artist" limit="1"}

      {artist_gallery}

      {/artist_gallery}

  {/exp:channel:entries}

And on the front end the source code is:

I've checked the console and there are no errors. I'm completely flummoxed on this one. Especially considering that in the source view the thumbs and large images line up correctly. Any ideas?


texts: Safecracker error after upgrading from 2.6.1 to 2.7

texts:
I changed my tag pair from {exp:safecracker} to correspond with the new docs {exp:channel:form}. I even removed my tag pair and used the Basic Example from the docs with the same results.

A PHP Error was encountered

Severity: Notice

Message: Undefined property: EE::$channel_form_lib

Filename: channel/mod.channel.php

Line Number: 5259

Fatal error: Call to a member function entry_form() on a non-object in /Users/bsartain/Documents/git/whitetailslam/admin/expressionengine/modules/channel/mod.channel.php on line 5259

I noticed some others having similar issues but none with the same error message as above.

Any help would be greatly appreciated!


texts: Any way to get EE to upload not-properly encoded mp3s?

texts:
here's the problem (edit):

I'm unable to upload some mp3s through the publish page or the file manager, whereas other mp3s would upload just fine. Now, thanks to the assistance of a support person at the host (Nexcess), I've found that the mp3's that don't work didn't have all the encoding they need, and the mp3's that did work had the encoding, like this:

The mp3's that were working look like this:

$ file /dev/audio-upload/*.mp3
example01.mp3: Audio file with ID3 version 2.2.0, contains: MPEG ADTS, layer III, v1, 192 kbps, 44.1 kHz, Stereo
example02.mp3: Audio file with ID3 version 2.2.0, contains: MPEG ADTS, layer III, v1, 192 kbps, 44.1 kHz, Stereo
example03.mp3: Audio file with ID3 version 2.2.0, contains: MPEG ADTS, layer III, v1, 160 kbps, 44.1 kHz, Stereo

The mp3's that weren't working look like this (they're missing the encoding info):

$ file /dev/mp3s-for-eval/*.mp3
example01.mp3: Audio file with ID3 version 2.2.0, contains:
example02.mp3: Audio file with ID3 version 2.2.0, contains:
example03.mp3: Audio file with ID3 version 2.2.0, contains:

So a solution was to re-convert the unencoded files to mp3. But the problem remains: the mp3's that wouldn't upload (the ones missing the encoding info) play just fine. Is there a way to get EE to allow these un-encoded mp3's so my client doesn't get confused if they have files like this?

Also, these test mp3's that didn't upload were created by converting AIFF files in iTunes; any ideas as to why they didn't get the encoding?

(this is my original question:)

I'm having a mysterious time trying to get certain mp3's uploaded through a Grid field.

I'm developing a music site using EE 2.10.1; one of the channels is "Albums" which holds info on different music CDs. In this channel I have a Grid field that contains info about the different tracks on the CD and also the mp3 of the track.

My upload location is set to "all file types" and when I check the PHP info, it looks like the max file size allowed is 64MB.

When I try to upload the mp3's I need for the first entry, I get a cryptic "file not allowed" message; 'cryptic' because it's not saying it's an invalid file type or that the file is too big:

So I’ve been testing to see what I can--and can’t--upload. I've been able to successfully upload a 13.7MB jpg through the Grid field, so I'm assuming that size isn't an issue (the mp3's are all smaller than that).

Further testing reveals that I'm able to upload some mp3's, ranging in size from 1.4MB to 8.2MB. But the majority of mp3's I try give me the error message. Also, I've tried uploading the mp3's that don't work directly through the File Manager, but I also get the error message that way.

Any ideas or thoughts about what the problem could be? I have no idea if this is somehow a server issue, an EE issue or an issue with particular files (I can play the mp3's that won’t upload, so I don’t think they’re corrupt).

Thanks in advance for your assistance!


texts:
I'm making lookbooks:

Each look has (parent) contains one or more items (children). Each item has a brand.
E.g. Picture 1 where a girls wears pants of Brand A, t-shirt of Brand B and a jacket of Brand A.
In my overview of Brand A, i want to show all pictures where the girls wears Brand A once. With this code Picture 1 appears 2x in the overview. How can I get this picture only show up once?

I must be looking at code for too long. I'm sure there's a simple solution to this. Thank you for your help.

{exp:channel:entries channel="items" search:item_brand="{last_segment}" dynamic="no"}
    {exp:playa:parents channel="looks" require_entry="yes"}
                    <img src="{look_image}" alt="{title}">
    {/exp:playa:parents}
{/exp:channel:entries}


texts: If I use any text with "eval" in it the page throws a PHP error (e.g. "evaluation")

texts:
I'm using WYGWAM 2.7 and expressionengine 2.5.5.
I get this error:
A PHP Error was encountered

Severity: Warning

Message: Please contact support about failure

Filename: libraries/Functions.php

Line Number: 683

If the word "evaluation" is used in my WYGWAM channel field. If I take it out the page works fine.


texts: Mix results params and search fields in solspace user

texts:
Is it possible to search in solspace user from search fields and hardcoded fields as attributes in the results tag?

Like so:

{exp:user:results group_id="6"
                            search:js_makecvpublic="YES"}

{js_makecvpublic} - {js_firstname} {js_lastname}, {js_addresscity}

                        {/exp:user:results}

I have a form which searches through various member fields and works ok. But I need to filter only candidates that have allowed their CV to be made publicly available and i dont want to have it as a hidden field in the search form as it can be easily changed.

When i add the js_makecvpublic to my search form as a hidden field, it works, when i hardcode it into the results tag, it doesnt. Possible?