texts:
I'm looking for a way to track (hopefully non-logged in) users most viewed items. I found a few helpful addons, but the closest I could get is determining that users most recent views, or how many times they viewed a certain page via cookie. I'd like to eventually be able to take the "most viewed" information and put a few if statements to order the content shown to put the stuff they view the most up top. Does anyone have any experience in something like this? Or if someone could point me in the right direction I would greatly appreciate it!

Thanks!


texts:
I am facing the problem for the sorting on the channel by passing the value on orderby dynamically (with the custom fields & for date sort)

Always resulting out me same data

{exp:channel:entries channel="careers" orderby=""}

Please advise ASAP


texts: Embed not embedding, but only for 1 member group

texts:
My template's <head> tag is defined as a snippet combined with preload replace variables, as per Low's idea (http://gotolow.com/blog/snippets-and-preload-replace-variables). On one or two templates, however, this technique won't cut it and I need to use a full embed. That's a shame, but there you go.

Thing is, I'm finding that if I am logged into the CP as an Admin (a member group I created for the client to use for basic site editing, with much less control than a superadmin), the embed doesn't embed. So the page has no <head> tag at all, with all of the rather unfortunate consequences that that implies.

I'm racking my brains to think what setting in the member groups settings might be causing this; if I'm logged in as a super admin (or not logged in at all) then the embed is processed normally.

Any ideas?


texts:
Can EE multiple relationship fields be displayed nested? I'm not able to get this working, and it's not clear from the Relationships docs page if it's supposed to.

Say I have 3 channels -- bands, albums and songs -- and my relationship fields are top-down rather than bottom-up, ie, bands have a multiple relationship field of albums, and albums have a multiple relationship field of songs. I want to display a list of bands, and within each band its albums, and within each album its songs. In the following example, songs do not appear:

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

        {title}

            {bands_albums}

                {bands_albums:title}

                    {bands_albums:albums_songs}

                        {bands_albums:albums_songs:title}

                    {/bands_albums:albums_songs}

            {/bands_albums}

    {/exp:channel:entries}

I can get a single song from each album to appear by removing the inner loop:

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

        {title}

            {bands_albums}

                {bands_albums:title}

                        {bands_albums:albums_songs:title}

            {/bands_albums}

    {/exp:channel:entries}

But I need all the songs.


texts: BrilliantRetail->checkout_shipping action network FAILURE

texts:
In one of my dev environments, I'm having an issue with loading Shipping Rates.

I have action 39, checkout shipping in BrilliantRetail.
When I go to the checkout page, the loading.gif spins, then nothing. The network debugging tool in Chrome just shows FAILURE for every "?ACT=39" call.

Any ideas on what to check? The same code is being used in several different dev environments and a production site with no problems.


texts: profile:edit on EE 2.7.2 and mySQL 5.6 can't install

texts:
Tried to contact mightybigrobot a few times but impossible to get a hold after buying their plugin profile:edit.

It trows an error when I'm tryign to install the default templates.
EE 2.7.2 , mySQL 5.6 in strict mode (which should be fine - the plugin developers just need to get their plugins updated)

I'm getting this error.

INSERT INTO `exp_channels` (`channel_name`, `channel_title`, `channel_url`, `channel_description`, `channel_lang`, `total_comments`, `last_comment_date`, `cat_group`, `status_group`, `deft_status`, `search_excerpt`, `deft_category`, `deft_comments`, `channel_require_membership`, `channel_max_chars`, `channel_html_formatting`, `channel_allow_img_urls`, `channel_auto_link_urls`, `channel_notify`, `channel_notify_emails`, `comment_url`, `comment_system_enabled`, `comment_require_membership`, `comment_use_captcha`, `comment_moderate`, `comment_max_chars`, `comment_timelock`, `comment_require_email`, `comment_text_formatting`, `comment_html_formatting`, `comment_allow_img_urls`, `comment_auto_link_urls`, `comment_notify`, `comment_notify_authors`, `comment_notify_emails`, `comment_expiration`, `search_results_url`, `show_button_cluster`, `rss_url`, `enable_versioning`, `max_revisions`, `default_entry_title`, `url_title_prefix`, `live_look_template`, `field_group`, `site_id`) VALUES ('member_profiles', 'Member Profiles', '', '', 'en', '0', '0', '', '1', 'open', '', '', 'n', 'y', '', 'all', 'y', 'y', 'n', '', '', 'y', 'n', 'n', 'n', '5000', '0', 'y', 'xhtml', 'safe', 'n', 'y', 'n', 'n', '', '0', '', 'y', '', 'n', '10', '', '', '0', 18, '1') Filename: F:\Websites\xxxxxxx\sys\codeigniter\system\database\DB_driver.php Line Number: 330

Anybody has any suggestions ? please , hope so.


texts:
Firstly, I'm sorry if this has been answered elsewhere, but I did a search and couldn't find an answer to my specific query.

I work for a company that has outsourced it's web production and I'm not sure if the design firm have set up the sites in the most cost effective and efficient way.

Essentially, we have three identical sites that are basically a CRM system.  There is a database of clients and a list of investments they currently hold.  They are for three sub-companies and are each hosted at www.example1.com, www.example2.com and www.example3.com.  The web design company have paid for three separate EE licences and three separate MSM licences.

Firstly, I was wondering if the MSM licences were necessary given that each domain is hosting a separate (albeit identical) EE setup with a separate licence?  Secondly, would there be anything stopping us from using subdomains with one of the MSM licences so having a set up like:

siteone.example1.com, sitetwo.example1.com and sitethree.example1.com

The three sites are for 3 sub companies and we would not want the users from each sub company to have access to the other sub companies (will this be the issue with using the subdomain/MSM idea? Is there a way of assigning access to only one subdomain to a user?).

The host we use offer unlimited subdomains and mySQL.

Thanks in advance for any assistance you can give!


texts: CE Image - Source image is not readable or does not exist

texts:
We moved a site into a sub folder while we upgrade it, so the site is now at: mysite.com/2014/ .  Everything seems to be ok, except CE Image is not returning any images.  I've tried all variations on the CE Image tags, but we get nothing.  I've checked that the folders have 777 permissions.  The code below should be returning the image url:

But all I get is:

I've switched on debugging and get the following errors:

***  CE Image debug: Base path: '/chroot/home/winter14/public_html/'
(0.728373 / 24.88MB)

CE Image debug: Base path: '/home/winter14/public_html/2014/'
(0.806898 / 27.42MB)

***  CE Image debug: Source image: 'http://www.example.com/2014/uploads/events/ice.jpg', Fallback image: ''
(0.806906 / 27.42MB)

***  CE Image debug: Source image is not readable or does not exist: '/2014/uploads/events/ice.jpg'.

(0.806914 / 27.42MB)

***  CE Image debug: Fallback source image is not readable or does not exist: ''.


texts: Membership registration limited to list of email addresses

texts:
We're building a simple site for an event.
Attendees must registrate. But we want to verify if they are on the guest list.

Can we use the normal member registration? Is there an addon for this?
Or is there a better way?

Thanks!


texts:
We are using Expression engine 2.6.2. We have the MSM set up.

Recently we updated all the modules inside that we are using. And after that when we want to edit the channel entries in one of the sites in MSM , the system doesn't allow us to do so.

When we hit submit after making our changes, it shows "You must select a valid template for displaying this page.". But the default_site works just fine.

Does this have anything to do with updating the MSM ? We have googled for a solution but unfortunately couldn't find any..!!

Please kindly help us to fix this. Thanks.


texts:
Is there a way to hide the filters for a Playa field that has is set to allow multiple entries? This is being used in a safecracker form and I don't want users to see statuses, categories, member groups etc - just a simple drag and drop list that shows entries from A-Z.

Thanks


texts: How to stop form submissions being saved to database

texts:
I'm using Freeform Lite and my client has asked if there's a way they can stop form submissions being saved to database as this causes a headache with the new GDPR regulations. Submissions are emailed to them anyway so they have a record there.

Anyone know if this is possible?

Thanks in advance,

Tom


texts:
I have client who is uploading files with lots of naming issues; Spaces, dots, parenthesis, and other characters in the filenames.

Is it possible to strip out the special characters, automatically, upon upload?

Thank you in advance.


texts: SQL Query to write member username to custom channel field

texts:
Can anyone help with the syntax to write ALL members 'Usernames' in a particular member Group to a custom_field in a channel.

Each member would have one entry each in this channel and I need to pull their username into the channel before deleting the member.


texts:
I had Two-Mile redirect add-on/extension installed.
I have since removed it.
Now when Im trying to register a member, upon clicking the activation link, it stats

Unable to load the following extension file:
ext.twomile_login_redirect.php

Any idea on how I can remove it fully?
UPDATE
Can I simply (or safely) remove these two rows from the database?


texts: Assets not recognising image manipulations after upgrade to 2.0.5

texts:
I have just updated a site to Assets 2.0.5. When I update the indexes, I get a list of files with the heading "There are some entries in the database that are out of date"

What does that mean and how safe is it to delete these files?

Coincidentally, after the update, I can no longer get EE image manipulations - I just get blanks where the images are supposed to be - no error messages.

My template code is:

{exp:channel:entries channel="catalogue" status="open|closed"}

  {product}

 {spiel}

  {/product}

{/exp:channel:entries}

{product} is a matrix field type

{images:catalogue}, where  images is the assets field type and catalogue is the EE manipulation.

If I just use {images} I get the image un-manipulated

This worked well before the upgrade.

Any suggestions?


texts: Switchee with multiple stash variables only evaluates first variable

texts:
I have the following code:

    {exp:switchee variable="{exp:stash:get name='custom_sidebar_text'}/{exp:stash:get_list name='related_articles'}/{exp:stash:get_list name='related_events'}" parse="inward"}

      {case value="//"}{/case} {!-- Ignore no value --}

      {case default="Yes"}

        <aside class="{exp:stash:get name='sidebar_class'} {exp:stash:get name='sidebar_shifts_up'} {exp:stash:get name='page_color' random}">

        {!-- A bunch of markup here. --}

        </aside>

      {/case}
    {/exp:switchee}

If I understand correctly, the first case should only apply if all three of the variables are empty, while the second case should apply if any one, two or all three of the variables contain something. However, in practice, if the first variable is empty, no markup is rendered, and the fact that one or both of the second and third variables have information in them is ignored completely.

I tried using value="''/''/''" in the first case, but that did not work, as it resulted in the second (default) case always being rendered, even when all three variables are empty.

Maybe exp:stash:get_list isn’t the proper way to test whether a stash list is empty? I haven’t found an alternate way of testing it, though.


texts:
I updated to matrix 2.5.3 from version 2.4.3 on my mamp test setup and notice the following issues.

On the prior version matrix was outputting prices using a comma for the thousands_sep parameter. The new version of matrix no longer outputs the comma and in addition, adds decimal places:

Version 2.4.3 output: $279,950

Version 2.5.3 output: $279950.00

I notice the decimal settings now in the matrix field setup which I've used to remove the decimal places. However, I cannot find a way to get matrix 2.5.3 to use the thousands_sep as it was previously. Any solutions?

Here is the code, which did not change. neighborhood_plan_price is the variable in question:

                    {exp:channel:entries channel="neighborhood" dynamic="no" sort="asc" orderby="neighborhood_city" status="Not Closed" disable="categories|category_fields|member_data|pagination"}

                        {title}
                        {neighborhood_city}, {neighborhood_state}
                                {if status == "Coming Soon"}
                                Coming soon
                                {if:elseif status == "Sold Out"}
                                Sold Out
                                {if:else}
                                {neighborhood_plans limit="1"}{neighborhood_plan_price}{/neighborhood_plans}
                                {/if}

                    {/exp:channel:entries}


texts: Forum attachment real path, anyone knows?

texts:
im trying to do something with Exif infos but using the {attach_image_url} isnt the right path, because ExpressionEngine generates something else than actual file name and location to it.

So, what i need, and hope to find out, is that what is the variable that could parse out the real url for the image attached.

Anyone, ideas?

UPDATE:

Im trying to get exif data out with this:

    <?php
$image_file = '{path:image_url}';
$image_type='';

$tab=str_repeat('&nbsp;',12);
if(file_exists($image_file)){
$details=exif_read_data($image_file);
foreach($details as $key=>$val){
echo $key.' = '.$val.'
';
if(is_array($val)){
foreach($val as $key2=>$val2){
echo "".$key2.' = '.$val2.'
';
}
}
}
}else{
echo 'File does not exists';
}

?>

But it doesnt find the image attached. I would be glad if someone could provide a way to get the real path to actual image attached, cos I cant find any kind of documentation of it anywhere. thanks.


texts: I have a need for a "blog/news" section that has some entries that go from the index to a standard entry blog template, and some that just link to an outside site from the index template. Does EE have a simple way to do this?


texts: Is there a way to for categories to appear in search results

texts: I am using the Low Search plugin to allow visitors to my site to search for content, however I require that categories appear in the search results as well as entries. Is this possible?


texts: Freeform Pro Plugin Unsupported operand after plugin installation

texts:
we are using freeform pro 4.1.3 and are seeing

form erorr -  [Fatal error: Unsupported operand types in /data/websitesmywebsitedir/html/systemtudor/expressionengine/third_party/freeform/acc.freeform.php on line 122]
on the freeform pro tab in the admin.php page in expressionengine 2.7.3

the line in the file is ;

$field_ids += $form['field_ids'];

Do you know if their is a compatibility or a bug here that we can patch,
the freeform plugin seems to be working OK..do you know if this error can be ignored?

https://stackoverflow.com/questions/285271/fatal-error-unsupported-operand-types-in

we meet all the server requirements,
ExpressionEngine 2.4+ [2.7.3]
PHP 5.2+ [5.3.3]
MySQL 5+ [5.1.6]
All modern browsers or IE 8+

Thankyou

Update
This is not working on php version 5.3.3 which the shared host is utilising howver it is working on a a dev server php version 5.4.20
I thought this was a pretty simply assignment operation that should work across both these version, i tried changing  to $field_ids = $field_ids + $form['field_ids']; same error.

halp?


texts:
I apologize for the vagueness of the question, but was looking for tips to debug more than a solution. I am using EE 2.7.2. I have a channel called products and a channel called resources. Within products there are two relationship fields (built-in relationship fields, not using an add on for it), one relating other products and another relating resources. Everything works as planned, but on multiple occasions (three times now) one of the relationship fields gets cleared for some of the product entries.

For example, Product A is related to Products B and C and Resources A, B, and C. It will all work then while reviewing the site (usually a week or so later) Product A will only be related to Resources A, B, and C and not related to any Products, as if they had been cleared.

Again I apologize for a lack of details but am totally stumped and not even sure where to start or what details to include? I have been grabbing a back up of the exp_relationships table each time it happens (before and after re-entering the relationships) and it appears that those rows are just getting removed for one of the relationship fields (it was the resource relationship twice and the product relationship once). There doesn't seem to be any action that triggers this or even a set timeframe, so I have very little to go on. One thing to note is that there is a channel form tag for another channel that also has a relationship field for Products. I tested this out thoroughly and it didn't seem to trigger the problem. I was hoping maybe someone else had experienced this or has some ideas of what to look for? Thanks!


texts:
We're building a couple sites where our clients don't actually sell online but need everything else from an ecommerce tool. Users would add products to a cart, then submit the order to get an inquiry. We've been thinking on using carthrob so they can manage inventory and orders.

However, I can't find docs or examples of sites doing this. How can we checkout an inquiry order? And how would we deal with orders that have some products you can buy and others you need to inquiry for?

We can always do this with plain EE, but I still like using carthrob because it's important to create an order our clients could use. Should I just use SAEF instead?

Looking forward to hearing ideas!

Thanks in advance,

Santiago


texts: Snippet encoded as utf-8 causes blank text to be inserted above it

texts:
I have a snippet used for navigation that causes a "blank" bit of text to be inserted into the rendered DOM when the encoding for the snippet file is set to utf-8 but not when the snippet encoding is set to ANSI.

The template the snippet is in is set to utf-8 and it renders like this in ALL browsers but you can only see the "blank" when using the webdeveloper tools in Chrome (see screenshot)

.

Never seen this before but it is my first site using EE 2.9.2. Have not tested in other versions yet.

Anyone have any ideas?

Details: EE 2.9.2, Bootstrap 3.2.0, SnippetSync 1.1.3


texts:
I have an EE 2.5.3 build with Field Editor 1.0.3 and Matrix 2.5.2 installed.

When I try to configure the Matrix field from the field list, it looks like it's loading but then craps out.

I get this from the console on load initially

Uncaught TypeError: Object #<Object> has no method 'rowCallback'

and when I click to configure the Matrix field I get

Uncaught ReferenceError: MatrixConf is not defined
Uncaught ReferenceError: Matrix is not defined

Works fine when I'm in the default channel fields view and not Field Editor.


texts: Displaying Category Name and Channel Entry Data with Query Module

texts:
I have a SQL query set-up to display a list of entries based on the category ID found in the third segment, but I'm having a hell of a time trying to display the category name that goes along with it. This is what I have that's currently working:

SELECT
    cd.field_id_19 AS song_number,
    cd.field_id_20 AS song_title,
    cd.field_id_21 AS song_artist
FROM exp_channel_data cd
LEFT JOIN exp_category_posts cp
ON cd.entry_id = cp.entry_id
WHERE cp.cat_id = {segment_3_category_id}

I know I have to add a JOIN with the exp_categories table in order for the exp_category_posts.cat_id to retrieve cat_name, but have not been successful in working it out.

Any help would be greatly appreciated.


texts:
Using freemember to register a member with custom fields and when I submit a form intentionally with errors the appropriate inline errors are returned - that works as desired. When i submit the form with correct data the ugly EE error screen is output requiring all the custom member fields that were just submitted.

Any ideas?


texts: Restricting content based on visitor’s location - EE3

texts:
I’m looking for a way to hide certain content on an ExpressionEngine 3 site if the visitor is outside the UK.

I thought I might be able to use IP to Nation, but this proved not to be the case.

Is this possible? Thanks!


texts: SWITCH - How to show quantity of switched ON rows?

texts:
I need to show how much rows in the entry have "ON" state.
I could not find any tag in documentary.


texts: How can you remove the list html from GWcode categories add-on?

texts:
I'm using GWCode Categories add-on (http://gwcode.com/add-ons/gwcode-categories) to output a custom field from a category.

However, i cannot see anyway to get it not to output the list html i.e custom field content - i just want it to output the custom field content and nothing else.

Does anyone know how to do this?

Thanks


texts:
I'm trying to display all entries in certain months without caring about what year it's in. Currently the tag looks like (for February as an example):

{exp:channel:entries channel="{embed:listingchannel}" month="2" show_future_entries="yes" dynamic="no" orderby="entry_date" sort="asc"}

However it only shows entries from 2016 and not 2017. How could I make it pull in entries from future years?

Bit of context: I'm putting an event calendar on a website. Some events listed are for the next year and I still want them to show even though it's not that year yet. It needs to be dynamic so I don't have to go in and update years every month to grab the future events that are listed.


texts: Freemember form jumps to top on inline_errors

texts: I have a freemember registration form that is working. However my form is at the bottom of the page. When inline errors are triggered, my form jumps to the top of the page, instead of the top of the form or error.


texts: Need a query to display limited subset of categories based on custom category field value

texts:
I suspect there's a simple query to be able to do this but it's not something I've tried before. I'm trying to create a user-friendly way for a client to, from within the category edit screen, to indicate that a given category should or should not display within a drop down on the site. The general idea is that while they may have 20 categories, only 3-5 of them would be seen as "primary" and therefore should display in the dropdown menu at the top of the site.

So for user friendliness, I though adding a custom category field with a simple select list of no vs. yes would be the way to go.  But the channel categories loop doesn't have a search parameter, so I suspect that I will need a query to loop through the categories in the given group and pull out only those with the custom category field of "display" with a value of "yes".

Can a query expert out there help me out?


texts:
I would like to have dynamic commas in a list of authors, so for example if there is only one author of an article it would show: AUTHOR.

However if there was two or more authors, I would like to show a comma or an and bewteen each name like: AUTHOR ONE and AUTHOR TWO. Or in the example four authors: AUTHOR ONE, AUTHOR TWO, AUTHOR THREE and AUTHOR FOUR.

Note the 'and' and ',' in each example.

The code I'm using pulls out the correct data, but I need to put in dynamic commas depending how many authors each article has.

Code:

by {pp_author_one} {if pp_author_two != ""}, {pp_author_two}{/if} {if pp_author_three != ""}, {pp_author_three}{/if} {if pp_author_four != ""}and {pp_author_four}{/if} | <time datetime="{entry_date format="%Y-%m-%dT%H:%i"}" pubdate>{date_heading}{entry_date format="%d %F %Y"}{/date_heading}</time>


texts: Email sent via php mail don't reach Exchange addresses

texts:
I've noticed a few problems with Emails not being sent to Exchange addresses via php mail. First I noticed this when using FreeForm. I didn't notice anything out of the ordinary while testing to my gmail account. Forms was successful and I received the emails.

But then the customer said they hadn't received any emails. So I checked it out and added my own Gmail address to the recipients. And I did receive the emails while testing. But the customer did not. Even though both our addresses were set as recipients.

So I narrowed it down to the customer's email being an Exchange address.
As a temporary solution, I added the customer's gmail address as recipient. And that works.
And since Freeform stores each submitted form on it's own, I had a record of every form.

But now we have the same problem on a different site with Expression Engine's own Form. And not freeform. And we have no record of the forms that's been sent. And the customer is not very happy.

Does this mean that we need to stop using php mail in Email settings in Expression Engine? And specify an smtp server by default?


texts: How to exclude a category within channel:form

texts:
I am using the following code within channel:form on EE 2.9

Categories:
{category_menu}

{select_options}

{/category_menu}

The issue is that all my categories show up, I would like the limit it to one of my categories.

I have tried using category_group and category="5" but nothing worked.

thanks in advance


texts: P&T Field Pack 2.1.1 on EE2.8.1: error on specific Checkbox field only

texts:
I've read P&T Field Pack 2.1.1 on EE2.8.1 Installation Errors Notice and warnings so I'm aware of that.

What I have is several Field Pack Checkbox fields across more than one site in an MSM installation, all of which seem to be behaving just fine: both in terms of output and field settings editability, except for one…

One field only is generating wrong output, and PHP errors if I try to edit the field.

Message: Undefined index: field_fmt_options
Filename: fieldtypes/EE_Fieldtype.php
--
Message: Invalid argument supplied for foreach()
Filename: helpers/form_helper.php

Which seems odd. Can't see anything in the DB so far to hint at why. It would make more sense to me if all the PT checkbox fields were issuing the same errors.

Anyway, I guess P&T FieldPack is dying a slow death? What alternatives do people recommend?


texts: FreeMember - logout tag redirecting to a blank page

texts:
When attempting to logout using the freemember logout URL tag the page is re-directing to a blank page with the desired url path output: https://www.site-name.com/?ACT=56&return_url=%2F

I have also tried other paths, that is other than redirecting to the home page.

Any ideas?


texts:
Embed variables aren't correctly parsed in the low search result parameters

I have this code for my low search results.

{exp:low_search:results
{if embed:author_id}author_id="{embed:author_id}"{/if}
...
{if embed:query}query="{embed:query}"{/if}
}
...

Seems simple enough. However, when I outputted the $data values in my
low_search_pre_search hook, I get this

array(
['embed:author_id}author_id'] =>
...
['embed:query}query'] =>
)

Why did it parse the parameters that way?


texts:
I'm trying to duplicate a site onto a different server and am running into the old "Site Error: Unable to Load Site Preferences; No Preferences Found" error. Through searchign the forums some fixes I've tried are to re-export / import the database, re-uploaded all the files to the server and no dice. I've got 777 permissions on my config.php and database.php. I have also checked with simple PHP script to see if I am able to successfully connect to my DB with my settings and that worked fine.

I did find that the code causing the error (in /core/EE_Config.php):

if ($query->num_rows() == 0)
{
    if ($site_name == '' && $site_id != 1)
    {
        $this->site_prefs('', 1);
        return;
    }

    show_error("Site Error:  Unable to Load Site Preferences; No Preferences Found", 503);
}

Can someone out there help to explain what this means and perhaps a potential solution?


texts: Store: Changing Order Statuses from SAEF?

texts:
Is there a way to change the status of Expresso Store orders via a SAEF?

For people working in the picking/packing department of a webshop, I would like to create a simple page with a few buttons: "Start picking" "Packed" "Shipped" or "Delayed due to ..." so they can easily use a simple touch screen device and quickly update the status of an order.

Anyone ever tried this? Don't know if it is even possible.


texts: Calculate Shipping Cost In Expresso Store

texts: Using the store tags for displaying the various items and values for the orders, how would I be able to calculate the shipping cost according to the user's delivery/billing address entered during the checkout process? As the user is checking out, I need to update a sidebar with all the costs, including the shipping cost for which I am using the store tags.


texts: Does MX Stop Spammers no longer work? What's an alternative?

texts:
Since I upgraded to EE 2.8.1, MX Stop Spammers has stopped working, with the following error:

Fatal error: Call to undefined method Cp::set_variable() in [path]/third_party/mx_stop_spammers/mcp.mx_stop_spammers.php on line 431

Before this, with 2.7.x, I was getting warnings about deprecated functions.

Is there a fix, and what's a good alternative for dealing with spam registrations?


texts: EE 2.8.1 - 3.5.7 upgrade successful but nor channel data visible in control panel

texts:
We are in the process of upgrading several EE cms instances from v2.8.1 to v3.5.7 and have run into an issue. Each instance is running 2.8.1 with the MSM and 50 sites enabled (though in some cases not all used).

After successfully running the upgrade, we cannot view any of the existing channel entries through the Control Panel. We have confirmed that all entries are present in the exp_channel_titles and exp_channel_entries database tables. Also the Control Panel homepage boxes list correctly the Channels, Members and Content relevant to a given site. However, clicking Edit > View All or Edit > Channel results in an Entry Manager page with "No entries found"

If we publish an entry to any given channel it will save to both database tables as expected but is not viewable through the Control Panel.

Does anyone know why this might be and how to fix it?


texts: Add username to solspace user password_reset_email_template

texts:
Anyone know if its poss to add the username to the password_reset_email_template in solspace users exp:user:forgot_password form?

Have lots of users forgetting their username as well their password so adding it to the reminder email would be handy.


texts: How can I determine Assets' internal folder_id for use in the {exp:assets:files} tag?

texts:
The subject says it all, really... Assets apparently uses an internal ID for folders that is different from EE's folder ID. Disregarding the reasoning WHY Assets had to have different folder IDs... how can I see which folder ID Assets uses? The only place I've been able to see it is by inspecting the underlying HTML that makes up the folder list on the left in Assets -> File Manager.

Am I missing something obvious?


texts: Use template at root directory using Template Route Manager

texts:
I use EE 2.10.1 and the Template Route Manager to show a specific template at the root of my site (e.g. http://www.example.com/).

My setup in the Template Route Manager resembles the screenshot:

I can open /project, /imprint a.s.o., but if I open the root / URL the template is not shown, but just an empty page.

If possible, I don't want to use the Pages modul to achieve that, as this is the only static page I have and it is hardcoded.

How can I assign a template to the root of a page by using Template Route Manager?


texts: 500 internal server error using Master Config

texts:
I've been using Focus Lab's Master Config for most of this year and have never run into this issue before.

So here's what's happening, going to the domain (example: mysite.com/index.php or mysite.com) brings up a 500 internal server error. Going to mysite.com/admin.php does too. The .htaccess file is blank for the time being, but will eventually contain rules for removing index.php, expires, etc.

Going to www.mysite.com/index.php, www.mysite.com or www.mysite.com/admin.php all work. Going to subpages with www in front also seems to work fine.

My config.env.php file looks a little like this: http://pastie.org/5461257

If I change the first case to include the www, I get the 500 internal server error, AND the site shows correctly, including subpages.

If I throw the following into .htaccess (www to no www redirect) and keep the first case statement in config.env.php to include the www, the site works. If I change the case statement to just be mysite.com, the site does not work.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

Then, if I force www in .htaccess and keep www in config.env.php, the site doesn't work. If leave off www in config.env.php, the site works.

For now, just to get the site up and running, I've forced removal of www, left www in the config.env.php file, and added other rules to .htaccess (such as removing index.php, expires, etc.) and it's working fine.

I'm wondering if anyone has any insight as to why something like this would happen? I don't know that much about servers, but something tells me there's something funky with this client's host.


texts: Automatic Events Notification with Calendar?

texts:
I am trying to achieve the following, according to a clients requirements:

Include Events happening around the year, each member should be notified automatically of the event before hand according to the time we set.

Is it possible to setup a calendar in which admin can add events and allow members to register for specific events and be notified automatically x number of days before the events ?

Can PostMaster Addon along with Low Events be used for such a setup ?

Is it possible to achieve the above with Native EE functionality.


texts: What's the best EE Add-on for multipage / multistep forms?

texts:
I'm hoping to get some feedback from the community on what people's experiences have been with regard to setting up multipage (multistep) forms with these add-ons for a project I'm working on:

FreeForm
ProForm
Forms

Key functionality I'm looking for is as follows:

Ability to allow users to go "back" to previous steps
Ability to ensure users cannot proceed to next step unless required fields are filled in
Ability to use a Jquery form validation method (with form module as backup)
Compatibility with Snaptcha
Nice to have: show a summary of data submitted in all steps before final submission

Disclaimer: It's ironic that I'm asking this question, because I just recently gave a recommendation in this SE thread about EE forms.


texts:
I've taken over an EE project on which Importer has already been installed but not used yet (there are no Profiles set).

If I try to set up a profile, even though I have the correct ftp details for the file I get an Ajax error: AJAX Request was not successful. I know the ftp details are correct as I can connect via Filezilla using the same credentials.

If I ignore that failure and 'Continue' I get some PHP errors. The first is a warning:

Message: require_once(/mnt/www/xyz.co.uk/system/codeigniter/system/libraries/FTP.php): failed to open stream: No such file or directory

Filename: libraries/Solspace_ftp.php

Line Number: 16

The second is an error:

Fatal error: require_once(): Failed opening required '/mnt/www/xyz.co.uk/system/codeigniter/system/libraries/FTP.php' (include_path='.:/usr/share/php:/usr/share/pear') in /mnt/www/xyz.co.uk/system/expressionengine/third_party/importer/libraries/Solspace_ftp.php on line 16

Has the module been set up incorrectly? Or am I missing something obvious?

Many thanks - Jon


texts:
Possible Duplicate:
  ExpressionEngine and GIT Process

This is an odd hybrid question, so I'm not sure if I'm asking it in the right spot. If this should go somewhere else, please let me know. This is both asking for best-practice suggestions, and asking about two products: Github (for source control) and EE (for all site content.)

I've started a role with a company that's just implemented using Github for source control. Fine and dandy. We have the images, the server-side files, and some CRM integration files that we upload with FTP, and we're using Github to source-control those files. However...with EE, all the textual content is in the databases. And currently, they do daily backups of the database, but the databases are not source- or version-controlled in github. I was thinking of suggesting that the databases be backed up daily, and the database files added to Github for version control. I think that would let us "roll back" to previous versions of the entire database, but doesn't allow for granular source control of designs, content, structures, et cetera.

Do any of you have experience using source/version control with your EE-driven sites? What method or system did you use?


texts: Email Notification for specific member group

texts:
I have never used EE before this project, and I am getting used to it.  So far I like it.  I have taken the project through completion, yet now I am having a hiccup.

A client wants to have an email notification of a new member, but for specific member groups, they would like it to go to different email addresses.

For example, I have used two different forms from Simple Registration plugin to have two different groups.  Vendors and then Supporters.

When supporters register, a notification should go to one email address, where when a vendor registers the client wants it to go to a different email, as these two are handled by two different people.

Also, is there a way to control that email notification?  I have custom membership fields, and when someone registers it does not show any of my custom membership fields in the email notification to myself upon new sign up.

Sorry if I am not explaining well enough!


texts:
TROUBLESHOOTING
Migrating an old blog over using this templte Bootcamp 4 and EE
The navbar toggler is working on the .index template but not on the subsequent templates.

WORKING:

NOT WORKING:

I’m loading jquery.js before bootstrap.js at the bottom of page - so I’ve ruled that out.

Using the same embeds on all templates - so that ticks that box.

Looks like subsequent templates just can’t find the JS folder. Is is an addressing issue?

Anyhow - help appreciated - thanks in advance.
S


texts: Add single link item to menu without user needing to log in again

texts:
I'm having trouble adding a link to CartThrob Order Manager into a control panel menu using Menu Manager.

The plugin doesn't offer a pre-ser menu option, so I need to do this with a single link, as I understand it.  the problem is that the URL for the specific page seems to have a code in the URL that specifically identifies me as a user.  This menu needs to work for anyone logged in with the appropriate permissions.  If I remove the bit in the URl that's specific to me (&S=...) any user clikcing the menu item si required to log in again, even if they are already logged in and have permissions to view that page.

Am I missing something obvious?

Cheers,

Crac

PS. Just to clarify version numbers: EE 5.3.0, CT Pro 4.6.1, CT OM 4.6.1 ...


texts: Change the filename for file uploads in channel forms - non image files

texts:
I have an internal site on ExpressionEngine that allows employees to upload files using channel forms (formerly safecracker). I would like to change the name of the file to include the username of who uploaded it.

I have seen solutions here on stackexchange for doing this with image files with an add-on CE Images. I'm wondering if there is a solution for non-image files, preferably without an add-on.


texts: Cartthrob 2.6 tax being calculated incorrectly with allow_user_price

texts:
I seem to have found a bug with Cartthrob 2.6 where the tax is calculated incorrectly when using allow_user_price="yes" within the "add_to_cart_form" tag. The cart seems to display the tax of the item, rather than the allowed user price which should override this. The previous version of CT was working fine.

(Updated on EE 2.9)

Has anyone come across this and found any solution? I will have a dig about to see what is going on, but it's unusable in my case until I find a fix.

UPDATE:
I've looked into this further and it seems to be where the base_price() function  is called and uses retrieves the item's price rather than the dynamic price in this case (found in in cartthrob/core/item/Cartthrob_item_product.php).

If there's a way to detect if product has a dynamic price, then we could tell it to use retrieve the calculated price. However I am unable to see any identifier to say this has a dynamic price within the $item/$this object? Or perhaps I'm missing something?!? Any suggestions very welcome...

Thanks


texts: How to create a custom Widget for the Widgets add-on

texts:
I am creating a selection of additional widgets to be used with the Widget addon. The widgets addon detects widgets that are placed into the following directory structure:

/third_party/your_addon/widgets/widget_name_1
/third_party/your_addon/widgets/widget_name_2
/third_party/your_addon/widgets/widget_name_3

I cannot figure out which type of add-on I need to create:

Plugin - I do not want to define a custom tag.
Module - I do not need to create a user interface in the control panel.
Extension - I do not need any hooks.


texts:
A client asked me to took over his website recently to update on his behalf so the site was produced by a previous developer so I am quite new to Expression Engine.

Only pages with single word can show the active menu colour (background + border) when we are on the current page but not other pages with two words.

Heres the code:

Our Team
Taxation

I found that one word would work fine but not two words. I tried:

Our Team
Our%20Team
Our-Team
Our_Team

Any suggestion?
Thanks heap!


texts: Error when using Grid field: You are not authorized to perform this action

texts:
Getting this error when attempting to use the Grid field: You are not authorized to perform this action

Once I switch to another field type, error goes away...


texts: What is the difference between forceid and entry_id on a template?

texts:
I will delete this question if forceid is singular to the site I am dealing with but what is the difference between forceid and entry_id if they both equal the same thing? I am also dealing with the Page module if that helps.

{embed="site/_head" forceid="18" weblogname="main"}
    {exp:weblog:entries weblog="site" show_pages="yes" rdf="off" disable="trackbacks" limit="1" entry_id="18"}
{embed="site/_foot" forceid = "18"}


texts:
I'm trying to edit an entry and the page seems to simply refresh, not displaying the usual submitted page that shows made changes etc. I cannot figure out what could be causing this. Hopefully the community will, thanks in advance.

I'm running EE 2.2.2 hopefully I don't have to update


texts: Expresso Store, email address for auto generated emails

texts:
I'm using Expresso Store, everything is working fine, except the final email generated at the end of the process has an incorrect reply to address.  When the customer replies to an email, their reply is not going to the correct client address, but an old, no longer used one.  Can anyone tell me where expresso store pulls it's email addresses from?

I've put the new address in the BCC field in email settings and in Admin > Email Configuration > Return email address for auto-generated emails is this correct?

On a related note, does anyone know where I can check the email address that the admin email is sent to?  Can't seem to find it anywhere.

Thanks,


texts:
Is it possible to upload an image with the ability to edit it's opacity, screen tints, etc? (Not just cropping?) Do I really need an add-on for that?

-signed
A Struggling novice of EE.


texts:
I seem to have a problem with Playa + conditionals + snippets. I've emailed P&T since it may be an error in Playa.

I'm trying to accomplish a listings page where the information displayed depends on the membership package of each entry. If statements don't seem to work correctly, perhaps it's the parse order?

{exp:channel:entries channel="companies" dynamic="no"}

  {!-- this works --}
  {company_membership_package var_prefix="pkg"}
    {pkg:title}
  {/company_membership_package}

  {!-- this works --}
  {company_membership_package}
    {title}
  {/company_membership_package}

  {!-- this fails - nothing displayed --}
  {company_membership_package var_prefix="pkg"}
    {if {pkg:title} == "Premium"}
      {snp_company-listings_Premium}
    {if:elseif pkg:title == "Premium"}
      {snp_company-listings_Premium}
    {/if}
  {/company_membership_package}

  {!-- this fails - outputs {snp_company-listings_Premium} --}
  {exp:playa:children var_prefix="pkg"}
      {snp_company-listings_{pkg:title}}
   {/exp:playa:children}

{/exp:channel:entries}

{company_membership_package} is a Playa field.

Thanks,
Paul


texts:
I've got an old client that's still on EE1 (I know!). They need to move server and will likely have to be on PHP7 which obviously means an upgrade.

What's the best approach here? I guess I need to upgrade EE1 > EE2 > EE3 > EE4? And how do I even get a copy of EE2?!

The site also uses a bunch of third-party plugins that I expect will be tricky too (NGen file field, Freeform, SL Google Map etc). Would I need to upgrade each of these at each step to a version which works with each EE version?

And finally, is this going to be insanely time-consuming – would I be better off rebuilding and trying to export/import data (if I can find an EE1 export plugin...)

Thanks for any tips!


texts: What ee ecommerce modules allow for product import?

texts:
What EE ecommerce modules allow for product import?

I want to use an Excel doc, save it as a CSV, for example.

I only have about six fields - Title, Number, Price, Image, Pkg Quantity, Weight.

I have about 600 products, will eventually be 3,000.

This would be an EE 3 site but I could still use EE 2 if necessary.


texts: Inconsistent results using EE Simple Search with Solspace Calendar

texts:
I am using EE's Simple Search here to search the Solspace default channel Calendar:Events.

Here is the code

Search Events

    {exp:search:simple_form
        channel="calendar_events"
        search_in="everywhere"
        where="any"
        show_future_entries="yes"
        show_expired="yes"
        results="10"
        result_page="calendar/search-results"
        no_result_page="search/no-results"
        }
    <input type="text" name="keywords" id="keywords" value="" size="18" maxlength="100"> <input type="submit" value="Submit" class="search-btn">
{/exp:search:simple_form}

For most search items this works fine and delivers predictable results. However, there are a couple of things that don't work and I haven't been able to find solutions to the following:

No results for items I know are in the entries. For example, there is an event with the title of Lego Club, but if I do a search for Lego, I get a blank results page.
The No Results page is not being used for items that are not in the channel. For example, if I do a search for Nikon, instead of going to the designated no_result_page it goes to a default EE page that displays the following error:

  The action you have requested is invalid.

I am not sure why these errors are occurring or how to fix them, but would appreciate any insights.


texts: Wygwam is inserting words into the field by itself!

texts:
One of my channels has a Wygwam field set to use the "Basic" formatting toolbar. Whenever I save an entry, and then go back in to edit that entry, the word "Schedule" appears as the last line in the Wygwam field. I have no idea where this word would come from.

I have other channels using Wygwam, some of them also using the "Basic" toolbar, but this doesn't happen in those channels.

I don't have any advanced settings or style sheets added to this particular Wygwam field, and "Restrict allowed HTML" is set to "Yes".

I've temporarily changed the toolbar to a different one and that seems to have resolved it for now.

Ever seen this?

EDIT:

I just noticed in the Source view of Wygwam, this code is being written into the field:

<button class="tw-schedule-btn" id="tw_schedule_btn" style="padding: 4px 6px;position: absolute;left: 141px;top: 840px;background-color: #F7F7F7;  background: linear-gradient(#FFF, #F0F0F0);  border: 1px solid #CCC;  color: #5F5F5F;  cursor: pointer;  font-weight: bold;  text-shadow: 0 1px #FFF;  white-space: nowrap;border-radius: 3px;font-size: 11px; display: none; z-index: 8675309">Schedule</button>

I may be able to figure this out myself soon, but anyone recognize that? From some sharing button maybe?


texts: Notice in Log file: Use of undefined constant REQ - filling up log files

texts:
On several of my EE2.6.1 websites I am noticing that the log files are getting bloated with the following notice over and over again:

ERROR - 2013-08-26 13:10:20 --> Severity: Notice  --> Use of undefined constant REQ - assumed 'REQ' /home/highland/public_html/system/expressionengine/libraries/Core.php 48

Is anyone else getting this in their logs? Have any idea how I can fix this or what it means?

Thanks!


texts:
I am looking for a way to e-mail entry authors on a status change of their entry when changed using safecracker. Any ideas?

I ran across MX Notify Control but that will not allow me to specify the entry author as the recipient to be notified.

Thanks


texts: Viewing an audit trail of channel entry edits/revisions

texts:
I'm building a basic CRM system based on channel entries and SafeCracker forms for a client extranet. The client is asking me if it's possible to view a 'system notes/audit trail' for each entry so they can keep track of who has edited a channel entry and what they edited.

I've told them we can enable channel entry versioning, but this only lets them see the date/time and author of changes at a glance, and you have to manually re-load a version and compare it to another to see what has changed.

So my question is, is there another way to show some sort of audit trail of edits made to specific fields within ExpressionEngine? If so, how?

Using the built-in versioning is my worse case scenario, but it seems limited in how you view them at a glance. A slightly better (albeit, hacky) idea is to have a custom script that would compare entry versions between two versions, in order to list out the exact changes between them, but I'm hoping that there's a better solution out there again that someone has implemented before.


texts: Can I make a directory that lists by first letter of last name?

texts:
I'm making a people directory index and would like A-Z links, where clicking on a letter produces all people whose last names begins in that letter.

I'm pulling from a People channel, which has a Last Name field, but it doesn't look like the exp:channel:entries search parameter can search on just the first character of a field?

Is there an easy way to do this? My next idea is running SQL WHERE last_name LIKE 'x%', but I'd prefer a more elegant solution if one exists.


texts: PHP 7 Error with ChannelImages: Fatal error: 'continue' not in the 'loop' or 'switch' context in…

texts:
I'm getting this error when trying to upload an image with ChannelImages 5.4.19 with EE 2.11.7:

  Fatal error:  'continue' not in the 'loop' or 'switch' context in
  /home/omart/public_html/system/expressionengine/third_party/channel_images/ajax.channel_images.php
  on line 2442

The offending code is below. Line 2442 is the line with continue;.

if ($field_type == 'file') {
        $img_path = str_replace($file_dirs_search, $file_dirs_replace, $field_data);

        if (file_exists($img_path) == FALSE) {
            exit($img_path);
            continue;
        }

        $img = array();
        $img['path'] = $img_path;
        $images[] = $img;
    }

Any help is appreciated.

Thanks,

ty


texts: How to create a Freeform multipage form inside of two separate form tags?

texts:
I'm trying to create a form which passes field values over multiple pages. The first part is in the footer of the website, which, when filled out, should take you to an expanded version of the same form (with added fields), filling out whichever fields were submitted through the first form.

The problem is that I need to do this in two separate form tags (one which exists in my footer template, another for my form page), but all of the examples I've seen have all form "pages" in one tag pair.

E.g. http://www.solspace.com/docs/freeform/form#multipage_surveys

Anyone know if it's possible to do the above, but not within the same form tag?


texts:
I like to use Freeform to create ads on my site - but i like to create member at same page.

So what I like is that first you enter email, then a ajax checks to see if that email is already enter in system (and the user all ready have a account)
if not the user proceed to login name, ads title, and all other ads fields.

Is that possible with Freeform Pro?


texts: Solspace Tag on Channel Form (safecracker) with checkbox list?

texts:
I'm wondering if there's any way to create a new input format for assigning tags to entries in Channel Form (previously safecracker). I run a directory site and business owners will be editing their own listings and I want them to be able to assign tags to their entries. But they may not be familiar with how tags work, and even if they are they won't know which tags are available for them to use. So I want to list all possible tags in that tag groups in a list on the entry edit page, and allow them to use checkboxes to select tags that apply to their business.

Is there any way I can create my own HTML structure to have each tag as a checkbox item and tags that get checked are assigned to the entry?

Or am I stuck with using the tag widget or a simple textarea where all tags must be written in?


texts: Useless variable when looping channel entries - relationship field

texts:
I'm looping through channel entries. When I try to output the value of a relationship field, I seem to be getting some sort of numerical id (it's not the entry id of the current channel or the channel it is related to; I checked). What exactly is that number? How is this number related to the channel it relates to?

Ultimately, I'm trying to change the structure of the data for some other use later on. So, is there anything in the two channels that are identical so that I can connect the two?

UPDATE 1: code snippet

    {exp:channel:entries channel="regions" sort="asc" orderby="title" disable="categories|member_data|pagination"}

{title} - {entry_id}

    {/exp:channel:entries}

<?php $formatted_branches = array(); ?>
{exp:channel:entries channel="regions" sort="asc" orderby="title" disable="categories|member_data|pagination"}
    {reverse_related_entries sort="asc" orderby="title" channel="branch"}
        <?php
            $formatted_branches["{participant_status}"]["{region}"]["{parent_company}"][] = array('branch_name' => "{branch_name}");
        ?>
    {/reverse_related_entries}
{/exp:channel:entries}
<?php var_dump($formatted_branches); ?>


texts: Where are relationship field data stored?

texts:
In the EE database, I see that exp_channel_fields.field_id = 4 refers to a relationship in my Channel-A (channel_id = 1). I assume that channel data for that field should be stored in my exp_channel_data.field_id_4. Is this right? I do not see any data in that column, despite me going into Channel-A and making sure that I have selected a value from the relationship field.

I'm trying to build a query that gets a distinct list of url titles from the relationship field if that title was selected in Channel A.


texts: Wygwam+Safecracker: long URL gets limited to 60 characters and breaks HTML

texts:
Real URLs have been changed to protect the innocent, but the dummy URLs are the exact same length (197 characters unexpectedly truncated to 60) and similar format. When posting this to a Wygwam field via Safecracker but not from the control panel ...

This is oddly frustrating. Here's the link. This sentence should come after the link.

... the result ends up being stored like this ...

This is oddly frustrating. Here's the link. This sentence should come after the link.

Notice that the href property is never completed with a " even despite the truncated URL.

Why would this happen via Safecracker and not via the control panel?

EE 2.6.1, Wygwam 3.1.2.


texts: Any way to include file in a email sent to user?

texts: We are implementing a Coupon page on a client's website. Basically just a page that displays the coupon JPG. I have a channel setup with a field to upload an image. The client wants the user to be able to input their email address into a form field and submit in order to get the coupon JPG emailed to them. Any ideas how this can be accomplished? The Coupon JPG will update occasionally. Thanks for any info!


texts: CartThrob - Price Modifier with additional column

texts:
I have a Price Modifier for a product which has the usual option_value, option_name and price. I have added an additional column titled 'supplementary'.

This new column is correctly appearing within the Add to Cart form using the {supplementary} tag as follows;

{exp:cartthrob:multi_add_to_cart_form entry_id="{entry_id}"}

    {my_option}
    <input type="hidden" name="item_options[{count}][my_option]" value="{option_value}" />
    <input type="hidden" name="item_options[supplementary]" value="supplementary" />
    {option_name} {supplementary} {price}
    {/my_option}

{/exp:cartthrob:multi_add_to_cart_form}

However, I need this to also appear in the Basket/Cart with the selected option but it's not appearing with the following code;

{exp:cartthrob:item_options entry_id="{entry_id}" row_id="{row_id}"}
{option_label}: {option_value} {supplementary}
{/exp:cartthrob:item_options}

I was wondering if someone could tell me what I'm doing wrong? I've also tried using the following but to no avail;

{item_options:supplementary}

Thank you.


texts:
I came across below tags in EE during advance search..

Where do we define variables and what is the use of them??
What exactly is "lang" and where can I find in EE??

{lang:search_by_keyword}
{lang:exact_phrase_match}
{lang:search_in_titles}
{lang:channels}
{lang:any_category}


texts: Freeform Pro: Notifying Any Email Except Domain Email

texts:
I've tried searching the the forums for an answer, but this one's got me buggered.

I set up Freeform Pro the same way I've always done. I originally tested it using my email address, and everything worked fine.

But when I changed the "admin_notify" email to the client's email, they don't get the message. I confirmed that it's not going in their spam folder.

I had them give me an alternate email. They gave me a personal Hotmail email, submitted the form, and they got the form submission.

So it seems like any email other than their domain email will go through. Sounds like a server/email issue, but any thoughts?

Here's my Freeform Pro code just in case I'm missing something.

        {exp:freeform:form
        form_id="3"
        form:class="required"
        notify_admin="yes"
        user_email_field="email"
        admin_notification_template="contact_notify"
        admin_notify="info@creativeitaz.com"
        return="contact/thank-you"
        }


texts: Save a Matrix fieldtype configuration to make it fixed and permanent for each entry of a channel

texts:
is there any solution to make permanent and repeat in each entry form a matrix fieldtype?

I would to make this set of field (includes row and colums) fixed for each new entry form in CP.

In other words i want to save this matrix configuration of rows, columns and cells and repeat the same for each entry of a particular channel.

Is it possible?


texts: Entries take a long time to update on live site. EE 1.6.8

texts:
My organization's site in running EE 1.6.8 hosted on Rackspace Cloud Sites.  In the last few weeks we have noticed that it takes longer and longer to update an entry in the control panel.  We are now at approximately 20-30 seconds from the time we click "Update" to when we get the preview screen verifying the entry has been updated.  Other aspects of the CP load quickly like opening entries or viewing entries in a particular category.

Strange thing is that we have a staging version of the site also hosted on Rackspace Cloud Sites that has its own database but it is just a copy of the live site and the stage site CP updates entries quickly - 2 seconds max.

The front end of both run okay as well.  For some reason it just seems like the live site hangs when writing new info to the DB.

Here is the debug info from the bottom of the preview screen of an updated entry:

  ExpressionEngine 1.6.8 - © Copyright 2003 - 2009 - EllisLab, Inc.
  Script executed in 0.4475 seconds   19 SQL queries used
  Build:  20090915

0.4475 seconds ?  More like 25 seconds in real time.

If both sites have the same DB, site files, addons etc what are your guesses for the slowness?

Thanks!


texts: Possible to globally disable categories|category_fields|member_data|pagination instead of channel entry tag everytime?

texts:
Expression Engine's channel entry tag has a parameter called disable for which we can choose to disable various data from being returned and it is supposed to be better for performance to do so. I quote the documentation:

  The disable= parameter allows you to turn off aspects of the tag that
  you might not be using in order to improve performance.

For example:

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

Well, we use this disable tag on nearly all of our templates on all of our websites. We of course do not disable them for a news or blog page.

So it has occurred to me, why are they enabled by default? Is it possible to disable these somewhere globally so we do not need to keep using the disable parameter?

It is a waste of space and time for us to add it all the time, and there are likely many developers not using this parameter and not needing the extra data.

It would be better if there was an enable option to add in what you need rather than take away what you dont.

Thanks


texts:
Anyone know if there is a way to get the default (original) template-group/template segments from a Transcribe translated URL?

Example: If the default language URL for a template-group is "example.com/en/news/" and the translated one for spanish is "examples/es/noticias/", is there some way of getting the original {segment_2} var ("news") if we are viewing the spanish version (where {segment_2} is "noticias")?


texts: Is it possible to use an extension in a template like a plugin?

texts:
I built an extension which works fine and I'm trying to make it work in my template but I don't know how to do and actually, I don't even know if it could work.

My code looks like:

class Easypost_extension_ext

{

    public $name        = 'Easypost extensions';
    public $version     = '1.0.0';
    public $description = 'Display shipment only if there is a product to send';
    public $docs_url    = 'https://ellislab.com/expressionengine/user-guide/';
    public $settings_exist = 'n';
    public $settings    = array();
    private $EE;
    private $apikey;

My function is called check_shipping and I'm trying to call it in my template in this way:

<select class="form-control" id="easypost" name="easypost">
    {exp:easypost_extention:check_shipping}
    <option value="">
        {service}
        {days}
        {rate}
        {currency}
        {rateid}
    </option>
    {/exp:easypost_extention:check_shipping}
</select>

But I receive an error in my template. Is there any way to fix my problem?


texts:
Currently trying to work out why our ExpressionEngine install is running so slowley, have just checked our error log and it's full of the following:

(103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function

The entire site seems to hang on every page load then once it gets past this hang loads fairly quickly.

What would cause this error and how can I go about fixing it? Any ideas?

We're running on ExpressionEngine 2.7 and are using the Expresso Store module.


texts:
Am I missing something? It displays the 0, and 1 comment, but not multiple comments.

I'm sure it's a simple answer, but I can't see what error I'm making, and I'm not getting any feedback in developer mode.

I'm using default comments with EE, and i'm using version 2.9.2.

Thanks!

{if {total_results} == 0}
0 Comments

{if:elseif {total_results} == 1}
{total_results} Comment

{if:elseif {total_results} > 1}
{total_results} Comments
{/if}


texts: Storing multiple variables from CE Image tag pair in Stash

texts:
I'm attempting to store several variables generated by CE Image's Pair tag, as follows:

{exp:stash:set parse_tags="yes" parse_depth="2"}
    {exp:ce_img:pair src="{source_image}"}
       {stash:ee_img_original_width'}{width_orig}{/stash:ee_img_original_width}
       {stash:ee_img_sized_src'}{made}{/stash:ee_img_sized_src}
       {stash:ee_img_sized_width'}{width}{/stash:ee_img_sized_width}
    {/exp:ce_img:pair}
{/exp:stash:set}

I've reviewed this post about getting a single var from CE Image, and this one, about grabbing multiple variables from a different tag pair, but I'm not getting anywhere. Thanks in advance!

Corrected Syntax, Per Nate/Mark's Feedback

Set Vars

{exp:stash:set parse_tags="yes" parse_depth="2"}
    {exp:ce_img:pair src="{source_image}"}
        {stash:ee_img_original_width}{width_orig}{/stash:ee_img_original_width}
        {stash:ee_img_sized_src}{made}{/stash:ee_img_sized_src}
        {stash:ee_img_sized_width}{width}{/stash:ee_img_sized_width}
    {/exp:ce_img:pair}
{/exp:stash:set}

Get Vars

    Original Width: {exp:stash:get name='ee_img_original_width'}

    Path to New Image: {exp:stash:get name='ee_img_sized_src'}

    New Image Width {exp:stash:get name='ee_img_sized_width'}


texts: Not all entries are shown via markers on Google Maps for EE

texts:
I have a problem with displaying all markers on a map.  My channel has 129 entries for dealers that need to be shown on a map.  For some reason only 95 are displayed via a marker on the map.
The template setup is relatively easy

{exp:channel:entries channel="dealers" dynamic="no" disable="categories|member_data|pagination" limit="999"}

// all sorts of data about the dealer like name, phone, etc in a list

// the markers
{exp:gmap:marker
        id="map"
        infobox="true"
        extend_bounds="false"
        icon="/themes/third_party/gmap/icons/pin-location.png"
        latitude="{dealers_latitude}"
        longitude="{dealers_longitude}"
        zoom="8"
        clustering="true"
        show_one_window="true"
        limit="1"
        style="width: '350px'"
        offsetY="-45" // Offset the X position of the window
        offsetX="15" // Offset the Y position of the window
        closeBoxMargin="5px" // Sets the box margin (could also be done in stylesheet)
        class="ui-infobox-dark" // Uses the dark theme made available by Google Maps for ExpressionEngine v3
        closeBoxURL="/themes/third_party/gmap/css/images/white-close-button.png" //Uses an alternative close button
        open_windows="false"
        //geocode="true"
        }

{/exp:gmap:marker}
{/exp:channel:entries}

It appears that -as expected- the javascript is not generated for the entries that not shown.  It is not random, so the problem is consistent.  But I really cannot see why those entries would be different than any others..

I’m running EE 2.5.5 and Google Maps 3.2.3

rg,
Tim


texts:
Pretty basic question here, but this is my first MSM build.

What is the proper template path/location for Site 2 in MSM?

Should they be within the Site 2 file structure, or should they be with the default site file structure?

Currently, only admin.php and index.php exist within the site 2 file structure.


texts: Restrict Upload Directories in Wygwam field

texts:
The site I'm working on has multiple upload directories with different permissions on them.

The content administrator is building public-facing pages and including PDFs via the page's Wygwam field, but by default Wygwam is selecting the first upload directory the content administrator has access to, which is not a public file directory (e.g. it selects "Private" instead of "Public", presumably because it appears first alphabetically).

Is there a way in my Wygwam field to specify what upload directories it can use, like in a file custom field? If there is, I'm not seeing it.

Thanks,

Tim


texts:
I'm trying to send and email from a custom add-on using the Email Class and having no luck at all. I'm not totally sure how to debug this, as I've not got any server errors or anything like that.

This is the code I'm using as per the Docs:

$this->EE->load->library('email');
$this->EE->load->helper('text');

$this->EE->email->initialize();
$this->EE->email->wordwrap = true;
$this->EE->email->mailtype = 'text';
$this->EE->email->from($this->from_address);
$this->EE->email->to($receipient);
$this->EE->email->subject($subject);
$this->EE->email->message(entities_to_ascii($email_msg));
$this->EE->email->Send();

Are there any special requirements with regard to permissions I should be adding? I've created a separate user in order to post to a specific channel and then send notification emails.

I'm working locally at the moment and I've tried sending an email from the CP and that worked out ok, so I guess my email config is all right. I was logged in as the admin though.

Any help gratefully received.


texts:
I have this kind of code structure. foo and bar are both Grid fields.

{if "{foo:total_rows}" > 0 OR "{bar:total_rows}" > 0}
  {if "{foo:total_rows}" > 0}
       {foo}
          {foo:a}
          {foo:b}
          {foo:c}
       {/foo}
  {/if}
{/if}

The problem is that {foo:a},{foo:b} and {foo:c} is not outputting anything.

However, when I do this

{if "{foo:total_rows}" > 0 OR "{bar:total_rows}" > 0}

   {foo}
      {foo:a}
      {foo:b}
      {foo:c}
   {/foo}

   {if "{foo:total_rows}" > 0}
        {foo}
           {foo:a}
           {foo:b}
           {foo:c}
        {/foo}
    {/if}
{/if}

I get

{foo}{/foo}abc

a, b, and c are the contents of {foo:a},{foo:b} and {foo:c} respectively.

What is the problem here? Is this a parse order issue?


texts: Assets 2 Upgrade - No Images in Manager and No Uploading

texts:
I am running EE 2.6.1 and recently updated to Assets 2.1.3.

In the EE file manager, all my files are visible and I can upload new ones. But the Assets file manager is blank and gives me an error when I try to upload: "Could not upload the file - server returned an unexpected response. Please check the server settings."

I have tried updating the indexes with no success of resolving the issue.


texts:
How can I increase the number of custom Order Fields in Expresso Store? There are 9 by default but I need more.

Thanks!
Lee


texts:
EE 5.2.6

I have the default email contact from set up. Looks like this:

{exp:email:contact_form
  form_class='contact-form'
  return='{site_url}index.php/{p_url}/thanks'
  redirect='0' user_recipients='no'
  recipients='myrecipient@yahoo.com'
}
<input name="name" type="text" value="{member_name}">
<input class="required" name="from" type="text" value="{member_email}">
<input name="subject" type="text" value="">
<textarea class="required" name="message" cols="" rows=""></textarea>
<input class="comment_button shake transformer" type="submit" value="Send e-mail">
{/exp:email:contact_form}

When I test this the form itself seems to work fine - it processes the submission, goes to a "Your message has been sent" page which automatically redirects back to the contact page with a thank you message. All of this is working fine, but I do not receive the email.

I have been checking the exchange here for answers, so here's a checklist of things I've done.

Email add-on is installed
Spam add-on is installed
Tried adding this to the form but resulted in error when form submitted

    <input type="hidden" name="from" value="" />
    <input type="hidden" name="subject" value="Email Contact" />

I do not have a lot of experience with email forms at all so it is totally likely that I don't have some setting set correctly.

Please help.


texts:
I'm in the the throws of building a site that is based purely on membership. Everything is sweet with pretty much all activity (post, comment, edit, delete etc) NOT requiring anyone to go to the CP it's all done with a mixture of modules (User, Messaging + Safecraker).

Now I'm at the "signup" process and I'd like to make it a tad simpler for admins to promote OR ban new signups WITHOUT going to the CP to do so.

I was planning on:

User signs up and goes into "pending"
Redirected to FreeForm page where they complete a little "about me" form and include their signup name in hidden field. This is instead of a new SAFE entry/page.
Admins notified, go to a special page and view applications (freeform entries)
Read the entry and if they sound legitimate, somehow using a select dropdown or checkbox, hit either "promote" or "deny" which alters the member member_group to base member or banned.

That was the plan but am open to ways where a NON SA can alter members member_group just like they can in the CP with the right privileges.

The reason for a Freeform post is to further validate their viability as members not spammers.

Solspace User allows editing of member_group but only by SA but I dont want to give SA to a group of peeps that ostensibly dont need it when 99% of the site is controlled via front end.

I could work it in reverse and have users fill out a Freeform with details then send them an invite key BUT Solspace User "keys" need to be generated by SA :(


texts: How to sort field from multiple Channels?

texts:
I'm looping through multiple Channels:

{exp:channel:entries channel="channel_a|channel_b"}

Say that channel_a has a_field and channel_b has b_field. I want to sort such that the values of a_field and b_field are consider part of the same list. I don't want to, say, sort all the a_field first, then all the b_field next.

Possible to do this in EE?


texts: how to allow the group of members to use an addon?

texts: I developed a driver that handles ajax requests, super admins can use it but I want members to be able to use it too.


texts:
We have two servers running identical instances of an EE 5.2.4, using PHP 7.x via IIS.  Our production machine works fine, no issues.  Our backup server is the issue.

On the backup server: I can log into CP with no issues, and once logged in, I can view the site and all's well.  If I'm not logged in / authenticated, I get the white screen of death.  I've enabled debugging, and set $debug = 2 in index.php, so that everyone can see any errors (nothing shown), checked all debug options in CP, I've checked PHP logs, MySql logs, Event Viewer, everything I can think of.  No errors are shown.  Today I started commenting out template sections out of desperation, with no luck.

Clearly, something is different between the two servers.  Is there anything obvious that I'm overlooking that would be bypassed when an admin is logged in, while viewing the site that would trigger for a non-authenticated user?  Has anyone else dealt with this issue?


texts: Cannot use Publish Layouts because "Title field cannot be hidden"

texts:
I would like to customize a Publish Layout on a channel that uses MX Title Control but it won't let me save my layout because it errors out with "Title field cannot be hidden"

Any workarounds available?

Thanks!


texts: Where to change text for Mailing List Form errors

texts:
I'm using the mailing list module as a newsletter signup form.  I want to edit the error text that is shown if the user doesn't fill out the form correctly.  Here is the error text:

  The form you submitted contained the following errors

  The username you chose is not available
  List item the screen name you chose is not available
  The email you chose is not available
  Please type both words that appear in the image

I'm not using captcha so the last bullet doesn't make any sense.  I simply with to remove that text.  Can someone please tell me where to do that?


texts: ee3 install - Parse error: syntax error, unexpected ':' in admin.php on line 80

texts:
I feel like I'm taking crazy pills. Why would I be the only person with this error? Like 80 says:

$system_path = $system_path ?: __DIR__;

Looks weird, doesn't it?


texts: template variables not parsing inside javascript

texts:
I have some javascript in a template and when I try to use template variables inside the  ...  tags, the template variables are not parsing.

All other template vars on the page are parsing as expected.

I also have $config['protect_javascript'] set to "n"

Code in template:

<script type="text/javascript">
$('#{pricing_button}{pricing_button_attr_id}{/pricing_button}').on('click', function (e) {
    e.preventDefault();
    alert('clicked it!');
    alert('{ga_event}');
});
</script>

The rendered page results:

<script type="text/javascript">
$('#{pricing_button}{pricing_button_attr_id}{/pricing_button}').on('click', function (e) {
    e.preventDefault();
    alert('clicked it!');
    alert('{ga_event}');
});
</script>


texts:
My site has events. members can apply for an event. I want to prevent them applying more than one time for an event to prevent duplicates.

My set up is as follows:

channel event
2 channels for accreditation (internal and external) with the same field group attached, one of these fields is a playa field with the events. My registered visitors apply to these events with a safecracker form.

So in my template i want to see if the current user has allready made an entry in the accreditation channels by using the playa:parent_ids tag. However, this is not returning anything.

{exp:playa:parent_ids channel="external_accreditation|accreditation" show_expired="true" show_future_entries="true" status="Open|Pending|Accepted" field="acc_rel_event"}

I have playa links installed on my system, and that addon does return the proper parents:

Or am i trying to do this in an overly complex way?

Here's my complete test template, where the child stuff is outputting, only the parent stuff is not:

{if logged_out}{redirect=''}{/if}
{embed='_partials/.template'}
{exp:channel:entries
    channel='event'
    limit='1'
    dynamic='no'
    url_title='mvv-sparta-rotterdam'
}
    {exp:stash:set}
        {stash:pagetitle}{title}{/stash:pagetitle}
        {stash:pagecontent}

            entry_id: {entry_id} - channel short name: {channel_short_name} url_title: {url_title}

            total parents:
            {exp:playa:total_parents channel="external_accreditation|accreditation" show_expired="true" show_future_entries="true" status="Open|Pending|Accepted"}

            parent_ids:
            {exp:playa:parent_ids channel="external_accreditation|accreditation" show_expired="true" show_future_entries="true" status="Open|Pending|Accepted"}

            child_ids:
            {exp:playa:child_ids channel="external_accreditation|accreditation" status="Open|Pending|Accepted"}

            playa:parents:
            {exp:playa:parents channel="external_accreditation|accreditation" status="Open|Pending|Accepted" var_prefix="acc"}
            {acc:entry_id}
            {/exp:playa:parents}

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


texts: template_group and template_name not matching segment_1 and segment_2

texts:
Using EE 3.0.5

http://example.com/documentation/style_guide

template_group: documentation
template_name: index

segment_1: documentation
segment_2: style_guide

The style_guide template is not displaying.. it's reverting to the index template.

I can't figure out what would cause segment_2 to not be the template_name

Only index and 1 other template in the template_group displays correctly. All others revert to index.

Haven't modified template routes.

.htaccess removes index.php per documentation.


texts: using free-form composer - form not appearing correctly

texts:
using tag:
{exp:freeform:composer form_name="test"}

It draws lines but doesn't show the form inputs
example:
http://sellitresolution.com/home/test


texts:
I’m getting an error when saving an entry. I do the following.

edit entry
select image in Wygwam (browse server opens Assets)
save entry

When I save the entry I’ll see an example of the content with a wrong reference to the image.

For example:

http://www.nederlandsedansdagen.nl/uploads/images/Act_Your_Age/Act_Your_Age_Nederlandse_Dansdagen_datum_klein.jpg}" style="height:480px; width:480px”>

Do you have any idea what’s wrong?

I use the latest version of Assets and the latest version of Wygwam.

Hope to hear from you.

Kind regards,

Jasper


texts: EE 2.6.1 relationships - just not working - at all

texts:
I don't know if I am just going a bit barmy but I upgraded a site we are developing from 2.5.5 to 2.6 and then to 2.6.1

Everything looked ok until I tried to make a playa relationship work and no matter what I tried there was no fun to be had.

I removed playa and tried to do the same thing using the new relationships field in 2.6.1 and still nothing.

The setup is:

Parent Channel = schools
Child Channel = people

Restricted to people with status of teacher

Parent can only have one child

The code (which is on a page by itself):

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

{title}

    {cf_schools_teacher}

{cf_schools_teacher:cf_people_first_name}

    {/cf_schools_teacher}

{/exp:channel:entries}

In the output I only get the Schools title and the ul tags - I checked the database exp_relationships and the pointers all seem to be correct although there is no data in the field in exp_channel_data (i'm not sure if there's meant to be)

Am I missing something basic? Or should I abandon 2.6.1 and start again in 2.5.5

Many Thanks
Sean


texts:
Part of my Dashee widget isn't working.

I'm setting the settings like so...

        $this->settings = array(
            'title' => 'Recent Orders',
            'channel_id' => '6',
            'limit' => '10',
            'field_firstname' => 'orders_firstname',
            'field_surname' => 'orders_surname',
            'field_total' => 'orders_total',
            'custom_url' => '10',
            'status' => 'Processing'
            );

and the title setting works:

<input type="text" name="title" value="'.$settings->title.'" />

And so does channel_id, limit & status. But my custom_url, field_firstname, field_surname, field_total don't:

<input type="text" name="custom_url" value="'.$settings->custom_url.'" />

It just throws this error:

  A PHP Error was encountered Severity: Notice

  Message: Undefined property: stdClass::$custom_url

What am I doing wrong?


texts: Remove index.php - interior pages are blank

texts:
I've got a site that works correctly on localhost and the staging domain, but after moving to the live server all interior pages return a 404 page.

.htaccess has the following

<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /

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

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

EE is not running in a subdirectory, i've tried adding the query string option from the docs but no change. Also removed the leading slash from index.php but that didn't make a difference.

Any thoughts? hosted on rackspace


texts:
I would to know if it's possible to use ajax with Low Alphabet.
I did a alphabet glossary,  each time the letter is clicked,  the whole page is loaded.  How to use ajax to reload only the Low Alphabet window?


texts:
I recently upgraded to EE2.11.1 and everything went well apart from nsm better meta , i upgraded to the latest version of better meta 1.1.9 but i got lots of php errors so i had to remove the better meta tags to get my site back up and running.

Now I am left with a site that has around 10,000 pages with no meta tags.I have tried to contact ee-garage for support several times but have not received any replies , they seem to have given up on their plugins.I have attached some screen shots and any help is appreciated.


texts: SQL query in a channel:next/prev_entry to output an image in a matrix column

texts:
I'm trying to create a Prev / Next navigation system using thumbnail images. The images for each entry are held in a four column matrix field (field_id = 8). I just want the first image held in the first column (col_id_38).

I'm using R.Sanchez's {exp:parse_file_paths} plugin to pull the image data without resorting to more embed or stashed lists.

Since {exp:channel:prev_entry} has to parsed outside of the {exp:channel:entries} tag, my current detail page template looks like this:

{exp:channel:entries channel="{segment_1}" disable="member_data|pagination" url_title="{segment_2}"}
    {title}
    {body}
    {stash:embed name="snippets:page-villanav" process="start" parse_depth="2"}
{/exp:channel:entries}

The stash:embed which looks like this:

{exp:channel:next_entry channel="{segment_1}" entry_id='{exp:transcribe:entry_ids channel="villa"}' parse="inward"}

       {title} // This is showing the correct Next entry title
       {exp:query sql="SELECT * FROM exp_matrix_data WHERE field_id = '8' && entry_id = '{entry_id}'"}
            {entry_id}          // This is showing the correct "Next" entry_id
            {exp:parse_file_paths}
                {background_image}
                    {image_01}  // This is showing the current entry's image filepath. Not the "Next" entry's first image filepath.
                {/background_image}
            {/exp:parse_file_paths}
        {/exp:query}

{/exp:channel:next_entry}

The problem is that, despite the query displaying the "Next" entry_id, {exp:parse_file_paths} is pulling the first image from the matrix field for the "current" entry.

Any clues?


texts: event_start_date formatting month_09_3 instead of September

texts:
I am using {event_start_date format="%M %j"} to get the format eg Sep 19

But in some cases it is outputting the month as "month_09_3" if the URl segments match the date of that event.

My code is below:

        {exp:calendar:cal
                date_range_start="{segment_3}-{segment_4}-{segment_5}"
                show_months="10"
                pad_short_weeks="n"
                {if segment_2 !="all"}calendar_name="{segment_2}"{/if}
        }
        {events}

                {event_start_date format="%M %j"} {if event_multi_day}- {event_end_date format="%M %j"}{/if}
                {event_title}
                {event_calendar_title}

        {/events}
            {if no_results}

                    There are currently no events to display.

{/if}

        {/exp:calendar:cal}

The url example would be http://www.domain.com/new-calendar/culture/2013/09/19/ segment 2 being the calendar_name.

Thanks


texts: Process plugins/modules tags inside another module

texts:
I'm working on a module function where it will take the tagdata and send it through email. The tagdata can contain anything from simple strings to plugin or module tags.

I can't seems to find the clean solution without hacking the undocumented methods and probably unsupported and unstable and causing so many other problems.

template_file.html
{exp:my_module:send_mail}
  This is just an example with
  {exp:another_module:do_something_cool}
    some other cool stuffs
  {/exp:another_module:do_something_cool}.

  {global_variables} are working fine with the parse_global() function
{/exp:my_module:send_mail}

The code above will just send the whole $tagdata as it is without processing the {exp} tag inside. How do I process that {exp} tag before I send it through email?


texts: Having trouble setting cartthrob's selected_shipping_option variable with default value

texts:
I'm really stuck on this and i hope the EE community can help.  I have CartThrob using a custom plugin for shipping that sets price thresholds to achieve free shipping.  And it seems to be applying the right rate immediately based on the pre-tax subtotal, but a value for selected_shipping_option is not.  It is only when I use the cart update form to resubmit the cart contents, which includes the shipping options drop down, that the value of shipping option is being set.  I'd like to be able to display some information on the checkout screen on the basis of the selected shipping option, but although the right amount is being applied for the transaction, the value of shipping_option is not being set.  Is there anything I can do about that?  I don't want to force the user to re-select even the default option just to be abel to get that value recorded and therefore included in the order entry.

So when I first go to my basket and have:

{exp:cartthrob:cart_items_info}
    {exp:cartthrob:update_cart_form return="basket/index" required="shipping_option"}
        {exp:cartthrob:get_shipping_options}
    <select name="shipping_option">
    <option value="ship_to_my_address" {if '{exp:cartthrob:selected_shipping_option}' == "ship_to_my_address"} selected="selected"{/if}>Ship to my address</option>
    <option value="in_store_pickup" '{exp:cartthrob:selected_shipping_option}' == "in_store_pickup">In store pickup - free</option>
        {/exp:cartthrob:get_shipping_options}
    </select>
    <input type="submit" value="Update Cart" class="button small" />
    {/exp:cartthrob:update_cart_form}
{exp:cartthrob:cart_items_info}

Neither option in the select box is being marked as selected and if I simply try putting {exp:cartthrob:selected_shipping_option} in the template, I get no value returned - UNTIL I submit the update cart form - then it works fine.  But I need (and would expect) the value to already be set - not JUST for the right amount to be charged.

Anyone have any ideas?


texts: Stash Nested Append List with Matrix and Playa

texts:
I have a channel with a matrix field named expedition_days, and inside of that matrix, there is a playa column named resources. I am trying to create a stash list for each row of the matrix. It seems like you can't use the playa module tags inside of append_list, unless I'm missing something.

{exp:channel:entries
    channel="expedition"
    dynamic="no"
    limit="1"
}
    {expedition_days}
        {exp:stash:append_list
            name="expedition_days"
            parse_tags="yes"
        }
            {stash:item_day}{row_count}{/stash:item_day}
            {stash:item_location}{location}{/stash:item_location}

            {exp:playa:children
                col="resources"
            }
                {exp:stash:append_list:nested name="resources_{row_count}"}
                    {stash:item_title}{title}{/stash:item_title}
                {/exp:stash:append_list:nested}
            {/exp:playa:children}
        {/exp:stash:append_list}
    {/expedition_days}
{/exp:channel:entries}


texts:
I'm trying to to create a new MSM site from one of the existing sites but i keep getting 500 internal errors.

Looking in the apache error log it says:

  Thu Mar 10 14:25:54 2016] [error] [client ::1] FastCGI: comm with
  server "/Applications/MAMP/fcgi-bin/php5.4.42.fcgi" aborted: idle
  timeout (30 sec), referer:
  http://example.dev/ycmanage/index.php?S=0&D=cp&C=sites&M=add_edit_site

I have increased max_execution_time & max_input_time to 20 minutes and increased the memory allowance to 1024MB.

What more can i do?!


texts: Pixelandtonic Assets: Set Content-disposition?

texts:
Long story short: in Chrome, some PDF files stored in our S3 bucket (uploaded via Assets) hang up on download. Chrome just sits there, never downloading the file. (However, right-clicking the link directly seems to work)

Numerous tutorials exist recommending a Content-disposition Meta parameter be set on the file.

Does anyone know if this is something that should occur during the PUT command when the file is added to the s3 bucket?

Is this something that can be set in Assets?


texts: Discussion Forum Theme is stuck on Default

texts:
Even though I have changed the default theme to something else, for me and me only, it is stuck on the old theme. When I log in as another member, I see the new forum theme, but as soon as I switch back to my account I see the old theme still. Is there a database table created where it associates that particular member with that theme? If so, where can I find it?

Cheers.


texts: Some Assets images missing from matrix fields after upgrade

texts:
Upgraded from 2.5.2 to 2.10.1 and now some of the Assets stored images are missing from Matrix fields in some entries (The rows are blank with just a caption left behind and the 'Add file' button. I thought it might be down to having to up date the indexes in Assets. When I run the update I get a message saying

  There are some entries in the database that are out of date - please select the ones that you want to delete below –

And then a list of about 50 files. When I navigate to these files in the ftp some are present and some aren't. I didn't want to delete these references in case it caused more problems.


texts: Solspace User Search not searching email address or screen_name

texts:
This used to work, but it doesn't now. We're on User 3.4.6 and the changelog for the current version doesn't show any changes that should affect this. I printed the query from function do_search in mod.user.php and it looks like this:

SELECT DISTINCT(m.member_id) FROM exp_members m LEFT JOIN exp_member_data md ON md.member_id = m.member_id WHERE m.member_id != 0 AND ( m.email LIKE '%johnbogie@domain.com%') AND ( md.m_field_id_8 LIKE '%%' AND md.m_field_id_9 LIKE '%%' AND md.m_field_id_15 LIKE '%%' AND md.m_field_id_16 LIKE '%%' AND md.m_field_id_24 LIKE '%%' AND md.m_field_id_617 LIKE '%%')

If I remove the custom member fields and run the query in SQL pro, it works:

SELECT DISTINCT(m.member_id) FROM exp_members m LEFT JOIN exp_member_data md ON md.member_id = m.member_id WHERE m.member_id != 0 AND ( m.email LIKE '%johnbogie@domain.com%')

Here is the form:

Member Search

{exp:user:search return="administration/member-search-results"}

        Email Address
        <input type="text" name="email" id="email" class="text" value="" />

        Forum Username
        <input type="text" name="screen_name" id="screen_name" class="text" value="" />

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

        Last Name
        <input type="text" name="cf_member_last_name" id="cf_member_last_name" class="text" value="" />

        Company
        <input type="text" name="cf_member_company_name" id="cf_member_company_name" class="text" value="" />

        Region (Non-US &amp; Canada)
        <input type="text" name="cf_member_region" id="cf_member_region" class="text" value="" />

        State (US - Two-letter abbreviation)
        <input type="text" name="cf_member_state" id="cf_member_state" class="text" value="" />

        Province (Canada)
        <input type="text" name="cf_member_province" id="cf_member_province" class="text" value="" />

        <input type="submit" name="bSubmit" id="bSubmit" class="" value="Search" />

{/exp:user:search}


texts:
in Expression engine form Admin section there is option of validating "Is this a required field?". doing the check box also it the validation is not working. please any body help me as soon as possible

it already there in admin section saying "Is this a required field?", i checked the check box and submit it. but still the validation is not happening.
 location of page is CP>Home>Administration>Custom Channel> Fields>Edit Field

Field Type is Matrix. Matrix Configuration is file type


texts: User Module: Custom member profile fields don't get updated when posting a form

texts:
Maybe this is a "duh" moment for me and I'm missing the obvious but I have an exp:user:edit form setup where none of the checkbox fields get updated when posting the form. Here is an example line of code...

<input type="checkbox" name="notify_how_email" class="no_float" value="n" {if notify_how_email == 'y'}checked="checked"{/if} /> <label for="notify_how_email">Notify via Email</label>

I've also added the following on the recommendation from another solution but fields are still not updated...

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

We are using Exp Eng 2.7.2 and User module 3.4.4 and Friends 1.6.2

Is there any special coding I need to do to set the custom fields to 'y' or 'n'? This is also happening with radio fields.

When I use the control panel to edit the profile the field content shows up on the form but with a checkbox I can't change it from checked to unchecked.

Thanks,
Bob