texts: Low Search results not showing all entries from a category

texts:
I have a search form composed of category select fields. When choosing a particular category (2 Bedroom / 2 Bath) the results page isn't showing all entries. But, when viewing the "all floor plans" page and selecting "Two Bedrooms" I can see every entry.

Any ideas on why the Low Search form wouldn't be showing every entry from a selected category? The form seems to work, as it shows some of the entries, but why wouldn't it show all entries?

Here's the search form where you can select the 2 Bedroom / 2 Bath option under "Number of bedrooms?":

http://l45living.com/floor-plans

Here's the page listing all "Two Bedrooms" entries:

http://l45living.com/floor-plans/all/two-bedrooms

Notice how there are many more entries displayed on the "all/two-bedrooms" page. Template code (edited for brevity):

{exp:low_search:form
  form_id="floor-plan-search"
  query="{freebie_3}"
  result_page="/floor-plans/search#floor-plans"
}
  <select name="category[]">
    <option value="">Show me all the options!</option>
    {exp:channel:categories
      category_group="1"
      show="not 4"
      style="linear"
    }
      <option value="{category_id}"{if low_search_category ~ '/\b'.category_id.'\b/'} selected{/if}>
        {category_name}
      </option>
    {/exp:channel:categories}
  </select>
{/exp:low_search:form}

{exp:low_search:results
  channel="units"
  orderby="title"
  query="{freebie_3}"
  require_all="category"
  sort="asc"
}
  ...results shown here...
{/exp:low_search:results}


texts:
I have tried everything I can think of, but can't get an assets field to output from a relationship.

{suggested_products}
    {suggested_products:product_images}
        {product_images:url}
    {/suggested_products:product_images}
{/suggested_products}

I found a few other threads on here, but none of the suggestions worked:
Assets 2 field not working properly within 2.6 relationship

I am using EE 2.8.1 with Assets 2.4

Can anyone show me where I am going wrong here?


texts:
I am running EE 5.2.6 and I have repeated issues with getting logged out of the control panel when I am in the middle of working on an entry.

This issue happens so frequently I filed a Bug Report https://github.com/ExpressionEngine/ExpressionEngine/issues/286.

Derek said that the problem was not reproducible, yet I can reproduce it virtually every time I create an entry. I have set the site time zone in ExpressionEngine according to my local time zone. My computer is a Mac and the time is set automatically, so technically they should be in sync.

According to Derek, the control panel should not log out until after an hour of inactivity, yet I can be in the middle of a lengthy entry and suddenly without warning get logged out, losing all changes. I have turned revisions on, but they do not save regular enough to be of any use. I had three versions of today’s entry all from 4:06 pm. I was logged out at 5:00 pm losing all edits to the very lengthy entry.

I am happy to make any changes to my configuration - see image - if I can just get this problem solved. I would love to hear from anyone that has a functioning configuration.


texts:
I can't seem to get EE Debug Toolbar installed on the latest version of ExpressionEngine (2.7.1) and EE Debug Toolbar 1.0 (22) RC1.

I've followed the installation guide as normal. In Addons > Modules it is listed as "Installed". In Addons > Extensions it is "Disabled" but I am unable to enable/install it. Clicking on Enable > Install > Submit doesn't produce any errors but at the same time it continues to be listed as "Disabled".

I've looked directly in the database at exp_extensions but it doesn't appear in the list. Has anyone else had any success on installing it with EE 2.7.1 and can shed any light on to how?


texts: How do I display a category name based on a segment?

texts:
I'm trying to show the category_name of segment_3. If I use the variable {segment_3} it displays the short name, I want to show the Full name. Any suggestions?

Thanks in advance.


texts:
I've got the following code working on a static page, but it does not work with EE. Could anyone tell me why?

CSS

.contentB {display: none;}

HTML

Sign up to download (set cookie)

   <button class="clickme">ClickMe</button>

Download (cookie set)

JS

Basically I want to show contentB and hide contentA if the cookie is present.


texts: Is there a way to apply a class (so the week can be coloured) to week A and week A using Solspace Calendar as per the screengrab? Thanks


texts: Expresso Store & Zoo Visitors are they playing together during checkout?

texts:
I know there are already some questions about this but I need some feedback with the latest configuration of both.

So the latest versions are:

EE 2.9.3 (I let 2.10 to the more brave out there)
Expresso Store 2.5.0
Zoo Visitor 1.3.32

The Question

Is it possible to register a zoo visitor member during Store checkout?

What I did:

1) create all Expresso Store Order fields as native EE member custom fields (e.g. created "billing_first_name" as a native member custom field etc etc.)

2) Delete all default Zoo Visitor fields except the first one (member_account) and recreate all fields but using "member_" prefix to get automatic sync.
(e.g. created "member_billing_first_name")

3) In Store > Settings > Order Fields MAPPED all fields to Zoo Visitor custom fields

4) register_member="yes" to the exp:store:checkout

5) Added {field:password} and {field:password_confirm} to checkout

What Happens?

1) I'm able to complete order but I only get a native member WITHOUT any custom field populated...
2) Also receive the "Member Account Activation Instructions" native email

Thanks
Francesco

EDIT:

want to reference this workaround (that I haven't tried yet) just to ask if it is still actual:
https://devot-ee.com/add-ons/support/zoo-visitor/viewthread/14068

Or maybe this is the only way?
Using Store + Zoo Visitor to create a member and store order details in related entry


texts: Internal Server Error when trying to import members with Solspace Importer

texts:
I'm trying to import a member's XML file (produced by Eric Lamb's Export It! add-on) into a new (local) EE 2.9.0 setup using Solspace Importer 2.2.5.

I set everything up in Importer but when I try to run it, it gives me an Internal Server Error. Here's what I got in the console: http://cl.ly/image/1U3k0r2n3i0B

The XML file is 6.5MB and contains ~330 members.

Not sure how to fix / get it working.


texts: Location in comment tag not being output

texts:
I have this code and it should output the location (I have checked that it exists in Expression Engine comment admin) but it doesn't output the data. I have look everywhere for a solution but nothing is indicating why the location is not being output. (Using EE 2.6.0)

{exp:comment:entries sort="asc" status="open" limit="20"}

<strong{location} Review by {name}

                    {comment}

Posted on {comment_date format="%j%S %F %Y"}

            {/exp:comment:entries}


texts:
I'm having trouble getting var_prefix to work with the exp:playa:parents tag.

Here's my code:

                        {exp:channel:entries
                        channel="skills"
                        orderby="title"
                        sort="asc"
                        category="65"
                        parse="inward"
                        disable="member_data|pagination|category_fields"
                    }

{title}

                        {exp:playa:parents
                            channel="skills"
                            entry_id="{entry_id}"
                            var_prefix="pre"
                        }
                        {if pre:total_results > 1}
                            {if pre:count == 1}

                            {/if}
                        {/if}
                        {/exp:playa:parents}

                    {/exp:channel:entries}

I'm trying to achieve two things:

I would like to get the total_results and count variables for the results from the playa tag and not the parent exp:channel:entries tag.
I would like to get the exp:channel:entries {entry_id} inserted in this line data-target="#content-{entry_id}" rather than the {entry_id} from the exp:playa:parent entry.

Any help would be appreciated.


texts: Embedding Low Variables within Low Variables i.e. preparse

texts:
So I'm taking an existing site and cloning it to use for another site. The thing is the existing site was built a long time ago and has several template insufficiencies including embeds nested 3 levels deep which I would like to fix.

So I've got the header embed now as a low variable which is great. However there are two further embeds within the header that I would like to use as separate low variables just to keep things easy to see in the templates - each of these is a rather large chunk of code.

I've read Low Variables 2.3 totally killed the embed tag and see how that works, however I'm not really passing variables through to the first low variable.

My question is can I do what I want to and if so are there any implications for the future or speed of the site.

exisiting code sample here

<header id="header">
    <div class="header-bar">

 A whole bunch of code

        {embed="embeds/_booking-box"}
    </div><!--header-bar-->

More code here

<!-- navigation -->
    {embed="embeds/_nav"}
</header>

So in the new template I want to replace those embeds with other low variables - do I need to preparse or not and will it work?


texts: Assets URL in Low Variables Wygwam field not displaying on Front end

texts:
Similar to this post I'm getting incorrect file paths being displayed on the front end when using Assets from within Wygwam. Unlike that post I'm actually getting this rendered on the front end:

{assets_104:{filedir_1}News/3F1A0399_1.jpg}

I've tried the fix referred to in the comments to no avail.

It doesn't matter how many times I save the entry, so I don't think it's the same issue described here

Another difference I believe is probably key here is that the Wygwam filed is a Low Variables field type.

I'm running EE v2.5.5, Low Variables v2.3.5, Assets v2.1.4 & Wygwam 3.1.2.

Thanks.


texts: After CartThrob install, everything under ecommerce tab leads to account not found error

texts:
It's a EE multi-site, and I suspect that has something to do with the error, but not sure. I have 'msm_show_all' set to true in the config file. This is the error I get when any CartThrob link is clicked in the admin area:

"The account you are attempting to access does not exist."

But under add-ons -> modules it says it is installed successfully.

Any help would be appreciated.


texts: I checked this post out and followed the things the OP posted and what other users suggested, but jQuery still isn't loading in the control panel. The themes folder is properly linked and the CSS for it has loaded just fine. It's only the jQuery that's giving me problems.


texts: How do you pass a Matrix or Playa field to a Stash Embed?

texts:
This should be easy, but, I haven't been able to find an example anywhere.

I need to display {example_matrix_a} and {example_matrix_b} (both of which contain columns with the same names) via a Stash embed. I've tried the following, but, the Matrix fields aren't parsing. What step am I missing?

templates/default_site/example.group/layout_example.html:

{embed="wrappers/_interior"}

{exp:channel:entries limit="1"}
    {exp:stash:set name='title'}{title}{/exp:stash:set}
    {exp:stash:set name='maincontent'}
      {stash:embed:matrix_markup
        stash:matrix_field = "{example_matrix_a}"
        process="start"
      }
      {stash:embed:matrix_markup
        stash:matrix_field = "{example_matrix_b}"
        process="start"
      }

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

stash_templates/matrix_markup.html

{stash:matrix_field}
   {matrix_col_1} - {matrix_col_2}<br>
{/stash:matrix_field}


texts: Solspace user search with dynamic orderby

texts:
I'm trying to order my results from a Solspace user search, but I can't find any way of sending a field to sort on via the same form as the main search one. The search results page redirects to a unique URL without passing any of the original form params (via get/post).

I can think of ways to do it via Resource Router, or query string or cookie stuff, but none feel like the 'EE' way to do that.

i.e. how to get {something_to_order_by} from the top tag to the bottom?

{exp:user:search return="reports/members/results"}
  <input type="search" name="keywords" id="keywords" value="{keywords}" />
  <input type="text" name="custom_fields" id="custom_fields" value="{custom_fields}" />
  <input type="text" name="something_to_order_by" />
{/exp:user:search}

{exp:user:results orderby="{something_to_order_by}"}

    custom_field

{exp:user:results}


texts:
I am trying to build tabs using a matrix with a playa inside of it my basic code looks something like this.

I did something like this inside before and works. does anyopne know what I am missing?

Thanks in advance

{exp:channel:entries
   channel="nwt_3rd_order_location_group"
   show_pages="only" show_pages="no"
   limit="1"
   disable="member_data|pagination"
   parse="inward"
   }

     {discipline_3rd_order var_prefix="discipline_matrix"}
        {discipline_matrix:m_p_discipline var_prefix="mx_disipline_playa"}

{mx_disipline_playa:discipline_short_name}

                    {/discipline_matrix:m_p_discipline}
                {discipline_3rd_order}

           {discipline_3rd_order var_prefix="discipline_matrix"}
             {discipline_matrix:m_p_discipline var_prefix="mx_disipline_playa"}

                                    {mx_disipline_playa:discipline_description}

                                    {discipline_matrix:m_dynamic_map_3rd_order}

             {/discipline_matrix:m_p_discipline}
          {/discipline_3rd_order}

 {/exp:channel:entries}


texts: Strange hosting questions in regards to godaddy and index,php

texts:
I had a site (EE 1.6) that was on godaddy.  Something was changed in order to allow the pages to load with a ? in the url's.  ie: http://domain.com/index.php?/site/fine_art/

I am trying to move the site to a new server, I have upgraded to 1.7.3 for now.  But I can't figure out how to change the system to not use index.php? in the string.

I must have changed somethign somewhere but can't find it.  SO {path="site/fine_art"} will result in http://domain.com/index.php?/site/fine_art/ as the link.


texts:
How do you link one MSM site to another? Or putting another way, how can I get the site_url config item for a specific subsite (without resorting to PHP)?
Seems like a very basic question, but couldn't find anything in the documentation.

Thank you!


texts: How to separate view from `display_field` of a custom field type?

texts:
I am implementing a custom field type which has quite a complex display_field function. I would like to separate the view logic and at the moment I have done the following:

function display_field($data) {
    ob_start();
    include('view/designer.php');
    $html = ob_get_contents();
    ob_end_clean();
    return $html;
}

The above works, but given that ExpressionEngine is built on CodeIgnitor which has a solid MVC architecture, what is the proper way to display a view?


texts: {exp:comment:notification_links} not displaying anything

texts:
I copied the example in the documentation to display

{exp:comment:notification_links}
    {if subscribed}

Unsubscribe to comment notification for this entry.

    {if:else}

Subscribe to comment notification for this entry.

    {/if}
{/exp:comment:notification_links}

However, nothing is outputted.

Is this supposed to be inside a {exp:comment:entries} or {exp:channel:entries} tag?


texts: Very close to working - var_prefix= tabbed and nested

texts:
This almost works. its just on load it does not display correctly (all the tab options stack instead nesting) but once you start clicking the tabs they all work fine. (Please also note that when built in flat fashion all tabs work correctly).

The page looks like this:
niwot.colorado.edu/index.php/location/test_location

My code looks like this:

         {exp:playa:children field="3rd_order_under" sort="asc" var_prefix="thirdorder"}

               {thirdorder:summary_3rd_order}

               {thirdorder:exp:playa:children field="4th_order_under_3rd_order" sort="asc" var_prefix="fourthorder"}
                 {fourthorder:title}
               {/thirdorder:exp:playa:children}

        {/exp:playa:children}

Thanks for taking the time to look at my problem.


texts: Restoring Category Groups and Categories?

texts:
I recently updated a site from EE 2.2 (I think) to 2.7.2.

Somewhere along the way, the categories and groups went missing, but not the category associations for each entry.

(The person who was holding the backup of the DB seems to have misplaced it, otherwise I'd just pull it from there. I'm hoping it will still turn up...)

Is there a way to recreate the category structure based on the information in the entries?


texts: Looking for a Matrix-like add-on which allows large textareas

texts:
I'm looking for an add-on that gives me a custom field with the "unlimited rows" aspect of Matrix, but I don't need the columns or need to specify additional fieldypes.

Is there an add-on that would allow me to add an arbitrary number of free-form chunks of data to an entry?

Updated to say: I'm looking to be able to add unlimited new textareas to an entry, in which I need to enter editable text. The limited size of Matrix/Grid Lite/P&T List fields don't quite work (but I'll fall back to Matrix if nothing else works out).


texts: Channel Entries - Possible to combine specifying specific ids and excluding other ids?

texts:
Is it possible to do something like the condition below in channel entries?

Get all ids that are 88,99 and 100 but not 200,300 or 400

The examples in the documentation, only shows to get certain ids

entry_id="13|42|147"

or exclude certain ids

entry_id="not 45|534|807"

I want to combine getting certain ids and excluding certain ids.

Is this possible?


texts: Migrating/duplicating Content/Members from a Production site to Development

texts:
(I don't feel this is a duplicate of "Migrating between Development, Staging and Production for a pre-existing ExpressionEngine site" as I'm hoping it's much simpler/specific. Maybe it is a duplicate as I'm not familiar yet with all the nuances as the site is just getting started. If that's the case I would hope detail is provided before being marked as a duplicate. Moreover in the above no particular examples were given for migrating content.)

Assuming no new add-ons and thus tables have been added to either version, say I just want to grab new entries, members, and channel categories from production to development, is there a convenient way to do that? (And changes to existing entries/members or whatever other content?) Or do I just manually export/import from select tables via MySql (does this present problems?)?


texts: Is the stash refresh variable the only means of breaking a cached set?

texts:
I'm trying to get into some more advanced use of Stash and I'm wondering about cache breaking. With some of the dedicated cache add-ons, you can set rules around cache breaking that are not simply time based - you can set a given cache to break when a new entry is added, for example - which is awfully handy.

My question is this - is Stash suitable for caching dynamic content on a basis other than time?  My fear is that time would be a challenge for a site with certain channels being updated at much higher intervals than in others.  The last thing i want to do is create a situation in which a client is confused by a recent entry not appearing in the site because the last page visit that was cached was only minutes before the most recent update was made and therefore the remaining time in the cache must expire before it breaks and is re-set and cached anew with a visit to the site.  Just curious what the strategies are in using stash (or not) with caching.


texts:
I have a strange problem with a rule for shipping.
I setup a rule that between 0 and 50 € in total each shipping item is charged with 1,40 €.
The rule match like it should and when it's over 50 € shipping is free.
Now when i choose an item which is below a 2 digit number the rule doesn't match anymore and it only match when it is over 60 €.

At the moment i have only one rule. The Filter is for every country and region Maximum Order Total is 50,00 € and per Item rate is 1,40.

Another problem is also with the shipping. When i set round item prices after tax and added all prices without tax inside the backend, all store frontend prices are fine, but the shipping of 1,40 display on two items always 2,81 and i don't want that. Independently if it round the value or not where does the 0,01 come from when i set the item charge to 1,40??

To fix this i commented the following lines out at store_shipping_default.php to prevent the strange rounding on shipping but this can't be a solution for my problem.

It would be nice if someone can have a look why this happens. Especially the wrong charging on items where the price is under 10,00 €?

Below is also the part i commented out of the function:

        // this isn't particularly tidy, but it solves the tax rounding problem
    // if ($this->EE->store_config->item('tax_rounding') == 'y')
    // {
    //  $tax_multiplier = 1 + $order['tax_rate'];
    //  foreach (array('base_rate_val', 'per_item_rate_val', 'per_weight_rate_val', 'min_rate_val') as $field)
    //  {
    //      $rule[$field] = store_round_currency($rule[$field] * $tax_multiplier) / $tax_multiplier;
    //  }
    // }

Thanks

Peter


texts: Error (0) on Cartthrob checkout in Chrome

texts:
A number of people get an EE error screen when submitting a Cartthrob checkout in Chrome if they don't use correct credit card details:

When I test it myself I get a proper transaction declined error but other users are seeing this.

I'm on EE 2.8.1, Cartthrob 2.6.


texts: Displaying a product page with a list of all available relationships of a relationship field shown as a list, with the selected relationship flagged

texts:
My client needs to display the status of an order, so using relationship channel of order_statuses.
The list of order statuses should be shown as:

Order recieved
Status 2
[TICK] Status 3
Status 4
Status 5
Order Complete

The tick shows that the order is at a specific point in the process...
I could probably use statuses, but need it to sit within a channel to give me more flexibility over what it can store. eg. status icon etc.


texts: Comment form not submitting data, not returning to proper return URL

texts:
I have a comment form that is not functioning properly.

When I try to submit a comment, nothing gets saved to the database, and instead of retuning me to the specified return URL it returns me to the same single entry page with the comment form. No error is given and no other indication that anything is wrong.

Other forms on the site like Freeform contact form works fine. Just the comment form is not working.

The weblog and entry I’m testing on both have comments enabled.

Here’s is my template code:

{exp:comment:form channel="blog" preview="blog/comment" form_class="default" return="{homepage}blog/comment-thanks"}
     <fieldset>

       {if logged_out}

        Name *
        <input type="text" name="name" value="{name}">

        Email *
        <input type="text" name="email" value="{email}">

.

       {/if}

        Comment *
        <textarea name="comment">{comment}</textarea>

       {if captcha}

.

        {captcha} *
        <input type="text" name="captcha">

       {/if}

.

        Submit Comment

     </fieldset>
    {/exp:comment:form}

I’ve read in other places that forcing trailing slashes on URLs or removing “www” from URLs can cause problems with form submissions. I am using .htaccess to remove index.php but I am not removing “www” nor am I forcing trailing slashes. And as said above other form submissions are working fine, just not comment form.

With no error message it’s becoming very difficult for me to tell why else it wouldn’t work.

Any ideas? How can I debug this?


texts:
Really odd problem.

Upgraded an EE site to latest version (2.9 from 2.5.2) with Freeform upgraded from 3.14 to 4.2.0. I've migrated all the relevant data using Freeform's built-in utility and updated the relevant parameters but the form is not showing in the template.

Even if I create a new template with the following code nothing is returned to the screen:

{exp:freeform:form}
    THIS IS A FORM
{/exp:freeform:form}

Any thoughts on how to debug or resolve?

Cheers

Cole


texts:
Whats this error supposed to mean? V6059

                    {if error:payment_method}

Error: {error:payment_method}

                    {/if}


texts:
I installed the Reading Time module from:
https://github.com/EllisLab/Reading-Time

But there is a problem. It outputs the time based on the EE language config text as:
is about 5 minutes

Or
is 1 one minute

This a problem on pages with different languages. Is there a way to force a different language on the variable or the template page? EE can use different language files but how do I specify this for visitors that are not logged in? I need to force to use a different locale on specific templates or the exp variable.


texts: mySQL script to update non-unique URL titles

texts:
We need to update a set of url-titles that have some duplicate entries (migrated from a non-EE site). Because of the size of the database I would prefer to use direct mysql method, but I am open to any solutions out there.

If we have records:

a-stoney
a-stoney
ab-dille
ab-dille
ab-dille
ac-gifta
ae-jones
ae-jones

I want to be able to run against the exp_channel_titles table and end up with ONLY the duplicate entries updated as follows:

a-stoney
a-stoney-1
ab-dille
ab-dille-1
ab-dille-2
ac-gifta
ae-jones
ae-jones-1

Or some similar output, where non-duplicate url-titles are not edited, and any duplicates are applied a convention similar to the native EE behavior when attempting to create a new entry (with a title that already exists in the system)

Here is the SELECT I am using to display the duplicate entries, just having trouble applying the count and converting to an UPDATE
Thanks!


texts: Pagination adding "index.php" into pagination links after category name

texts:
My question is similar to this one, but since it is different enough and has no accepted answers yet, I am posting my question as well. I have a very simple listing page by category with pagination. I am removing "index.php" from the URL's via .htaccess using the code from EllisLab.

When on this page: /products/category/coins, the pagination links are /products/category/coinsindex.php/P60 and /products/category/coinsindex.php/P120.

Where is the extra "index.php" coming from?

Here is my code:

{paginate}
{pagination_links}

    {first_page}
First
{/first_page}
    {previous_page}
&laquo;
{/previous_page}
    {page}
{pagination_page_number}
{/page}
    {next_page}
&raquo;
{/next_page}
    {last_page}
Last
{/last_page}

{/pagination_links}

{/paginate}

Any help would be greatly appreciated!


texts:
Should be a quick one for the EE add-on devs out there.

Most add-ons do support having:

$config['path_third_themes']    = $base_path . "/assets/third_themes/";
$config['url_third_themes']     = $base_url . "/assets/third_themes/";

in the config file.

I've noticed that Field Editor and Redactee don't.

I popped open those add-ons to replace instances of theme_folder_url with url_third_themes but they still don't want to load the appropriate styling.

Any ideas?

Thanks,
Steven


texts: Removing index.php with the official method when running old-style multiple sites?

texts:
I am currently using a non-official .htaccess rewrite to deal with index.php and a few other bits and pieces. Since it looks like I am going to try and take care of the other bits and pieces with Router, I want to get the .htaccess back to something closer to the official setup to make future support easier.

However, I don't think the straight-up official version will do since I have one index.php in my main directory and additional index.php files in five subdirectories. Basically, I am running multiple sites with the old method, but they're neither domains or subdomains, just folders. So I need those index.php files removed as well and if possible I would prefer to do it from a single .htaccess file instead of adding a new one in each subdirectory.

This is what I use right now (with "GoT" being one of the subdirectories with its own index.php):

RewriteRule ^/?((ASoIaF|Digest|Images|Login|Store|Updates|member)(/.*)?)$ /index.php/$1 [NC,L]
RewriteRule ^/?GoT/((Characters|Episodes|Features|Gallery|News)(/.*)?)$ /GoT/index.php/$1 [NC,L]

Can that be brought closer in line with the official method while still using a single .htaccess? Or is that just making things unnecessarily complicated?


texts:
I have a job application form using FreeForm Pro.  The form displays multiple fields, and has 6 hidden fields (which are all set up as custom fields in the Freeform CP).  Three of those fields are pulled from an {embed} file which grabs information from a related playa field.  When I view the source code for the form, everything is populated.  However, I have two issues that I'm dealing with.

First, some of those hidden fields aren't showing their values in the notification emails.  So the notification email is showing Phone: {recruiter_phone} rather than putting the phone number in.  Again, the source code has the correct values, and when I view the entry in the CP it is populated.

Next, I need to figure out a way to update the admin_cc_notify="name@domain.com" based on the email address that is being pulled in the {embed file} for the recruiter.  The idea is that, when someone applies for a position, the recruiter will be notified.

Any thoughts are greatly appreciated!

Todd


texts: detect when the channel entries list in control panel has been filtered

texts: I am playing around with a creating an accessory for EE and I am trying to figure out how to run a JavaScript function after the channel entries listing has been filtered.  Any idea how I go about doing this?


texts: Displaying search results if more than one template group

texts:
i have been pulling my hair out trying to understand this so any help is appreciated.

I have a channel 'Content' which is just the 'pages' of the site. My template groups are setup using only the 'index' template: template_group/template

eg,

coaching/index
management/index

And my navigation (done using Navee): template_group/entry1 (from 'Content' channel)

coaching/schools
coaching/instructors
management/forms

All straight forward. Now i have a simple search form which i want people to be able to search the entries on the site (from the 'Content' channel) but i need to know how to produce the correct search results page.

In channel preferences > path settings > channel URL ...
..my 'Content' channel does not have a specific url - since it is different depending on the template group.

eg, If i enter and save http://www.example.com/coaching/ into the field, then do a search for 'schools', the results display http://www.example.com/coaching/schools    which is correct. But if i search 'forms' the results brings up http://www.example.com/coaching/forms instead of http://www.example.com/management/forms

So since the 'Content' channel does not have a specific 'Channel URL', how do i get search results to product the link to the correct page/entry??

UPDATE. My Solution.
I created categories for each of the six template groups, then assigned each page/entry to a category. I then used the below conditionals to produce the correct search results:

{if category_url_title == "ONE"}

{title}
{/if}

{if category_url_title == "TWO"}

{title}
{/if}

{if category_url_title == "THREE"}

{title}
{/if}

etc, etc..

Ps. Using the above with {excerpt} just duplicated the excerpt from the first result, to each other result. So instead of excerpt i used a custom field (meta description text field).


texts:
As you have probably seen by my somewhat regular postings, I am a newbie to EE.

The company that I work has all of their web sites using EE and some of the sites have not been updated or worked on for years.

Version 2.3.1

I have been asked to update an entry on one particular web site but the credentials for logging into the domain.com/system are not working.

I have access to the db and I have tried to duplicate the member with admin group id = 1, followed by going through the forgot password steps, except this time, it should be going to my email address.

I am not receiving any emails at all from EE to reset

I have made the duplicate entry with the exception of the email address within the table exp_members

Is there somewhere else in the tables that I alter to make this possible?

Is there a way that I can use the salt, crypt_key and password to retrieve the password set by the former admin?

As usual, thanks in advance


texts:
So I'm using this code to have users login from the front-end:

            {if logged_out}
            {exp:member:login_form class="login" id="login_form" return="/login"}
            <input type="hidden" name="auto_login" value="1">

                    User Name
                    <input type="text" name="username" placeholder="Username" class="form-control"/>

                    Password

                    <input type="password" name="password" placeholder="Password" class="form-control"/>

                <button type="submit" class="btn btn-default">Submit</button>
            {/exp:member:login_form}

&nbsp;

Forgot Password?

            {/if}

            {if logged_in}

You Are logged in as {screen_name}

Control Panel

Edit Global Elements

Homepage

Logout

            {/if}

But I'm not actually getting logged in. So it's like the {if logged_in}{/if} isn't actually working.

I'm using that same code in older builds so it must be a bug right? :) My settings for "Control Panel Session Type" and "Website Session Type" are set to COOKIES ONLY.

I'm also using the same .htaccess I've always used as well.


texts: Expresso Store order_shipping is zero after country change

texts:
I'm testing a site with Store and the AUS Post extension. Customers enter billing and shipping addresses, then choose the shipping method on the next page. Shipping within AUS is set to a low flat rate per item, and shipping to other countries calculated by weight. If an AUS order for local delivery is created but not paid, then someone goes back and adds more items, it's fine - the shipping cost is recalculated.

But if someone goes back and just changes the shipping country (e.g. Australia to Austria - so similar!), the shipping cost goes to zero. This is clearly wrong, but I don't know why it's happening. Does anyone know a fix, or else a way to get Store to recalculate the shipping_order? I can't force this by re-setting shipping_method, because this can only be done once for a new cart.

Update:
After the shipping has been calculated I can check if order_subtotal == order_total. As there should always be a shipping cost, I can show a warning and a link back to shipping details instead of a submit button.
Testing if order_shipping_total > 0 doesn't give a proper result, probably because the field includes a currency symbol etc.
(later) ...Well the above check is OK, but it looks as if the Australia Post Extension stopped working for me a while ago. It was OK to begin with but now it will only deal with a rate per item. I've tried reinstalling it but that hasn't made any difference.


texts: FieldFrame Causing White Screen of Death

texts: Running an EE 1.7.3 site that has FieldFrame installed. Everything works fine locally, but when I upload the site to GoDaddy's shared hosting (cPanel), the site goes WSoD. Tried updating to the latest available version of FieldFrame and haven't had any luck. Is there perhaps a server setting or something I'm missing?


texts: Image manipulation in Select Files in Low Variables

texts:
I've just updated to Low Variables 2.4.2 to take advantage of image manipulations, but how do I use the tag?

I can see in the changelog:

  Image Manipulations are now processed for new file uploads by the Select Files variable type

Does this mean that images can only be manipulated on upload? What about for existing files? Can I use existing EE manipulations?

I've used the code:

{lv_sponsor_logo:thumb-150-width}

but this doesn't get parsed. Using:

{lv_sponsor_logo}

just outputs the full URL to the original image.

I've also tried:

{exp:low_variables:parse var='lv_sponsor_logo' multiple='yes'}{lv_sponsor_logo:thumb-150-width}{/exp:low_variables:parse}

and

    {exp:low_variables:parse var='lv_sponsor_logo' multiple='yes'}{lv_sponsor_logo:data:thumb-150-width}{/exp:low_variables:parse}

What have I missed?


texts: Nesting a Matrix variable type inside textarea variable (Low Variables)

texts:
I've got a variable set up as a 2-col Matrix for easy editing of days/hours (for being open). I'm wanting to nest this in another variable, that contains the mark-up for this snippet (so-to-speak). I have early parse enabled the Matrix var type but within the {lv_footer}, it just returns the code as a string from the "nested" var {lv_hours}. Anyway I can have that parse before the {lv_footer} is parsed?

Here is code in the lv_footer (saved as file):

Hours:

    {exp:low_variables:pair var="lv_hours"}

{day}

{hours}

    {/exp:low_variables:pair}


texts: pagination is not working ?single entry across multiple pages

texts:
{exp:channel:entries category_group="16" limit="1" paginate_type="field" paginate="bottom"}

{title}

{news_text}

    {multi_field="Summary|Extended"}

        Last updated on {edit_date format='%M %d, %Y'} at {edit_date format='%h:%i %A'}

    {paginate}

Page {current_page} of {total_pages} pages for this article {pagination_links}

    {/paginate}
{/exp:channel:entries}

This is the code i am using.The result of the above code  is not showing any pagination links.  when i remove the  {multi_field} tag  pagination links are appearing,but  link route to next news. I want to  split a long article in to different pages..

plz help


texts: migrating content from EE1 to EE2 with Structure and Datagrab

texts:
I've been working on a horrible EE1 installation and bring it into EE2. Unfortunately it was one of those sites that decided to use Gypsy, oh and Structure and just to make things interesting, MX Uni Editor's file field.

The upgrade went relatively smoothly actually, although Gypsy was used throughout there were only a handful of channels so was able to just have 1 field group in the EE2 site and share it amongst channels.

The Structure upgrade went smoothly also.

Where we fell down was the assignment of images and attachments to entries.


texts:
I often use a 'site' template group to house my base level pages. For example I may have a 'about' page, but don't require an 'about' template group so I add this to the 'site' group. I then don't want the URL to be /site/about so I have always used the plugin 'freeway' to allow me to remove the 'site' part (domain.com/about).

Now that 'Template Routes' has arrived, I have begun using this by setting '/about' as the route for the page. This works perfectly.

The problem I have is that on occasion I add a segment on a page to show additional information when a user clicks a link. For example 'about/more-content'. Now with template routes this extra segment stops the page from working and shows the 404 page.

Is there a way to have '/about' as the route, but also allow for extra segments after?

Thank you


texts: Express-store and payment method - replace Authorize.net option label name

texts:
How can I replace Authorize.net payment method option name from 'Authorize.net AIM' to 'Credit Card'?

I see situations where customers during the checkout process are confused with that not common for them name of the payment gateway.

Also I'm looking towards name change somewhere in the settings/DB rather than jQuery string replace.

Thanks


texts: How do I create a product order summary table using EE addons?

texts:
I have two channels, one called Product System (product_system) and one called Product Orders (product_orders). The product system contains all the products that the company produces and the product orders contains all the products ordered in a particular order. The two channels are linked by product_id relationship field in product_orders.

What I want to be able to do is to produce a product order spreadsheet, that allows me to show the orders in rows, the products in columns and the number of products ordered, in a particular order, in the related square in the grid.

The columns must be dynamic, so that if a new product is added, it automatically appears in the grid.


texts:
I have a Matrix upload field which doesn't show the correct upload folder.

And when I want to upload an image into that wrong folder I get the error: File aready exists. But that is not true.

It also doesn't show anything when I switch to thumbnail view.

And I'm not able to paginate trough the upload files in the upload modal window.

I disabled the cache, there is no path error. What else could this be? When I sync the folder in upload references, there is no error.

How would you debug this?


texts: Why are there so many   displayed in the Category display?

texts:
I am running EE 3.4.1 and when adding subcategories to the category interface I am seeing a row of  's in front of all the subcategories in the drop down list - see the attached image.

This seems odd if not just annoying. Is this a bug or is there something causing this that can be corrected on the user side?


texts: Using Expresso store and trying to hardcode weight of UPS shipment

texts:
I have a large database of products. None of these products have a weight and probably won't have a weight added in for future entries. I do however know what the weight of a shipment will be for all packages.

Is there a way to hard code the weight of the shipment which is passed on to UPS via the UPS shipping module included with Store?


texts: How do I connect my Expression Engine Site to Google Search Console?

texts: I'm not very familiar with Expression Engine. I normally use Weebly, Wordpress, Wix, etc. I'm having a hard time connecting my site to my search console. Not sure where to put HTML tag or which process works the easiest with Expression Engine. There doesn't seem to be any advance SEO settings through Exp. Engine.


texts: Creating links to external sites in drop down menu

texts:
Our site was created by a developer before my time at the library and I have been asked to add a link in the drop down menu (http://www.falmouthpubliclibrary.org) to an external site. There are links already - for example if you go to the site and look under For Readers/Books In Print - it links to an external web page.

How is that done?  I can't figure out how to make a new link in the drop down menu.  Thanks for any help.

Peter


texts: Can Calendar show schedules for indiviual cases?

texts:
My client's site needs to show the tutoring schedule for an individual student selected from a list (only one calendar/student at a time).

So if I have Calendar taking the input on the back end in my channel for each student, can I display it on the front end for the selected student?

Also, is Calendar a channel field?

Thank you!


texts:
I have the most baffling problem. I have a live server where working in the EE backend is very slow due to a javascript and a css request called via http://domain.com/admin.php?S=0&D=cp&C=javascript&M=load&file=ext_scripts and http://domain.com/admin.php?S=0&D=cp&C=css&M=cp_global_ext respectively. Each takes 10 seconds to load.

The baffling part is that it only happens on one server (the production server). I have the exact sites mirrored on a staging server as well as my laptop and neither exhibit the behavior.

What could cause this? I am at wits end on this one and any help would be a godsend.

Thanks!


texts:
Does Low Search support the support the "P" suffix of native pagination of {exp:channel:entries}?

For example, if i have this url

test.com/search/jcg4uv8e9w4n09wn0v034mnv09j34ov3459j49g/P4

Does it go to the corresponding page(in this case, page 4)?

If not, then how should it handle it?

EDIT:

I tried using paginate_base but when I used it, the query segment with the long string won't show in the url. The query segment is generated by Low Search.

test.com/search/P4


texts:
Is there a way to see whether a currently logged in user account is being used on more than one machine concurrently? I'm trying to find out whether users are sharing their usernames/passwords, as I manage a site that requires payment to access certain content.

I'm using the cookies only user session type. I have looked at using the 'Allow multiple log-ins from a single account?' option to prevent sharing but this caused issues when genuine users tried to access the site using multiple devices.


texts: Redirect multi language site based on IP address

texts:
I have a multi language site (using Transcribe addon) and I would like my users to be redirected to the correct language based on their IP address.

My goal is that when a user visits the root homepage http://www.example.com it will redirect them to http://www.example.com/en if their IP address is from the UK or http://www.example.com/fr is they are from France for example. But once they are on a language they are not redirected. I’ve tried the native IP nation addon but it didn’t seem to work very well so I’ve used the IP Geo addon at http://devot-ee.com/add-ons/ipgeo. But I’m having loads of problems with rewriting the homepage with htaccess, forcing the correct redirect with Transcribe, template parsing order etc… So I’m thinking of starting from fresh if anyone can give me suggestions on how best to do this.


texts: sort entries numerically with letters last

texts:
I need to sort entries numerically on a specific field (which might include text strings) and force all the entries with a text (not integer) appearing in that field to the end of the result set.

i.e. with a data set like:

na, 789, 123, 456

I would want the sort by on channel:entries to return:

123, 456, 789, na

I'm thinking this is completely impossible without some kind of extension but... :?


texts:
I am developing a site where I need to manage the URLs like:

http://www.site.com/CATEGORY-URL-TITLE : To show the the entries of that category in segment 1

http://www.site.com/CATEGORY-URL-TITLE/ENTRY-URL-TITLE : To show the individual entry of category in segment 1.

http://www.site.com/MEMBER-USERNAME : To show all the entries of authored by member in segment 1.

http://www.site.com/MEMBER-USERNAME/ENTRY-URL-TITLE : Individual entry of that member.

Could you please anyone give me some guideline how can I manage the URL structure like that. Please let me know if there is any third party addon which can do it.

Updated:

Actually, I wouldn't like to make any changes into home template for having so many conditions for checking categories or username. So looking for some technique if another template (not home template) can be rendered for such type of URLs. I think, it would be possible with sessions_start hook but still couldn't find how to route or render a template for such type of URLs.

For example, for URI like /member_username/xyz would route/render the template template_group/template_name.
As with the hook sessions_start, I would be able to check if first segment is any member's username.

I hope, it would give some more idea to share your solutions.

Thanks,


texts:
I'm new to EE.
Actually I have some problem updating a entry.
This is my code:

    ee()->load->library('api');
    $data_item = array(
    'stock' => '4'
);

ee()->api->instantiate('channel_entries');
ee()->api->instantiate('channel_fields');

ee()->api_channel_fields->setup_entry_settings(7, $data_item);

if(ee()->api_channel_entries->save_entry($data_item, NULL, 31, TRUE) === FALSE)
    {
       (display error message)
    }

where I am wrong?
many thanks in advance !


texts: On back-end, trying to use Assets loads my homepage on the Assets box!

texts: I have an Assets field on my site. When I click to upload files, the assets box opens as it should, but displays my homepage. Any ideas?


texts: How to display sub categories on individual pages?

texts:
I currently have a summary page that displays the links to 5 product categories (with a product image for each category) - the user clicks on an image is taken to a new page that displays all the products in that category.

What I now need to do is have a new product category (c6) with 3 sub-categories (c6-a), with each of these sub-categories potentially have multiple sub-categories (c6-a-1).

c6 > c6-a/c6-b/c6-c > c6-a-1/c6-a-2/c6-a-3 ...etc

The problem I'm having is getting EE to display the categories inside the 1st level of sub-category (c6-a) on a single page.  So that the user can select c6 from the top level of product categories, & then see the c6-a/c6-b/c6-c sub-categories displayed on a new page, and then click from that selection to see a single page displaying the products in, for example, the c6-a-1 sub-category (and then choose a product to view).

There would also need to be a breadcrumb trail at the top of each page...

Any help with this would be very much appreciated!!!  Many thanks.


texts: EE1 using a port different than 80. How can I make it?

texts:
I need to setup a EE1 but using a different port. It cant be 80 since th server is a asp server using regular port (80) for the main site, but it has PHP in a different port.
Is there any place where I can specify which port EE1 must use??


texts: Warning is_dir(): open_basedir restriction in effect after Upgrade to 5.1.2

texts:
Warning  is_dir(): open_basedir restriction in effect.
  File(/home/vg000web02/15/07/7010715/web/themes//ee) is not within the
  allowed path(s): (/var/www/vhosts/xxx.com/:/tmp/)
  ee/legacy/libraries/Core.php, line 196

Tried a number of possible solutions but nothing worked so far.
The error prevents from making any updates to the site.

Please advice.
Thanks,
-Vadim


texts: FreeForm not allowing file upload fields to be required

texts:
A site I'm working on is EE 2.5.5 with Freeform 4.0.10.

There are several required fields already, but I'm trying to add two file upload fields to be required as well. I've had no luck yet with adding the field short name to the required part of the form tag.

{exp:freeform:form
    allowed_file_types="doc|docx|pdf"
    form_name="{embed:form_name}"
    form:class="form new-hire-form"
    form:id="new-hire-form"
    required="first_name|last_name|address_1|city|state|postal_code|how_hear_about_us|email_address|phone_number|cover_letter|resumes"
    return="{embed:return}"
}

and the way the tag is being called inside this is

{freeform:field:cover_letter}

I've also tried adding a hidden field per another devs request, but that didn't help at all either.

Any suggestions or pointers on what might be going wrong would be greatly appreciated.

Thanks!


texts: How to manage existing entries of channel with structure without select template from each entry?

texts:
I have install structure on existing web site. I have lots of entries. the problem is entries does not working after installing of structure. Because of entries has selected default template group. I need to manually select template group from each entries, but i have lots of entries so, it will take more time.

I have already select templates in channel settings of structure. if i select template group in entries its working properly.

If you have any solution, please let me know.

FYI:

ExpressionEngine: 2.7.2

Structure: 3.3.6

Thanks,
Jignesh


texts: Ordering Channel Entries results based on Grid content?

texts:
Is it possible to order {exp:channel:entries} results based on the content of a Grid field? In my case, I want to order a list of conference sessions by start time.

This is the {exp:channel:entries} tag I'm using:

{exp:channel:entries channel="sessions" orderby="{session_time}{session_time:start}{/session_time}"}

The Channel Entries entry in the ExpressionEngine documentation doesn't state Grid fields aren't supported.


texts:
I am working on a feature where I need to get every entries category and that categories parent category. This is leading to a lot of DB queries. Is there a way to get the category of an entry and that categories parent. Ultimately I am after just the category url title.

Psuedo code
    {exp:channel:entries}
      {entry:category:url_title}
      {entry:category:parent_category:url_title
    {/exp:channel:entries}


texts:
We want to allow our members to add (aka "register") their team members as users on our website with their own login information.  The new user should be linked to their company (currently a Playa field in the CMS) and be added to the "Team Member" member group (versus the Manager group that they are in).  The newly added team member will then be able to go and edit their information.  And ideally the manager would be able to remove the team member should they leave the company.

Just curious if anyone else has done anything like this, or has any thoughts on the best way to move forward with this.  We are currently running EE 2.9.2 and using Zoo Visitor 1.3.34.


texts:
Anybody know how to fix this? Every time I save a form (creating forms) I get this error. System drops all of my changes. Started yesterday.

EE Version Installed: 2.10.0
Forms Version 3.5.2

A Database Error Occurred
Error Number: 1117

Too many columns

ALTER TABLE exp_forms_entries ADD fid_3189 TEXT NULL

Filename: third_party/forms/models/forms_model.php

Line Number: 210


texts: Why Assets writes folder with 755 write permission

texts:
I'm using assets 1.1.4 on a 2.5.3 EE install (Sorry but i cannot update now for any reason)
When I create a folder in assets this folder is written as apache:apache with this permissions:

drwxr-xr-x -> 755

is this right???

I ask this because this creates me big problems when i try to reconcile files using git.

thanks
Francesco


texts: How to create blog listing with categories using structure?

texts:
I am using structure for the pages of a site and am curious as to how the "Listings" type is supposed to work. It seems to allow me to provide a listing template and to specify the template that is used for each individual article.

However, there doesn't appear to be a way to have categories and archives.

How can this be achieved or can Structure not be used to do that?


texts: $this->EE->api_channel_entries->data (via entry_submission_ready hook) not working on front end

texts:
I have the following entry_submission_ready method in an extension to update a field's data. This works fine when saving an entry in the control panel, but it doesn't change the field value on the front end using Channel Form. The function is called, because I can output $data to the screen.

function entry_submission_ready($meta, $data, $autosave)
{
    $data['field_id_281'] = 'Test';

    if(isset($this->EE->api_sc_channel_entries))
    {
        $this->EE->api_sc_channel_entries->data = $data;
    }
    else
    {
        $this->EE->api_channel_entries->data = $data;
    }
}

It seems $this->EE->api_channel_entries->data is empty on the front end, but is used in the control panel. So what would one use to save the data on the front end using Channel Form?


texts:
Having issues trying to wrap logic inside of <script> tags, it seems my "if/else" statements get printed instead of parsed?

As an example, if I do something like:

{exp:query sql="SELECT a_field FROM some_table"}
<script>
{if "{a_field}" == ""}
var field = "some value";
{if:else}
var field = "{a_field}";
{/if}
</script>
{/exp:query}

You would think it would output var field = "some value"; if the field is empty, else output var field = "{a_field}";. In actuality, it will output the actual logic?

E.g., the above would actually output

<script>
{if "field value" == ""}
var field = "field value";
{if:else}
var field = "field value";
{/if}
</script>

<script>
{if "" == ""}
var field = "";
{if:else}
var field = "";
{/if}
</script>

...

If I move the logic outside of the <script> tags, or simply remove them, the logic is parsed as expected. Never ran across this before, so hoping someone has some insight...

P.S. using EE 2.8.1 and (if it matters) PHP 5.4.39 for testing currently.


texts:
I want to have members register, then be able to publish content to a channel. That works fine, however when a user accesses the file manager to upload an image they have access to all images uploaded to that channel entry.

How do I restrict each user access to only the images they upload?
Thanks,


texts: Applying a Discount Code to a Completed Order in Expresso Store?

texts:
Just curious whether there’s any way to apply a discount to an order that has been completed using Expresso Store. Applying this discount would change the balance due (to an amount owing back to the customer), then a partial refund could be issued via our payment gateway.

The only way I can see doing this payment gateway is to edit the price of one of the items currently associated with the order.


texts: CE Image, variable not parsed inside src image

texts:
I tried to insert a custom field variable, Stash here, a simple custom field as a text field works fine (the value is parsed), but when I use a pair tag (as Fluid, Grid or another add-on), or a Stash variable, the value is never parsed:

{exp:ce_img:single src="{text_ee_field}"}

{exp:ce_img:pair src="{text_ee_field}"}

{/exp:ce_img:pair}

give

Using a variable (Stash, EE, Low Var....), or a tag pair from Grid, Fluid, or other addons, doesn't work, I get blank code.

{exp:stash:set name="image"}http://lorempixel.com/400/200/{/exp:stash:set}

{exp:ce_img:single src="{exp:stash:get name="image"}"}

{exp:ce_img:pair src="{exp:stash:get name="image"}"}

{/exp:ce_img:pair}

What could be the problem ?? A parse order ?? Priority ?? I tried parse="inward", priority="0". Even tried a Stash embed method with the parse="start" parameter, with no results.


texts: Can jquery-based sorting or loading, like isotope or infinite scroll have a negative effect on for SEO?

texts:
I'm curious what the community thinking is on this point.  While infinite scrolling may present a user-friendly tool for listing a large number of entries, isn't there potentially a downside from an SEO perspective IF the content in question doesn't have its own single entry screen which would expose an SEO-friendly semantic URL?

For blogs posts, for example, a common URL structure might be domain.com/blog to list most recent entries and a single blog post might be domain.com/blog/comments/entry-utl-title.  EE then gives you a simple way to generate category-sorted lists using the category segment with something like domain.com/blog/category/category-url-title (and if you use addons you can also potentially achieve parenting segments, but not natively).  I have to assume that the category url titles themselves are good for SEO as well, all things being equal.

A suggestion I was given for filtering content on the front end - particularly around filtering content with combinations of categories or other entry data - was a jQuery plugin called Isotope (in place of using EE's native advanced search, for example).  It's a really interesting functionality for the user on the front end, but it got me thinking about the single-category-at-a-time URL structure I've often used.  With an EE implementation of something like the isotope jquery plugin to use tags to filter and sort your list, the category URLs, no longer exist, do they?  Or do you retain them as fallback if the user has javascript turned off?  I'm wondering if you are giving up something by going that route, or is the combination of list view and single entry view enough?


texts: CartThrob Reducing Inventory By a Factor of 2

texts:
If someone orders 1x a product at some point between “checkout” and “order_info” in the sample files with CTv2.2 the inventory of the item gets reduced by double (in this case 2).

Why does it think it needs to reduce the inventory by 2x the ordered amount?

View Cart template
Checkout form
Order Info tag

Thanks.

EE 2.5.3
CT 2.2.2


texts: How do I supress the system email message or get it to appear inside my template?

texts:
I have designed a site that is mainly modals - so there is only index page and it is all driven by scripting. (Its an artistic site and the client wanted this look and feel).

I am finishing the contact form and want the system message that appears after submission to either go away completely or appear inside the contact modal - but its not its own html page...

Can i supress these system messages?
Or how can I get the system message to appear inside my modal popup?

Thanks


texts:
I have just configured a test site using a fresh install of Brilliant Retail, and it appears the first order number starts with 10000.

Is there a way to change this default starting number? I looked in the settings but either I'm just not seeing it, or it doesn't exist as a user configurable option. In case my client asks, I would like to know if it is possible to change this figure at all?

Thanks.


texts: Target the last relationship listed in a relationship field

texts:
I'm adding two div-wrappers around every 3 relationships. However, if the relationships count ends at 5, then I still need to add the ending div tags.

Here is the code -- where "IS_LAST" is what I seem to need to target, How do I target the last relationship called into the loop?

 {models}
      {if models:count == "1 || 4 || 7"}

      {/if}

      {if models:count == "1 || 4 || 7" OR  models:count == IS_LAST}

      {/if}
    {/models}


texts:
I have dynamic navigation based on the current page in my header snippet. I have it setup like this:

    {if segment_1 == "" OR "{404}" == "true"}
        {exp:structure:nav start_from="/wat-doen-wij" max_depth="1" current_class="active"}
    {/if}

    {if segment_1 == "wat-doen-wij" AND "{404}" != "true"}

            {exp:structure:nav start_from="/wat-doen-wij" max_depth="1" current_class="active"}

    {/if}

    {if segment_1 != "" AND segment_1 != "wat-doen-wij" AND segment_1 != "zoekresultaten" AND segment_1 != "waarbij-helpen-wij" AND "{404}" != "true"}

            {exp:structure:nav start_from="{freebie_1}" max_depth="1" current_class="active"}

    {/if}

On my 404 template I use the following statement to set my 404 variable:

{preload_replace:404="true"}

However, this breaks all my other pages. How can I fix this?
I need to know which template I am currently on. Can I do it based on header infomation?
I can't use {segment} because segment_1 could be anything.


texts: Filter Channel Entry content parts with status parameter?

texts:
I need a way to show channel:entry content filtered by statuses open vs custom on a single entry page.

Like so:
- Show basic fields and their content if status is “open”
- Show ALL fields when status is “custom”.

I tried to use conditional inside of channel:entry loop but that didnt get me anywhere but errors. So seems that using if status=“custom” is not available for to use (bummer)...

How I can hide/show content on entry page depending on entry status?

Is the only way to make 2 channel:entry looping pairs with other having status set to “open” and putting fields I want to show inside, and then double it and changing status to “custom” and putting all fields inside of that looping pair?

Am I missing something that can be used to filter content fields with status parameter using only one channel:entry looping pair?

Thanks in advance.


texts: CartThrob - Coupon or discount for subscriptions?

texts: I'm not seeing any reference in the docs to coupon codes or discounts on subscriptions. Is this possible? More specifically, our project scope includes applying coupon codes to either the first month's subscription charge or all subsequent months in a given subscription.


texts:
one called "crops" one is named "products".

Crops linked to products, through a playa field for the products channel.

At the moment my tag produces a list of crops but many are repeated.

When populating a crops menu, I want to query those crops who are linked to a product. This way, crops for which we dont have products assigned aren't listed.  I want a unique entry for each crop that has 1 or more products associated to it.

Any ideas?

Update

Here is the code I left out last time...

{if segment_2=="crops"}

Φυτά

<select>
    <option {if segment_2==""}selected="selected"{/if} value="/index.php/products/">όλa</option>
        {exp:channel:entries channel="products" orderby="title" sort="asc" dynamic="no"}
            {exp:playa:children channel="crops"}
                {if count>0}
                    <option {if segment_3==url_title}selected="selected" {/if} value="/index.php/products/crops/{url_title}">{title}</option>
                {/if}
            {/exp:playa:children}
        {/exp:channel:entries}
</select>

{/if}

The playa relationship is a field in products channel that links to entries (fieldname={crops})in the crops channel. Not sure whether this is revers relationship or not.


texts:
I have one entry that has way more views than any other. I cant find it set as a deafult entry anywhere so I dont know how it got so high. I want to manually set it back to a lower number, then see how much it increases in one day.

Where is that view_count_entry amount for an an entry stored?  A db search for teh view count comes up empty...

Thx!


texts: Photo gallery with select list that displays different content

texts:
I am going to try an explain this as best as I can, it is a pretty broad question of which I a still working out the logic (before I try coding). I figure I will ask in here to see if anyone has dealt with anything of the like.

I am creating a photo gallery with a small select list at the top that lets you switch between designated  sections of photos (I  was thinking I could apply categories or something like that). I'm wondering if there is some kind of way to do this with EE logic, have a select list with the category names in them that feed into an entries channel below it with the pictures themselves maybe? Anyone have a foot in the door with something like this?

Thanks!!


texts:
I'm trying to get a Channel entry made by a particular member id (there will always be just 1 entry) and store it in a Stash variable:

{exp:channel:entries
    author_id="{segment_2}"
    channel="profiles"
    disable="categories|category_fields|custom_fields|member_data|pagination"
    dynamic="no"
}

Works: {entry_id}

    {exp:stash:entry_id}{entry_id}{/exp:stash:entry_id}

Works: {exp:stash:entry_id}

{/exp:channel:entries}

Does NOT Work: {exp:stash:entry_id}

Why do I not have access to the Stash variable's value outside the loop?

My ultimate goal is to use that variable in another loop:

{exp:channel:entries
    channel="profiles"
    disable="categories|category_fields|member_data|pagination"
    entry_id="{exp:stash:entry_id}"
    limit="1"
}

(I'm already worried I'll run into parse order issues.


texts:
I use msm for two sites, and my dir structure is as follows:

Home>site1>docroot>themes
Home>site2>docroot>themes
Home>EEcommon>system (EE system folder)

When I try to create a new channel field or edit existing ones on site1, it shows Field Settings, but it doesn't show Field Options.  site2 works properly, no problem at all. I copied themes folder of site2 to site1, but no change, still I cannot see field options on site1. Any idea?
Cheers,
Ahmet


texts: How do include a file path in a jQuery statement?

texts:
I am working on a photo portfolio page that uses fancy-box to display larger images of the photographs. This also includes a optional Buy Now link in the title area of the photo.

The code for the photo thumbnails and related popup images is as follows:

{exp:low_reorder:entries set="portfolio_low_sort"  limit="500" }

{/exp:low_reorder:entries}

The jQuery code to include the Buy Now button and Pinterest link:

$(document).ready(function() {
$(".fancybox")
.attr('rel', 'gallery')
.fancybox({
openEffect  : 'elastic',
closeEffect : 'elastic',
nextEffect  : 'fade',
prevEffect  : 'fade',
nextSpeed   : 1250,
prevSpeed   : 1250,
beforeShow  : function () {
if (this.title) {

// Add pin it button
this.title += '&nbsp;  ';

// Add buy now button
this.title += 'Buy now ';
}
},
helpers : {
title : {
type: 'inside'
}
}
});
});

Currently I have a link to the image page where the user can Buy Now and this is where I get stuck. Because this is jQuery and not part of the entry, I am not sure how to bring in the "url_title" part.

Any guidance on this would be appreciated.


texts: Low Search paginate_base URL with Structure & Freebie

texts:
When using the paginate_base parameter with exp:low_search:results (I'm also using Structure, Freebie) any time I reference the channel short_name either as {segment_1}, {freebie_1}, {channel_short_name} or even hard code the channel short name, the pagination URL has the search query in the wrong place.

Using:

paginate_base="{freebie_1}/{freebie_2}/{freebie_3}/{freebie_4}/{freebie_5}/{freebie_6}"

When the URL is:

http://domain.com/yarn/title/asc/1/brand/dmc/P1?keywords=test

the generated pagination URL is:

http://domain.com/yarn/?keywords=yarntitle/asc/1/brand/dmc/P2?keywords=yarn

But if I hardcode a non-existing channel_short_name at {segment_1} - for example: foo

paginate_base="foo/{freebie_2}/{freebie_3}/{freebie_4}/{freebie_5}/{freebie_6}"

the generated pagination URL path is correct! Eg:

http://local.tricotshop.co.uk/foo/title/asc/1/brand/dmc/P2?keywords=test

But if I use a standard exp:channel:entries loop (without the results query), the generated pagination URL is correct.

Can anyone tell me why this is happening and how I can fix it please?

Thanks!


texts: How to return to http when on https page?

texts:
When on a https section of an EE page (e.g. https://domain.com/account) and having a link back to the homepage somewhere in the header, how do I set up the links so that https is not automatically added?

I am using Focus Labs Master Config and in my header snippet I have the url set up like so:

Homepage

I have already tried different other combinations like {path='site_index'} but however I put it while on an https page the link turns out to be like

https://homepage.com


texts: Is everybody abandoning Expression Engine now?

texts:
I've come back to redeveloping an old site that was on EE 2.8.1. When I looked around at the likes of http://eeinsider.com/ or ee-garage.com, and so on, I see blogs that have stopped. Support dating back to 2015. So I went to good ol' Pixel and Tonic. Whoa, they dumped EE onto EE-Harbor.

What's going on?


texts:
I'm trying to display the category archive date on the landing page after the archive date is clicked in sidebar.

Here's my sidebar with category and archive links:

Categories

    {exp:channel:categories channel="blog"}
        {category_name}

    {/exp:channel:categories}

Archives

    {exp:channel:month_links channel="blog" limit="50"}

{month}, {year}

    {/exp:channel:month_links}

I'm using the {exp:channel:category_heading} on the blog/index landing page and that displays category heading just fine, but can't figure out how to do the same for the archive date.

UPDATED ANSWER:

I used DT Plugin and pulled in segment variables and seems to work fine.

{exp:dt set="{segment_3}/00/{segment_2}" format="%F, %Y" ee_format="true" month="1"}


texts:
Hi can anyone please help.

I have a template group called "blog", in that template group i have the following:

index.html
view.html

"index.html" holds all the blog items getting pulled through with channel entry tags limited to 9 with pagination.

view page

The "view.html" naturally holds the indivudal item.

Lets say

"http://www.domain.com/blog/news-item-one"

is an exisiting url HOWEVER

If it was miss-spelt or someone made up a fake url eg:

 "http://www.domain.com/blog/news-blah-sdf-d-twenty"

Basically what happens at the moment is the page constantly loads. I have strict_urls enabled and have a set my own 404 page which is in a template group called "site" and its name is "404.html". This works fine when there is just one incorrect segment eg: /fake/

How can i get any not genuine segment_2's to redirect to the 404 page.

Thankyou.


texts:
I'm looking into potential solutions for an upcoming project which requires a platform that can utilise 1 CMS to mantain many websites.

I don't have any prior experience with MSM so I'm not overly sure what it can handle, so any advice would be greatly appreciated please.

I realise the sites would all need to reside on one server which is fine, however how many sites could it run? This project would potentially have many hundreds of sites under one MSM install?

Also, I'm fairly sure each site can have it's own templates/styles etc but just wanted to double check?

What would happen with regards to upgrading the main install, would it update across the board I assume?

One more question, is it still a case of buying a license for each new site within MSM?

Thanks in advance!


texts: Transferring data from one field to another

texts:
I have a current checkbox field which contains 8 options.

I want to change this field to a P&T checkbox field, to make use of the option_name : Option Label ability.

I've been told I can run an SQL find and replace from within the CP, but I've never done this before.

My field ID for the original field is id=6, and the new one is id=38

Can anyone help me with how I can transfer (or copy) the channel entires data from one field to another? Thanks!

Update

Thanks for the suggestions, will take a look at the fields now, and try it out.

Just so I'm sure i'm not doing anything unnecessarily, I am moving the data to a P&T field, as I need the ability to put the label and value. In order for the following code to work...

{walk_features_new}

{option}

      {if "{option_name}" == "option1"}Description for option 1{/if}
      {if "{option_name}" == "option2"}Description for option 2{/if}
      {if "{option_name}" == "option3"}Description for option 3{/if}
      {if "{option_name}" == "option4"}Description for option 4{/if}
      {if "{option_name}" == "option5"}Description for option 5{/if}
      {if "{option_name}" == "option6"}Description for option 6{/if}
      {if "{option_name}" == "option7"}Description for option 7{/if}
      {if "{option_name}" == "option8"}Description for option 8{/if}

                               {/walk_features_new}

I am right in think that this would not be do-able with the standard checkbox field, as I could only output the {option} right?

Cheers!


texts: Solspace Freeform: return to anchor in page when having inline errors

texts:
I have a contact form set up with Freeform and when having inline errors, I would like to return to an anchor on the page, since my form is on the bottom of the page.

I tried setting inline_error_return="#contact-form", but it doesn't even add the hash to the url.

Hope someone can help me out.


texts: Different Postmaster Emails for different Zoo Visitor group registrations

texts:
I have several zoo visitor registration forms - one for each of three different member groups. I need to set up different notification templates in Postmaster as the custom fields for each type of member are very different.

I'm using Hooks instead of Parcels as Parcels didnt send on registration - only for update.

Unlike Parcels, Hooks dont appear to have any way to select member groups or statuses so I cant see how I can trigger the relevant hook.

I tried {if member:group_id == '6'}TRUE{/if} in the Extra Conditionals field but it does nothing - the notification goes out whether the member group ID is correct or not.

Any ideas?


texts:
First off, pardon the noob aspect of this question. I have developed on other platforms, but it's been a while now. I was starting to build an EE2 module for one of my sites and I keep getting frustrated in needing to print_r() everything to see what data is available and if I am in the correct hook/segment.

I know a lot of you are seasoned developers of add-ons for EE and more than likely have a nice workflow you could suggest. I would like to save some time by using something I can view as I write. Currently, I just downloaded Zend Studio to see if I could accomplish what I was after.

I guess, my questions are:

What is the best tool for add-on development? (I know this is opinionated, but am open to suggestions)
Is it possible to create add-ons within the system folder so that a project "inherits" the code base? I installed a local instance for developing and used Bjorn's DevKit to kickstart the module. (Great help BTW)
What are the best ways to review available data? Surely there is a better way than dumping the data each time.

* EDIT *
For anyone interested, I saw another thread in which someone mentioned using UltraEdit. We use that here in some other areas so I downloaded the studio demo, since we just use the editor. I'm still going through it, but so far, I just started a new project, pointed the editor at my system folder, and all of the methods, classes, etc. seem to be pulled in.

It would still be nice to be able to iterate through data though.


texts:
I've been performing an ExpressionEngine upgrade from v2.5 to 2.9.2. Everything seems to be going well except for the db error I get when upgrading playa. Playa appears to be working, but I get the error when I click on the playa link in the "Addons/Fieltypes/Playa". Not a major deal, but very interested in finding out why I'm getting error below.

A Database Error Occurred
Error Number: 1060

Duplicate column name 'parent_var_id'

ALTER TABLE exp_playa_relationships ADD parent_var_id INT(6) UNSIGNED AFTER parent_row_id, ADD INDEX (parent_var_id)

Filename: third_party/playa/ft.playa.php

Line Number: 426

Any thoughts on how I can fix this?


texts: Deleting members / Changing Author of multiple entries

texts:
I used zoo member/safecracker to allow registered members submit 1 entry (application form) a few months back. I now need to open this form back up for submissions again. I need to save the original submissions in the database but need to remove the registered members so they can submit again.

I believe that the author of the entries needs to be changed before the members are deleted.

Does anyone know of a plug-in to change the author of multiple entries (1000 aprox) or what syntax to use for the database query.


texts: How to send two different emails (poss customer / thank for submitting) simultaneously with freeform?

texts:
I have a simple working contact form that emails a specific person in a company possible customer information. However, the client also wants a confirmation sent to the potential customer when the customer submits the form containing a link and some other general info so that then can return to the "thank you" url, which has some helpful information.

How do you send two different emails at the same time to two a regular email address but also the email inputed in a form?

I doesn't seem you can use {email} to email the person who submitted the form.

 {exp:freeform:form
        form:id="employee-form-wrap"
        collection="Employee Relocation Form"
        template="employee-relocation-form"

        return="contact/thank-you"
        notify="contact@mycompany.com"
        }

 {exp:freeform:form
            form:id="employee-form-wrap"
            collection="Employee Relocation Form Thank You Confirmation Email"
            template="Employee-Relocation-Form-Thank-You-Confirmation-Email"
            notify="{email}"
        }

* Indicates required field

            Name *

            <input type="text" id="name" name="name" value=""  class="validate[required] text-input">

            Email *

            <input type="email" id="email" name="email" value=""  class="validate[required,custom[email]]">

            Phone Number

            <input type="text" id="phone" name="phone" value="">

            Don't put anything here
            <input type="text" name="honeepot" id="honeepot" />

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

        {/exp:freeform:form}

{/exp:freeform:form}


texts:
I’m using Low Events and on the events index page I have a list of events, using the exp:low_events:entries tag.

On my event page, I’m using the normal channel:entries. Both work as should.

However on my event page which displays the event info I have the following categories code:

{exp:channel:entries
    channel="events"
    date="{segment_2}"
    url_title="{segment_3}"
    show_expired="yes"
    status="open"
    show_passed="yes"
    show_future_entries="yes"
    limit="1"
}

This code works as should and shows the category assigned to the entry. However on the index page that uses the exp:low_events:entries tag, the event or events with the assigned category is not shown. Instead all events are listed.

I am missing some code in the categories code?

edit

{exp:low_events:entries
    channel="events"
    date="{segment_2}"
    category="{segment_3}"
    show_passed="yes"
    show_upcoming="yes"
    orderby="date"
    sort="asc"
    limit="5"
}


texts: Channel Images Uncaught TypeError: $.base64Decode is not a function

texts:
I'm trying to use Channel Images in a front-end Channel Form situation. I have the channel images appearing, but the Upload Images button does not respond to clicking, and when I use the developer tools in Chrome, it spits out

Uncaught TypeError: $.base64Decode is not a function

and then a series of this information:

ChannelImages.ActivateUploadHandlers    @   channel_images_pbf.js?v=5.4.19:112

(anonymous function)    @   channel_images_pbf.js?v=5.4.19:68
n.extend.each   @   jquery-1.11.0.min.js:2
n.fn.n.each @   jquery-1.11.0.min.js:2
ChannelImages.InitFields    @   channel_images_pbf.js?v=5.4.19:64
ChannelImages.Init  @   channel_images_pbf.js?v=5.4.19:18
(anonymous function)    @   channel_images_pbf.js?v=5.4.19:1822
H.Callbacks.d   @   ?ACT=10&ui=core,widget,mouse,position,draggable,resizable,sortable,button,dialog,tabs,datepicker&pl…:16
H.Callbacks.p.fireWith  @   ?ACT=10&ui=core,widget,mouse,position,draggable,resizable,sortable,button,dialog,tabs,datepicker&pl…:16
s.extend.ready  @   ?ACT=10&ui=core,widget,mouse,position,draggable,resizable,sortable,button,dialog,tabs,datepicker&pl…:16
F.addEventListener.a    @   ?ACT=10&ui=core,widget,mouse,position

If I can't use channel images to upload via Channel Form, does anyone else have a suggestion for a clean, multiple file upload option for Channel Form?


texts: {Switch} and Mod for even/odd amount of entries

texts:
I have a html structure where two entries are grouped into one div, so what I do is this:

{exp:channel:entries channel="bullets" dynamic="no"}
     {switch='
|'}

                                ...some content...

     {switch='|
'}
{/exp:channel:entries}

This works great as long as I have an even number of entries in the channel. If I have an odd number the closing  is not being added.

I was wondering if I can somehow do something like this:

{if total_results mod 2 != 0}

{/if}

to make sure I have a closing tag if I have an odd number of entries.

Any suggestions?


texts: Currently, it would appear that if a user is using a system with a dynamic IP address, they will be logged out every time the IP address changes. The "solution" that has most commonly been presented with this is to simply turn off the "require IP address at login" option. This seems silly to me, because requiring an IP address addresses several security issues. How can I resolve this issue without turning of the IP address requirement issue?


texts: How do I mock parameters and tagdata when using testee?

texts:
I've gotten as far as getting a tag to run with it's default parameters, but I have no clue on how to fake the passing of parameters and tagdata.

I've checked the documentation for testee and munged a bit through it's own tests. I realize it is an unsupported addon as the author has moved away from ExpressionEngine, but that is why I am asking here.

Here's a working test so far:

public function test__returns_zero_with_default_attributes() {

    $result = $this->_subject->modulo();
    $this->assertEqual($result, 0);

}


texts:
Is it possible to access segment or page information in the hooks?

Each hook has different parameters so I can't rely on those to get segment information.


texts: I have a site which has audio files to listen to and optionally download. Restrictions to accessing the file is to become a site member. Is it possible to track that the member has listened (clicked) to the file? This site has Devdemons Store installed, which perhaps could provide a solution?


texts: Google Maps for EE, not showing all entries?

texts:
I have Google Maps for EE installed, and I am using it to display a full page map with all my entries on. (Currently at about 150 entries).

However at least the first 50 of these entries are not showing.
Each entry has an individual marker that displays correctly on its own single page view, but its completely missing from the full map view view.

Heres my code that I am using to display the full map.

<div id="map-holder-main">

    {exp:gmap:init id="map2" scrollwheel="false" style="width:100%;height:100%"}

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

        {exp:gmap:marker id="map2" latitude="{latitude}" longitude="{longitude}" geocode="false" clustering="false" show_one_window="true" maxWidth="200"}

            {lv_walkdetails_map}

        {/exp:gmap:marker}

    {/exp:channel:entries}

</div>

Any idea as to why these first 50 or so entries in the channel are not showing?


texts: Max length Rule doesn't work for {exp:channel:form}

texts:
I have this form tag

{exp:channel:form
    channel="xxxxx"
    class="form-horizontal row-fluid"
    date_picker="no"
    error_handling="inline"
    include_assets="no"
    include_jquery="no"
    return="/foo/bar/"
    rules:title="required|max_length[5]"
}

I am trying to limit title to 5 characters. However, it does not seem to work since I was able to post titles with more than 5 characters without the form complaining.


texts: How to link Extensal CSS files and link external image paths in css files?

texts:
When i use EE's internal CSS template, the css works fine.

But i have decided to take the css and javascripts out of ee templates and keep them in their own separate folders at the root of EE installation.

Here is my structure:

root

assets

scripts
styles

images
system
themes

This is the code in my index.html header area

(1st Try)

<link rel="stylesheet" href="{path='assets/styles/style.css'}" media="all" />
<link rel="stylesheet" href="{path='assets/styles/color.css'}" media="all" />

(2nd Try)

<link rel="stylesheet" href="{site_url}assets/styles/inner.css" />
<link rel="stylesheet" href="{site_url}assets/styles/flexslider.css" />

Here are the

#selector{ background:url({site_url}images/front/top-pattern.png);}

Note:

The css files are loaded correctly in HTML but the images are not loaded.

I checked with firbug and it says

  Failed to load the given URL

The issue is with the image path inside the css files.

I cant figure out what am i missing ?


texts: How to force a shipping error if option is not selected in Expresso-Store

texts:
My Expresso-store shipping dropdown is coded like this:

Please select your delivery/collection preference:

(please note we do not deliver outside the zones listed here)

<select name="shipping_method">
<option value="">Select collection or delivery preference...</option>
{shipping_method_options}
</select>
{if error:shipping_method}
Please select either collection or delivery.
{/if}

I would like the buyer to see, by default in the dropdown, 'Select collection or delivery preference...'  If they don't change the selection to something else, I'd like for them to get an error message.

If I remove that option and just leave {shipping_method_options} the buyer does not need to change the dropdown, so no error message again.

What would cause an error message to actually appear for shipping methods? Is there a way I can make selection of a method mandatory?

Thank you!


texts:
I'm running MSM on MAMP PRO and I though everything was setup correctly.

I have configured 3 sites, and when logged into the CP using the super admin account, I can switch between them without a problem.

However when logged in with a member assigned to another member group (which as far as I can see has pretty much all the same privileges as the SA), switching between sites no longer works.

Instead I just get "An Error Was Encountered - You are not authorized to access this page"

Any idea as to where I can start looking to fix this?

Thanks!


texts:
I began building a channel field form to enter all the data (as seen in the attached image), the form seems cumbersome and lengthy.

Now I am thinking about creating my own fieldtype, so I have more control over the layout. It will basically be its own form since it will contain so many fields within it.

There will be other fields in this channel field group.

Do you see any shortcomings to building a fieldtype that is essentially a form within itself?


texts:
I'm creating a newspaper style website. The homepage is made up of 'editions', each date should have a homepage with all the articles selected for that edition. I figure the best way to do this is with Playa.

I have a channel for articles, videos and graphics (listings in structure).

I've also created a channel for the editions (which is a listing in Structure), and using Playa you can select which articles, videos and graphics should be selected for that edition.

{exp:channel:entries channel="editions" dynamic="no" limit="1" show_future_entries="yes" start_on="{current_time format="%Y-%m-%d 00:00"}" stop_before="{current_time format="%Y-%m-%d 23:59"}"}

{home_main_article} (Playa field)

{title}

by {author} on {entry_date format="%d-%m-%Y"}

{article_content}

{/home_main_article}
{/exp:channel:entries}

My issue is this: Articles created on dates that don't match the date the edition was created, don't show up. Even with show_future_entries="yes" set, they still don't show. This may be because of the home channel is set to only show the edition for that day... Essentially articles, videos and graphics should be able to be created on any day and linked to any edition, that edition should show the entry content.


texts:
Good day,
I am getting an error trying to implement a channel form. Here is my code:

{exp:channel:form channel="upload_video" return="http://poliwatch.info/mypoliwatch"}
    Title
    <input type="text" name="title" id="title" value="{title}" onkeyup="liveUrlTitle();">

    URL Title
    <input type="text" name="url_title" id="url_title" value="{url_title}">

    Video File
    <input type="file" name="video_file"/>
    <input type="hidden" name="{site_url}/images/uploads/videos" value="1" />
    <input type="hidden" name="video_file_hidden_file" value="{video_file}{file_name}{/video_file}"/>

    Video Description
    <input type="text" name="description" id="description" value="{description}">

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

{/exp:channel:form}

I think the problem is name="{site_url}/images/uploads/videos"


texts:
Is there anyway to stop Wygwam from pasting empty paragraphs when i paste text into it ? It got the latest version 3.02

I got the "ignoreEmptyParagraph" thing turned on and still not working.

Thanks fro the help


texts:
I had a Matrix field that I converted to a Grid Field.

The only thing I needed to change was {exp:safecracker} to {exp:channel:form}.

However, after conversion, I noticed that clicking on the "+" button does nothing.

I looked at my console

ReferenceError: EE is not defined
TypeError: a is null

This is the url that is being called

http://dev-server-2.com/?ACT=7&ui=core,widget,mouse,position,draggable,resizable,sortable,button,dialog&plugin=markitup,toolbox.expose,overlay,tmpl&file=cp%2Fsort_helper,cp%2Fgrid,underscore&v=1379991682&include_jquery=y

I am on EE 2.7.1

Any idea what causes these errors? It stops me from actually editing my Grid fields.

NOTE

Here is the opening tag in that template

{exp:channel:form
    channel="xxxxxxxxx"
    class="form-horizontal"
    datepicker="no"
    dynamic_title="[email]"
    edit_member="yes"
    entry_id="{embed:entry_id}"
    error_handling="inline"
    id="xxxxxxxxxx"
    include_assets="yes"
    include_jquery="yes"
    member_id="CURRENT_USER"
    return="/xxxxxx/"
}


texts: Is there a way to get the total number of items chosen in a multiple relationships field?


texts:
I'm trying to show products that are in X and are also in Y categories. Not all products in X and all products in Y.

Low kindly replied suggesting adding "require_all" to the results tag. This works a charm, but only seems to work a charm when there is more than 1 category in the search query.

Search form:

{exp:low_search:form
    query="{segment_3}"
    result_page="{prv_template_group}/filter"
    collection="entry_product"
}

    {exp:gwcode_categories
        channel="{prv_channels}"
        depth="1"
        style="linear"
    }

        {if group_start}

{cat_group_name}

        {/if}

                    {cat_name}
                    <input type="checkbox" name="category[]" value="{cat_id}"{if "{cat_id}" IN ({low_search_category})} checked="checked"{/if}>

        {if group_end}

        {/if}

    {/exp:gwcode_categories}

            <input type="submit" class="button large" id="filter-button" value="Update Results">

            Clear Filter

{/exp:low_search:form}

Filter template:

{exp:low_search:results
    query="{segment_3}"
    limit="12"
    result_page="{prv_channels}/filter"
    channel="entry_product"
    require_all="category"
}

    {if low_search_no_results}

        {lv_alert_search_null}

    {/if}

    {entry_id}

    {paginate}

        {pagination_links}

                        {previous_page}

                        {/previous_page}

                            {page}

                                        {pagination_page_number}

                            {/page}

                        {next_page}

                        {/next_page}

        {/pagination_links}

    {/paginate}

{/exp:low_search:results}

Any ideas why this is happening?


texts:
Fairly new to ExpressionEngine. I'll try to briefly summarize what I'm trying to achieve since I haven't found any answers as of yet, which have properly worked.

I have an image gallery template, with the images being shown by a channel loop. When one is clicked, instead of simply showing the image by itself (by a permalink, I presume) in the same template style, I'd like for it to be shown in a separate template, so for example the image could be seen shown in a larger size, along with whatever other info: caption, etc.

I've tried linking the images to {url_title_path='template_group/template'} so that I could generate the same channel entry in another template - and it seemed to work, however all my images (besides the ones uploaded through the channel) were missing. Perhaps because I'm using relative image paths? I still don't know what image url method is best for ExpressionEngine.

On top of that, my {path='home'} link which is the url to my index didn't work anymore as well.

So what would be the best solution to linking the same channel entry to another template?


texts: Display entries from channel if checked on publish page

texts:
I have a page where I am allowing the client to choose which channel entries are displayed on the page, which is controlled by a field with checkboxes on the publish page.

If rides is checked, I need to display entries from the ride channel. If rides and gear is checked, I need to display entries from both.

I have never had to use checkboxes as a field before, and am unsure how to display content only if a specific checkbox is checked. The values of my checkboxes are:

Rides

Gear

Group

The name of my custom checkbox field is choose_entries

{exp:channel:entries channel="pages" limit="1" url_title="{segment_1}"}
            {if choose_entries == "Rides"}

Rides

            {embed="views/.rides"}

            {/if}
            {if choose_entries == "Gear"}

Gear

            {embed="views/.gear"}
            {/if}
            {if choose_entries == "Groups"}

Groups

            {embed="views/.groups"}
            {/if}
{/exp:channel:entries}

I'm pretty sure my conditionals are incorrect at present, I need some help getting them to work properly. Thank you!

And in case it's needed, here is an example of one of the embedded templates, but they display properly on their own.

{exp:channel:entries channel="rides" orderby="date" dynamic="no" sort="asc" limit="5" show_future_entries="yes"}

{title}

${event:price}

{ride_excerpt}

    {if "{event:can_purchase}" == "y"}

Book now

        {if:else}

Tickets are not available

        {/if}

{/exp:channel:entries}

Note: I am using Pages and Better Pages to make use of a template across multiple pages, if that complicates matters any.


texts: Automatically delete certain channel entries

texts:
My website has two channels: pet_owners and pets. pets channel also has custom field named owner_id.

My problem is: whenever an entry from pet_owners is deleted, would it be possible to force certain entries from pets to be deleted as well?

For example: if an entry from pet_owner gets deleted and its entry_id was 55 then how to automatically delete those pet channel entries where the value of owner_id would also be 55?

How to make it happen? Some plugin or module perhaps?

Thank you.

(P.S. The version of my EE is 2.5.5. Don't know if this information is important or not.)


texts: Fieldpack 2.1 (P&T) EE2.6.1 and Safecracker Dropdown Not Working

texts:
I've just upgraded a site to EE2.6 with P&T Fieldpack 2.1

all of my safecracker dropdowns are now giving {option_name} instead of my proper Options. My dropdown template code is using the following

{options:myfieldname}
     {option_name}
{/options:myfieldname}

This code output correctly with EE2.5.5 and P&T Dropdown 1

Can anyone help out with the correct Dropdown syntax or a working solution?