texts:
Ok so I am using a Stash embed / view model approach.

I have a custom filed Playa with specific articles for a product.
I also have a Low Variable storing a playa of related articles for a category.

I am using this in a Stash embed.

In my model I am trying to set the data so:

    {!-- RELATED ARTICLES --}
    {exp:stash:set_list name="related_articles" debug="yes" parse_tags="yes"}

        {cf_paper_specific_articles}
            {stash:url_title}{url_title}{/stash:url_title}
            {stash:test_title}P {title}{/stash:test_title}
            {stash:abstract}{cf_article_short_abstract}{/stash:abstract}
        {/cf_paper_specific_articles}

        {exp:low_variables:pair var="lv_articles_inkjet_paper" var_prefix="category_articles"}
            {stash:url_title}{category_articles:url_title}{/stash:url_title}
            {stash:test_title}C {category_articles:title}{/stash:test_title}
            {stash:abstract}{category_articles:cf_article_short_abstract}{/stash:abstract}
        {/exp:low_variables:pair}

    {/exp:stash:set_list}

The top part works ok and I get my product specific articles as expected.  But the bottom section, parsing the playa in the low variable, does not get parsed, resulting in output like:

P A Simple, Accurate Print Viewing System Using Grafilite Lights    Set up an inexpensive colour accurate print viewing area using Grafilite lights.
C {category_articles:title} {category_articles:cf_article_short_abstract}

Before moving to Stash embeds, I had this working succesfully like this:

       Related Articles

            {cf_paper_specific_articles}
               {title}{cf_article_short_abstract}
            {/cf_paper_specific_articles}

            {exp:low_variables:parse var="lv_articles_inkjet_paper" var_prefix="category_articles"}
                C- {category_articles:title}{category_articles:cf_article_short_abstract}
            {/exp:low_variables:parse}

            {exp:playa:children field='cf_paper_brand' var_prefix="brand" }
                {exp:low_variables:parse var="lv_articles_{brand:url_title}" var_prefix="brand_articles"}
                     ##### B- {brand_articles:title}{brand_articles:cf_article_short_abstract}
                {/exp:low_variables:parse}
            {/exp:playa:children}

(there's an extra bit there that works too...but I want to get the more basic case working first!)

I have tried various parse="inward" type things...but no dice.  The nested nature of stash->low vars->playa is doing my head in and I am hoping smarter brains than me can see why this doesn't work!!


texts: MX Notify Control Sending Incorrect Data

texts:
I'm trying to get MX Notify Control setup to handle new entry and updated entry notifications for an event registration channel I created. Currently the notifications are working for 10 of the 11 notifications, however there is one custom status that often sends data from a different entry than the one been updated to this problematic status. It should be noted that the same issue occurs when attempting to setup the notification with my Postmaster module as well.

Below is an example of the code I'm using for the e-mail template for this notification that always sends the wrong data or better described it will send the data for the first entry in the channel with the 'Hours-Confirmed' status which is usually not the correct one or the one being updated. I will also mention that the template below doesn't seem to be the issue though as the same problem happens if you update an entry to the 'Hours-Confirmed' status from the control panel.

Event Hours Confirmed

{exp:channel:entries channel="vip_event_registration" status="Hours-Confirmed" limit="1"}

Your hours have now been confirmed for {vip_event}. According to our records, you attended this event for {vip_hours_total} hours.  Thank you for participating in a VIP event!

{/exp:channel:entries}

The code above e-mails the incorrect data when an older entry is updated to the  'Hours-Confirmed' status as it always sends the data for the first entry with the 'Hours-Confirmed' status starting from the most recent entries.

On the front-end template I'm using a search parameter for my Safecracker status update form like this, search:entry_id="{segment_3}" and I have it setup so the correct entry_id is always in segment_3 of the URL. I need to also create that association for the e-mail notification so it will send the correct data but not exactly sure how to go about that. In fact I thought that functionality was or should be built-in to both MX Notify Control and Postmaster but it doesn't work in either for this one status. My only ideas at this point are to keep the 10 working notifications and setup a custom PHP script for the 11th one that's causing all these problems with incorrect data being sent.

Another interesting point to note is that if I go to the control panel and look at an older entry, not change anything but just submit it again, then I'll get an e-mail notification with the data from the most recent entry with the 'Hours-Confirmed' status.

The same is also true for the Postmaster module. It's strange that 10 of the 11 e-mail notifications are now working with MX Notify Control but there is one status that sends incorrect data in both MX Notify Control and Postmaster.

Any tips or suggestions to help resolve this issue with the incorrect entry data being sent would be greatly appreciated, thanks!


texts: Do I lose data if I change a text area field to Wygwam?

texts:
I have a live site with many entries and the client would like to change the Text Areas to Wygwam fields in order to leverage the Wygwam features.

If I make this change, will I lose any existing data? Is there something I need to do to avoid losing data in the change over?

Thanks.


texts:
I'm running into a strange problem.  I have a site that is managed by a client.  A couple of days ago, they started noticing that things weren't working correctly in the admin.  I checked it and found that there were errors showing up in the dev console.  Here are the errors I get on the admin landing page:

  NetworkError: 403 Forbidden - ...admin.php?S=11606155886845716ce19d7cdde155fc5d604080&D=cp&C=javascript&M=load&file=css&theme=default&v=1312216958

  NetworkError: 403 Forbidden - ...admin.php?S=11606155886845716ce19d7cdde155fc5d604080&D=cp&C=javascript&M=combo_load&ui=core,widget,mouse,position,sortable,dialog&plugin=ee_focus,ee_notice,ee_txtarea,tablesorter,ee_navigation&file=cp/global&effect=core&v=1312216960

  NetworkError: 403 Forbidden - ...admin.php?S=11606155886845716ce19d7cdde155fc5d604080&D=cp&C=javascript&M=combo_load&file=cp/homepage&v=1312216960

  NetworkError: 403 Forbidden - ...admin.php?S=11606155886845716ce19d7cdde155fc5d604080&D=cp&C=javascript&M=load&file=css&theme=default&v=1312216958

  NetworkError: 403 Forbidden - ...admin.php?S=11606155886845716ce19d7cdde155fc5d604080&D=cp&C=javascript&M=combo_load&ui=core,widget,mouse,position,sortable,dialog&plugin=ee_focus,ee_notice,ee_txtarea,tablesorter,ee_navigation&file=cp/global&effect=core&v=1312216960

  NetworkError: 403 Forbidden - ...admin.php?S=11606155886845716ce19d7cdde155fc5d604080&D=cp&C=javascript&M=combo_load&file=cp/homepage&v=1312216960

All JavaScript interaction is killed (dropdown menus, tabs, etc.), and it happens in all browsers. I've checked all the file permissions that I'm sure about and they haven't changed.  As far as I know, nothing has been touched for a long time on the server. The client makes frequent updates to the site, but I don't see how they'd be able to cause such errors.

Granted, it's an older version (v 2.2.2), but it's been working fine up until a few days ago.  Anyone have any ideas?

UPDATE: Nevermind, folks. After finding the same thing happening on another site, hosted on the same server, I've determined it was a change in the server config by the host. Currently working it out with them.


texts:
I'm having a little trouble figuring out the best way to migrate an install of EE with MSM.

I have 2 sites set up with MSM that are currently live. I need to switch to a new host but I obviously can't set up the new host with the existing domain names since they are already hosted elsewhere.

How do I go about setting it up on the new host?


texts: Accessing 'Calendar' field types with the channel:entries tag

texts:
I'm trying to make an all-in-one feed for the home page of a site that would pull together all the latest entries (whether they be blog posts, events etc.)

So I've got a entries loop that goes like so:

{exp:channel:entries
    channel="posts|calendar_events"
    sticky="no"
    status="open|featured"
    limit="10"
    disable="categories|member_data|category_fields"
}

calendar_events being the channel created by the Solspace Calendar add-on. The channel field with of Calendar type is called event_time. I want to know if there was a way to display the event start times and end times through the entries tag using my event_time variable.

When I just put {event_time} it displays the Calendar ID. I'd rather not be embedding a template for every event that appears but I suppose I could use the event_time and/or entry_id to display the time via embed variables.

Any help would be great! Thank you!


texts: Solspace Freeform: Is there attr:type=“email” for freeform:field tag

texts:
I am wondering if you can specify the input type as an attribute in FreeForm.

I would like to give mobile users the right keyboard for the email field e.g. input type="email"

Can this be done on the freeform:field tag?

Thanks.
=)


texts: How can I disallow Javascript and CSS entered into WYGWAM fields?

texts:
I have a client that has a nasty habit of entering <style> and <script> tags and style="" attributes to WYGWAM content and I need to be able to cut them off at the pass. They should hire me to do that for them!

So what I need is to delete anything entered in a WYGWAM field that matches these tags and attributes.

Possible?


texts: Pull random 10 entries without duplicating every time when ajax calls

texts:
Possible to pull random 10 entries (without duplicating entries) with ajax everytime when scroll to the bottom, right now it loads random 10 entires but it duplicates and some entries never shows up. Any ideas? thanks

index.html:

{exp:channel:entries channel="channel_A|channel_B|channel_C" orderby="random" limit="10"}
  {content}
{/exp:channel:entries}

ajax/index.html

{exp:channel:entries channel="channel_A|channel_B|channel_C" orderby="random" limit="10"}
  {content}

  {paginate}
    {pagination_links}

        {page}

{pagination_page_number}

        {/page}

    {/pagination_links}
  {/paginate}

{/exp:channel:entries}

jquery:

  var counter = 10;

  $(window).scroll(function() {
    if($(window).scrollTop() + $(window).height() == $(document).height()) {

        var response;
        $.ajax({ type: "GET",
          url: ""+document.location.origin+"/ajax/P"+counter+"",
          async: false,
          success : function(text) {
            response = text;
          }
        });

        counter += 10 ;
        newItems = $(response).appendTo('.grid');
        $grid.isotope('appended', newItems );

          var $grid = $('.grid').isotope({
            masonry: {
              columnWidth: 360,
              gutter: 30
            }
          });

    }

  });

this is using pagination, so it loads like '/ajax/P10' '/ajax/P20' ..., etc


texts: Undefined variable: whitelist whenever trying to interact with files

texts:
For some reason im getting these errors whenever i interact with the file manager

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: whitelist
Filename: libraries/Mime_type.php
Line Number: 48

A PHP Error was encountered
Severity: 4096
Message: Argument 1 passed to EllisLab\ExpressionEngine\Library\Mime\MimeType::addMimeTypes() must be of the type array, null given, called in /home/forge/default/system/expressionengine/libraries/Mime_type.php on line 48 and defined
Filename: Mime/MimeType.php
Line Number: 82

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: Mime/MimeType.php
Line Number: 84

It wont let me upload new files, or synchronize directories?

Its running EE 2.10.1, on a laravel forge made server.  I checked all the folder permissions and it looks fine? any other ideas?


texts:
I am having a problem with my EE CartThrob cart. I have products with "options" for size. In the cart if I add 1 item size Small and 1 item size Medium they get added as the same item with a quantity of 2 and the size option set to Medium. It ignores my first size selection and combines it with the most recent selection.

Is there any way to adjust this so each size is it's own entry in the cart?


texts: Is it possible to lock a template in Template Manager?

texts:
We have a template which is literally a template in the original sense: i.e. it contains code which is intended to be copied and pasted into a newly created template.

Is it possible to 'lock' this in anyway so this base code cannot be changed only copied to a new template where any changes can take place?


texts:
How do I remove test orders from an Expresso Store?

EE 2.9.2 / Expresso Store 2.5.0


texts:
I have a requirement and want to check with expresso-store developers whether its possible or not.
Requirements

One superadmin who can administer all stores, like adding or deleting a store.

Multiple owners can register their own store(s) and should be able to run and maintain their individual store(s). (Like update/publish new products, inventory, sale records, orders, etc)

Each owner will be given their own login credentials to manage their stores, products and orders etc.

Each store should have a separate URL,for example if my domain URL is www.nisarstores.com,then each store should have a URL like store-1.nisarstores.com,store-2.nisarstores.com etc.

Each website will display products related to only that store. For eg. store-1.nisarstores.com will display products only of that store.

Orders made on a store should be visible and maintained by respective store admin.

The store FE needs to be multi-lingual.
Hope I was clear in explaining my requirement,so please give your feedback whether this kind of requirement is possible using expresso-store or not.

Cheers
Nisar


texts:
I’m using a plugin name « Category Count » to count the number of entries in a specific category.

When i create an entry, transcribe create one for French and one for English so my counter show me two entries. I need only one entry count.

Here’s my code :

{exp:channel:categories category_id="8" style="linear"}
  {if soin-visage-section == 'Catégorie' }

{category_name} ({exp:catcount cat_id="{category_id}" channel="products"})

 {/if}
{/exp:channel:categories}

Someone Can help me with this ?

Thank you very much.

Kind regards

Jérôme


texts: Expresso Store Is there a way to "Edit" an item already in the cart?

texts: Is there a way to "Edit" (update options etc.) an item already in the cart?


texts: Multi-entry Channel Entries need to be a list?

texts:
Another question! I'm in the middle of a site redesign which has got me thinking about this.

When I am displaying multiple entries from a channel, i.e on a listing page, does the channel entries tag have to be part of a list

 etc in order to display correctly?

In my current design I have all my listing pages as
 lists, but in my redesign I designed a listing page with multiple entries based on a recurring div.

Something like

Title

  Date

Description

Title 2

  Date 2

Description 2

Therefore if I wrapped the channel entries tag (with a limit of 10) around the first container div, and passed the fields through, would it then give me 10 repeated div's?

Not sure if this is an obvious or stupid question, but I am still learning EE, and the tuts that I followed when building all worked of lists items for multi entries.


texts:
Being an EE novice, I'm struggling to understand Parameter and Dynamic Variables.
Yes...I gone over the documentation..MANY times. I'm still fuzzy on it.

For example, if I want to make a webpage using these layout variables (correct me if I'm using the wrong terms please) it could look like this?

<!-- header data here, etc --->

{layout:navigation}

<!-- my channel tags, etc --->

{layout:footer }

how do I tell expression engine what my footer is. Do I simply build a template within a related-named template group? Why don't I simply do this

{layout='layouts/_generic_layout'}
<!-- header data here, etc --->

        {layout="generic/.navigation"}

        <!-- my channel tags, etc --->

        {layout="generic/.footer"}

What am I not understanding? Secondly (let me know if I have to make another question for this one), when you go to create your dynamic layout set tag as shown above, it could look something like this correct?

{layout:set name="navigation"}
<!-- navigation content here -->
{/layout:navigation}

Could you please provide an example with your responses. Thank you!


texts:
I'm trying to make use of code much like the solution provided to this user (Limit a FreeForm based on a maximum number of allowed entries?) to hide the form after a certain number of entries is reached.

The issue I've found is that the conditionals work up to 50, but not beyond that point... and I'd like to hide the form automatically when 200 entries are reached.

Does anyone know how to do this? This is the code I'm using:

{exp:freeform:entries form_name="conference_2017"}
{if '{freeform:count}' == 1}
{if '{freeform:total_results}' < 200}

All fields below are required. Thank you!

{exp:freeform:form form_name="conference_2017" required="full_name|title|organization|email|phone|mailing_address|postal_code" form:id="contact_form" form:class="contact_form" return="conference/registered" secure_action="yes"}
<! -- Form Content -->
{/exp:freeform:form}
{/if}
{if '{freeform:total_results}' >= 200}
Due to exceptionally strong interest we’ve reached our registration limit. If you have any questions or would like to enquire about the possibility of attending, please contact XXXXX at {encode="XXXXX" title="XXXXX"}.
{/if}{/if}
{/exp:freeform:entries}

I'm using Freeform Pro 4.2.5 on EE 2.11.7.

Thank you!


texts: SafeCracker problems... Playa Field inside a Matrix

texts:
I'm having trouble getting Safecracker to create the rows on a Matrix field. I've managed to get this to work IF the field is a 'Text Input' field.

But when the field is a Playa field, it doesn't create the row.

My code is (I'm pulling the data from a channel:entries loop):

{!-- Create New Row --}
<input type="hidden" name="member_courses[row_order][]" value="row_new_{exp:mx_calc expression="{count}-1"}">

{!-- Course ID / Name --}
<input type="hidden" name="member_courses[row_new_{exp:mx_calc expression="{count}-1"}][col_id_20]" value="[{entry_id}] [{url_title}] {title}">

I found that if you add this:

<input type="hidden" name="member_courses[selections][]" value="{entry_id}">

It should work, but it doesn't.

How can I get Safecracker to create an entry, that creates rows in a Matrix (But also creates the relationship)


texts: GWcode Categories pulling only 2 categories within 12

texts:
Based on one of GWCode Categories examples I have created code below

Product Type

    {exp:gwcode_categories channel="products" style="linear"}
        {if depth1_start}
{cat_name}
{/if}
    {/exp:gwcode_categories}

but it pulls only 2 first parent (root) categories from 12 categories assigned to the products channel.

Any clue?


texts: Low Search excerpt not rendering in Low Search Results

texts:
I'm not exactly sure why, but {low_search_excerpt} is not rendering in my search results:

{exp:search:results collection="careers|doctors|locations|patient-stories|services|specialties|static" status="open" limit="10" dynamic="no" paginate="both" status="open" keywords:inflect="yes" keywords:lang="en" keywords:mode="auto" keywords:loose="right" keywords:stem="yes"}

{low_search_excerpt}

{/exp:low_search:results}

Things I've tried:

I've chosen an excerpt for each collection listed.
I went to each channel and verified that the correct field is chosen for an excerpt
I rebuilt the index and lexicon for each collection listed.

I appreciate any help you can offer!

UPDATE

I ran the query in the link you sent:

SELECT * FROM exp_extensions WHERE hook = 'channel_entries_query_result'

The following extensions using that hook are:

Assets_ext
Low_search_ext
Ep_better_workflow_ext
Low_reorder_ext
Super_search_ext
Low_alphabet_ext

This is my form code:

{exp:low_search:form
    result_page="/search/doctors/"
    collection="doctors"
    form_id="doctor-ajax-filter"
}

<input type="search" name="keywords" placeholder="Search for a physician name, condition or location..." value="{low_search_keywords}">
<button type="submit" class="button button-postfix-search"></button>

... NOTE THAT I HAVE THE RESULTS TAG INSIDE THE FORM TAG. I NEEDED TO DO THIS BECAUSE OF THE WAY THE PAGE IS STRUCTURED

{/exp:low_search:form}

Could it be that I'm getting a conflict between Super Search and Low Search? The reason I have SS enabled is that I'm in the process of stripping it out all together and replacing it with your much awesomer search! Or, do you think it's because I have the form tag wrapping the results tag?


texts: entry_submission_start does not fire as expected

texts:
I am trying to use the entry_submission_start hook to be able to check the current settings before the extension updates them. I expected the hook to fire before the entry is submitted, but when I query the database, it has already been updated. Here is my code for the extension:

function functionName($entry_id, $meta, $data) {
    $query = mysql_query(“SELECT field_id_34 FROM exp_channel_data WHERE entry_id = ‘“.$entry_id.”’”);
    $assoc = mysql_fetch_assoc($query);

    echo $assoc[‘field_id_34’];
}


texts: Relationships tag outputs nothing as tag pair

texts:
I'm stumped on this one.

I'm trying to out put related entries but nothing is being output if I use the relationship tag as a pair

{exp:channel:entries channel="clients"
        url_title="{last_segment}"
        status="not closed"
        disable="categories|pagination|trackbacks"}
    {title}

    {cli_honorific} {cli_first_name} {cli_last_name}

    {cli_company}

            [{cli_enquiries:count}/{cli_enquiries:total_results}]

            {cli_enquiries:title}

            {cli_enquiries}
                {cli_enquiries:title}
            {/cli_enquiries}

{/exp:channel:entries}

This is what I am using at the moment.
the data is output where the related data is not within the tag pair, but nothing outputs inside the tag pair.

Any ideas?

I'm using EE 2.8.1


texts: Assets: problems assigning images. Call to a member function file_id() on a non-object

texts:
Call to a member function file_id() on a non-object in /(path to my system folder)/expressionengine/third_party/assets/views/thumbview/files.php on line 15

I get the above error message when I post my channel entry.


texts:
I'm wondering if there's an add-on out there-- or perhaps an altogether different approach-- for allowing a user to easily insert a Google map embed (iframe) based on an address? I have a channel dedicated to "favorite destinations" with fields for name, address, etc. and currently prompt the user to copy and paste the corresponding Google map embed code into the appropriate field when publishing an entry. This approach is of course not ideal, as there is considerable margin for error with a user inputting actual markup, and I'm trying to figure out the easiest approach here to simplify the user's process.

I see that Objective HTML has the Google Maps for ExpressionEngine add-on, but I'm not sure if it allows for this sort of functionality--i.e. auto-generating the iframe embed code corresponding to a specific address and inserting it into the proper div in a template?

Thanks for any guidance here.


texts:
We have a store setup using ExpressionEngine and Expresso Store, it's all working great however we now need to integrate with another system. This system imports information on orders, it's basically a CRM system, it required an XML file to be produced each time an order is processed, we've managed to produce an XML feed for these orders but unfortunatently it requires a seperate file for EACH order. This is the XML we produced:

<?xml version="1.0" encoding="UTF-8"?>
<Clarity xmlns="http://www.touchsystems.co.uk/schemas" Type="Order" DateTime="2011-04-04T17:58:41.000000" Source="Customer Website">

  {exp:store:orders}
  <Contact>
    <Name>{billing_name}</Name>
    <Company></Company>
    <Telephone>{billing_phone}</Telephone>
    <Email>{order_email}</Email>
    <Address>
      <Address1>{billing_address1} {billing_address2}</Address1>
      <City>{billing_address3}</City>
      <County>{billing_region_name}</County>
      <Postcode>{billing_postcode}</Postcode>
      <Country>United Kingdom</Country>
    </Address>
    <Detail>
      <Title></Title>
      <Extension></Extension>
      <Fax></Fax>
      <Website></Website>
    </Detail>
    <Comment></Comment>
    <Document>
      <Title>Online Order REF {order_id}</Title>
      <Notes>Here are some example order notes</Notes>
      <Detail>
        <Terms>Delivery within 30 days of payment</Terms>
        <CustOrderNo>{order_id}</CustOrderNo>
        <RequiredDate>{order_date}</RequiredDate>
      </Detail>
      {items}
      <Item>
        <Partcode>{sku}</Partcode>
        <Description>{title} {modifiers}{modifier_name} {modifier_value} {if price_mod_val}({price_mod}){/if}{/modifiers}</Description>
        <Quantity>{item_qty}</Quantity>
        <UnitPrice>{price} - {item_subtotal}</UnitPrice>
      </Item>
      {/items}
      <Totals>
      </Totals>
      <DeliveryAddress>
        <Contact>{shipping_name}</Contact>
        <Address1>{shipping_address1}</Address1>
        <Address2>{shipping_address2}</Address2>
        <City>{shipping_address3}</City>
        <County>{shipping_region_name}</County>
        <Postcode>{shipping_postcode}</Postcode>
        <Telephone>{shipping_phone}</Telephone>
      </DeliveryAddress>
    </Document>
  </Contact>
  {/exp:store:orders}
</Clarity>

But we're not really sure how to go about generating a single XML file per order, will we need to do this with PHP or can ExpressionEngine handle this? Any ideas would be really appreciated!


texts: Grid Field Count Search in Channel Entries

texts: Is there a way to filter {exp:channel:entries} based on the number of rows in a Grid field?


texts: Parse order for Stash? - stashing an entry_id and retrieving it again later

texts:
I'm using EE 2.7.2 with Stash 2.4.7.

I'm attempting to stash an entry_id and then retrieve it again elsewhere on the page.

I've got a site with two important channels - people and awards. On each award, I've got a relationship field (award_winner) that points to someone in the people channel.

On any given award detail page, I'm trying to pull in a bunch of information related to the award winner and stick it in a sidebar.

At the top of a page, I stash an entry ID for a related entry.

{exp:stash:parse}
  {exp:channel:entries channel="awards"}
    {award_winner}
      {exp:stash:set_value name="winner_id" value="{award_winner:entry_id}"}
    {/award_winner}
  {/exp:channel:entries}
{/exp:stash:parse}

This is working correctly. If I do a *{exp:stash:get name="winner_id"}* on its own, I get the proper entry ID, but it's not showing up when I try to stick it into  exp:channel:entries.

Down in the sidebar, I'm pulling in a list of entries related to that award winner.

And I'm trying to do that like so:

{exp:channel:entries channel="people" entry_id="{exp:stash:get name="winner_id" parse="inward"}" dynamic="no"}

Other awards won by {title}

      {parents field="award_winner"}

{parents:title}

      {/parents}

{/exp:channel:entries}

When it gets to this second part, it's returning all entries in the people channel, instead of just the one defined by *winner_id*.

The end goal, will be to have a bunch of channels (news, media, etc) that all relate to individuals, and that sidebar area is going to pull in (on any given page) a bunch of related items from multiple channels.


texts: Add items to a User via front end tags, (ie. travel Itineraries)

texts:
I'm working on a travel site and one of the requests is to create user itineraries. I was planning on using Zoo Visitor for some of the user functionality, but wondering if there is any add-ons that I could use to allow a user to just click a button on an event/attraction and have it added to an itinerary tied to their account.

One potential option might be to have a Safe Cracker on each page and have all the field be hidden. Then when they click the button, have that submit a form which would create an itinerary item which would relate to the user. Are there any better/simpler solutions? Checked devotee and couldn't find anything that seemed to match, but I could be missing something.


texts: I am new to working with ExpressionEngine, so this may be an easy answer. I am getting 500 errors and can't seem to find any ExpressionEngine log files. How can I log errors in ExpressionEngine?


texts:
How do we control the stock in Store?

I enter the stock level into field Limit Stock. The store nows now that there is some stock.

What is the meaning of the check box?

And will Store change the number when 1 item is ordered? It does not in our case. Is this normal that we need to change the number in the entry by hand?

I might have overseen something in the documentation.


texts: URL title field is blank on some entries! Help

texts:
I have a channel for users to add their own entry via a Safecracker form, it is a live site and there is now 800 odd entries – about 300 of these have slipped by without URL titles, which you can imagine is causing trouble...

Blank URL title:

In some instance, it seems that my URL titles have not came through – they are blank. Would this signal a lack on Javascript in the users browser? URL title field is hidden. It all works fine when I test it with Javascript enabled, could only recreate the problem with JS disabled, no URL title comes into the fields value.

My question on this is – how do I prevent this from happening within Safecracker? These users would not understand url title field, so want to keep it hidden – which means can't user validate it.

Rebuilding the URLS using title

I have seen a few solutions on here – but none work. SQL solution leaves in special characters. PHP solution throws up an error.

If I need to rebuild all the URL titles in a Channel, how do I go about it? (I am not good with PHP or MySQL – is there an existing solution I am missing)

I am stuck with about 300 blank URLs, which would be tedious to do manually.

Thanks in advance for your help!


texts: How do I use Amazon S3 with local fallback in case of S3 outage?

texts:
I need to wrap my head around this...
With Assets I can upload images directly to S3. With CE Image I can store the manipulated images on S3.
Is it easy to switch to local images in case S3 is not available? Maybe via the fallback image parameter of CE image?


texts:
We are using Andrew Weaver's DataGrab to upload about 50 fields via a spreadsheet - all works fine (great plugin btw) - what we need though is to somehow do the reverse process: basically take the submitted channel entries, but only ones assigned to the logged in author and output them as a csv?

Andrew has a plugin ‘Export’ but it seems rudimentary and the channel I need to download info on has 50 fields, plus some categories and must be in a category the logged in author is assigned to. Not sure that would do it.

Anyone have ideas or done something similar?


texts: Disqus error: Fatal error: Call to undefined method Cp::set_variable()

texts:
trying to load the Disqus module and get this error:
Fatal error: Call to undefined method Cp::set_variable()

anyone else experiencing this issue?


texts:
I've used low seg2cat on loads of websites in the past without issue. I just tried to set it up on a pretty much vanilla EE 2.8.1 site (only plugins Matrix, Playa, Freeform, Wygwam) and it doesn't seem to be working.

On the front end, none of the extension tags are being parsed (i.e. "{last_segment_category_id}"). In fact if I do a php exit in the extension file, nothing happens on the front end (it will exit if I try to access the control panel though).

I tried uninstalling and reinstalling without any luck just in case something went wrong.


texts:
The docs say

"To enable this feature, make sure to enable ICS Sharing, click the green icon button in Manage column for the applicable calendar(s) on the list view of calendars in the Calendar control panel. "

And I don't see how to enable this anywhere in the current build of Calendar.

Please send a clue.

Thanks.


texts: unserialize() PHP error trying to import XML with solspace importer

texts:
I am running EE 2.7.3 and Solspace Importer 2.2.3. I am getting this error when I select the channel for these entries to go in. I am uploading manually using strict XML.

A PHP Error was encountered
Severity: Notice

Message: unserialize(): Error at offset 11 of 49151 bytes

Filename: importer/mcp.importer.php
Line Number: 1151

Unable to Retrieve Profile Data

Here is an example of the XML:

<entries>
    <entry>
        <title>Destiny and a Blue Cloak</title>
        <story_author>481</story_author>
        <story_age_rating>PG</story_age_rating>
        <story_excerpt><![CDATA[ Except goes here]]></story_excerpt>
        <story_box><![CDATA[ Content goes here]]></story_box>
        <categories>
            <category>Romance</category>
            <category>Humour</category>
        </categories>
        <status>open</status>
    </entry>
</entries>

Any thoughts?


texts: Solspace Favorites for logged out members

texts:
Is there any way to allow logged out users to favorite an entry?

I understand the purpose of favoriting is to add the entry to their favorites list, but we'd like to use it for 'liking' functionality too for all users irrespective of whether they're a member.


texts:
I want to fetch the first image of an entry, as I have a list of entries (generated by the Playa-plugin) und want to show an image to each entry.

I am running EE2. Is there any idea or hint?

Thanks!

UPDATE:
The images are just inserted in the entry (I use Assets, but this should be of no relevance). So the body-field of an entry could have a structure like this:

bla bla bla

bla bla bla

bla bla bla

bla bla bla

So I want to use the first image in a list of my postings (every entry of the list showing one image of the post).


texts: Entry Handling - Categories/Status Group/Relationship Differences

texts:
I'm a novice at EE. What exactly are the difference between categories, status groups and Relationships within EE other they are all used for Entry organization?The documentation on EE for 3.3 is not very clear.

I have build at least two sites using EE and I have seen what you can do, but I struggle with explaining it clearly to others.


texts: Is there an add-on that will export entry content as flat file on submit?

texts: We are looking to convert an EE site to a static site, but leaving two sections of the site in ExpressionEngine. For these two sections, we want to use EE control panel to publish content, but it would be great if on submission of the new entry, the content could also be exported as a flat file (preferably with markdown). Has anyone ever come across such an add-on that will allow for this?


texts:
How would one use Template Routing to route this:

http://MYDOMAINNAME.COM/tournaments/public-schedule/archives/2014/10/

To a Structure template of my choosing? I have this currently set:

Which states:

GROUP: templates
TEMPLATE: events

I want to route the Archives/year/month there then run a conditional that will display the low archive tag there. I know how to do this with CraftCMS, but EE's documentation really stinks regarding template routing and I can't find any good posts of this online either.

Thanks for the help community!

Cheers!


texts: How to let users control ANY and ALL for categories using dynamic parameters?

texts:
My site has many entries, each having several categories assigned to them. Using Dynamic Parameters, I'd like to allow users to filter the entries to show only those belonging to certain categories, perhaps by selecting checkboxes. That part I know how to do.

The categories parameter in the Channel Entries tag lets you indicate that you want to show entries with ANY of the selected categories (category="2|45|4|9") or ALL the selected categories (category="3&7&8").

Is there any way to let users make the selection of ANY or ALL when they interact with the Dynamic Parameters form? So effectively, they could say either "Show me entries belonging to ANY of the categories I've selected" or "Show me entries belonging to ALL of the categories I've selected"?


texts: Is there a better way to direct users after adding/editing an entry?

texts:
A thing that annoys me about EE and Structure is that when I add/edit an entry within a channel, I get redirected back to Structure main page. I might want to add another entry, edit another entry in that same channel or edit that same particular entry again.

Always throwing me back to the Structure page is annoying. I feel like I'm clicking around way too much.

Anyone got any good addons or ideas to handle this better? Something that gives you an option to go somewhere after or as you save?

Thanks,

Dave


texts: Using an Image for HTML Formatting Button

texts:
Currently when you add a new HTML formatting button it simply outputs as the tag name as text within a box. I am looking to replace this text with an image much like the native HTML formatting button such as bold, strike-through, italics etc... Is there a way of doing this - the EE documentation simply states:

  The custom HTML buttons are powered by the jQuery library MarkItUp. Because of this, some powerful customization is possible in the “opening tag” field. If you wish to take advantage of this syntax, more information can be found on within the MarkItUp documentation, and particularly under the section on Magic Markup. http://ellislab.com/expressionengine/user-guide/cp/admin/default_html_buttons.html#advanced-customization


texts:
I am running the EE Wizard to check the compatibility of a new server I may be working with.

All tests pass except for the PHP Memory Limit.

In the cPanel of the hosting server, it shows that memory_limit is set to 32M, so why would the EE Wizard be failing this part of the check?


texts: Seeking thoughts on best way to create a "Document Repository"

texts:
I'm just moving in to the next phase of a large project and trying to work out the best way to tackle it, or indeed if any add-ons exist that might help.

This part of the project is basically a document repository. A collection of various types of files that will be arranged, and displayed, in what are essentially folders and sub-folders. The user will be able to drill down through the folders to locate the files they want (or use a search facility).

The functionality is being driven largely by the client's existing set up and I'm wondering is there might be a better way. I'm normally against rigid organisation of assets like this and prefer a tagging solution though in this case perhaps that would be a step too far.

My first thought is to simply use categories (either on entries or using the files module) - it could be that simple - but I'm wondering if there are any add-ons that might assist in building this or indeed, if anyone else has built something like this and come across any "gotchas" that I haven't yet thought of.

EDIT: Reading that back I realised I had used the word "assets". Maybe that's a subconscious hint to myself! I haven't used the add-on Assets in this way before - is this something that Assets would be suited to?


texts:
Using the basic channel entries tag, entries made in Feb of 2015 are all showing the same entry date even though they are set to different dates.

    {exp:channel:entries
        channel="blog"
        orderby="date"
        sort="desc"
        dynamic="no"
        show_future_entries="yes"
        disable="categories|category_fields|member_data|pagination"
    }

{entry_date format="%F %n, %Y"}

{title}

    {/exp:channel:entries}

I am running EE 2.8.1.

Thanks for any help.


texts: Can a custom field be populated by external JSON?

texts:
I'm building the marketing portion of a larger system, where a catalog of products is in a separate database. I need a custom select field that represents the products in the catalog, so I can relate products to blog posts. How can I populate this field via JSON, in real (or near-real) time? Has anyone done this before?

All I need to store is an ID in EE, which I can later use to pull in the full details of the product on demand so what's displayed is up to date.


texts: Pixel and Tonic: Matrix fields not saving File/image data

texts:
Matrix version: 2.2.2.1

EE Version:  v2.2.2

PHP Version 5.4.13

When I save an image to a File field, it properly saves and publishes the content. But when I return to the entry to Edit it, the matrix file data is gone.

Our server was recently force-migrated which bumped up the PHP version a bit.

Anything else I should check?


texts: EE 2.7 / Krea Content Elements 1.5.5: Rich Text formating Buttons missing after updating

texts:
After updating EE from 2.6.1 to 2.7. the Content Elements Richtext-field lost the formatting buttons. I updated CE to 1.5.5 but the buttons are still missing.
When I add a standard EE Richtext field the buttons are available.
I installed and uninstalled CE but that didn´t help.


texts: Not displaying an entry that is in a certain category but also in other categories

texts:
We're trying to display certain elements based on whether they are in a category or not.

We have the following:

Type Category group

Type1
Type2
Type3

Range category group

Range1
Range2

I want to display all of Type 1 in a page, all of Type 2 in a page and all of Type 3 page. However I don't want Range2 items to show up on these pages.

We've used code like this (1 is Type1 category ID and 5 is Range2):

{exp:channel:entries channel="product" category="1 not 5" dynamic="no" orderby="title" sort="asc"}

The problem we have is that if an item is part of Type1 and Range2, it'll still show up. Which is correct according to EE documentation (https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_entries.html#category), however how can I go about making this work the way I want to? Is it possible with standard EE or do i need an additional module installed?


texts: Importing Data from MediaWiki to Wiki Module

texts:
I am currently using MediaWiki on my current site. On my new site I will be using ExpressionEngine and was wondering if there was an easy way to import data over to the Wiki Module http://ellislab.com/expressionengine/user-guide/modules/wiki/index.html

How should I pursue importing data from MediaWiki to the Wiki module in EE?


texts:
This is the first time trying this with Freeform 4 but I don’t see any reason why this shouldn’t work.

I have a basic contact form:

{exp:freeform:form
form_id="2"
ajax="yes"
required="name|email"
return="embeds/thankyou"
form:class="contact-form"
form:id="contact-form"
}

<fieldset>
    Name
    <input type="text" id="name" name="name" class="form-text" />

</fieldset>

<fieldset>
    Email
    <input type="email" name="email" id="email" class="form-text" />
</fieldset>

<fieldset>
    Message
    <textarea id="message" name="message"></textarea>

Tell us if you'd like to adopt a dog or support us.

</fieldset>

<fieldset class="form-actions">
    <input type="submit" class="btn--orange  btn--x-large" value="Contact" />
</fieldset>

{/exp:freeform:form}

and it works fine without Ajax. Form gets submitted, email gets sent, user gets redirected. I add my JS into the mix (adding my jQuery and plugin call before it)

$('#contact-form').ajaxForm({
    target: '#contact-thanks',
    success: function() {
        $('#contact-form').hide();
        $('#contact-thanks').fadeIn('slow');
    }
});

the form submits, email gets sent but the success message doesn’t load into the placeholder.

Is there anything glaringly obvious I’ve missed? This did work on other sites albeit they were using Freeform 3.


texts: How to set the default template group in index.php

texts:
I'm running multiple domains/sites with one EE install without using MSM (I don't need the power or complexity and to save licence fees).
I have copied the index.php file to the subsidiary domain and edited the Custom Config Values as per instructions.

$assign_to_config['template_group'] = 'ocoach';
$assign_to_config['template'] = 'index';
$assign_to_config['site_index'] = 'http://www.xyz.co.uk';
$assign_to_config['site_404'] = 'ocoach/404';

I want to have url's like:
domain.co.uk/item/url_title
domain.co.uk/category/category_url_title

I've created a template group called ocoach and templates within in called, index, item, category, 404. I've got seg2cat installed.
But I get the 404 page when I use either of the above url's.
If I go in and tick the "Make the index template in this group your site's home page?" it all works.
But if I want to have multiple domains using different template groups I can't set the default in the EE control panel.
I thought that setting it in the index.php file in each domain would override the control panel, but it doesn't seem to make it the default, just the one to use.
I've searched around and can't find mention of setting the "default_template_group" as a config variable.


texts: Does Playa Children tag support the Categories variable pair from EE Channel Entries module

texts:
The below code is parsing the Title & ENTRY ID variables but not the categories pair. The Playa documentation says it supports "nearly all" variables etc for the EE Channel Entries module.

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

{title}

{entry_id}

{categories}{category_name}{/categories}

                        {/exp:playa:children}


texts: Conditional to check if a field exists for a channel

texts:
Is there a way to check if a field with a certain short name exists for a given channel? I'm not checking if a field is left blank, but if it even exists in the field group.

Currently, this only checks for it being blank, but not if it exists. I'm sharing a template for a few channels, but certain fields aren't mirror images of each other per-channel.

{if {segment_1}_code}{{segment_1}_code}{/if}


texts:
Ok so here's my idea. I have a site, and for example it's going to have multiple channels with relational data... So like a Cars channel and a features channel. The features will be tied to the cars with Playa. Now I'd like to create a Module that will interpret this data and do stuff with it but for sake of ease is it possible to easily grab the car data including all of it's features in a php object.

I know I could join everything but I was thinking there might be an easier way? Basically the the more detailed version of this is that I will be using the data to generate forms and make calculations in PHP so simply dropping them into a template won't work. I need to somehow access the data as a PHP object. I'd love to be able to drop the entry ID and pull all the data into an array or object...

Let me know if this is possible without manually Joining every field. Thanks!


texts:
RE: Parsing JSON in EE tag

Can anyone help out here? It seems that since EE uses { and } that it interperets JSON as an EE tag.

I need to pass JSON to a plugin, how is that possible?


texts: If statement not working using a nested relationship field

texts:
I am having a bit of trouble with a relationshop field nested inside a grid.

I have the following data structure.

|-Products
|--product_where_to_buy (relationship field for partners)

|-Partners
|--partner_retail_urls (grid field)
|----product (relationship field with products)
|----url (url to purchase page)

What I want to do is filter the partner retail urls by product but it doesn't work no matter what I try.

This returns all results.

{product_where_to_buy status="open|closed"}
    {product_where_to_buy:partner_retail_urls search:product:title="product name"}

{product_where_to_buy:title}

    {/product_where_to_buy:partner_retail_urls}
{/product_where_to_buy}

This crashes the template parser

{product_where_to_buy status="open|closed"}
    {product_where_to_buy:partner_retail_urls}
        {if product_where_to_buy:partner_retail_urls:product:title == "product name"}

{product_where_to_buy:title}

        {/if}
    {/product_where_to_buy:partner_retail_urls}
{/product_where_to_buy}

Error

You have an invalid conditional in your template. Please review your conditionals for an unclosed string, invalid operators, a missing }, or a missing {/if}.

Parser State: Unexpected ‘href’ (VARIABLE); expected RD in Template “products/index” on line 3.

Am I missing something or am i just going about it the wrong way?


texts:
I am using ExpressionEngine 2.8.1. I have a set of basic permissions for my EE posts.

Draft
Awaiting Approval
Rejected
Open

I have 2 key types of user: -

Contributor
Editor

I have limited the Contributor to only be able to set the status to :-

Draft
Awaiting Approval

The Editor can set the status to: -

Draft
Awaiting Approval
Rejected
Open

The problem is that I want to prevent the Contributor from being able to see / edit posts that are in the 'Awaiting approval' status. The should be able to set a post to this status but after doing so be unable to make further changes to the content unless the status is change by and editor to 'rejected' or 'draft'.

I would also like to prevent them from being able to editing posts in the 'open' status as this effectively sets the status to 'draft' as the don't have permission to submit to the 'open' status.

As a secondary consideration it would be ideal if a contributor could edit a post that was set to 'open' but that it would not be made live until approved by an editor.

How can I achieve this in expression engine? This is such a standard workflow for content that I'm sure I must be missing something. Any and all help appreciated.


texts: Solspace freeform composer fieldtype - inline errors

texts:
I couldn't see it in the docs - is there a way to do inline error handling with a Freeform Composer form when you've selected the form in a fieldtype? I want the authors to be able to add a form of their choice to a page by selecting the form in the dropdown, but also have the error handling done inline.

The docs simply suggest using the field's short name which outputs the form, but the errors go to the ugly error screen and the info added is lost when you go back.

I can see there's a {exp:freeform:composer} tag, but I'm not sure how to grab the relevant form ID from the selected option in the fieldtype?

Cheers


texts: Modify Solspace importer for email is not required

texts:
I might need to hack Importer to make it allow importing members without requiring an email. Is it even possible ?

(related to this question)


texts:
I am trying to figure out a way to set to variable values depending on if a specific segment is a number or not.  First how to I check if the segment 2 is a number or not?  I want to apply this type of logic

if segment_2 is a number
    {exp:stash:set name="this_url_title" value=""}
    {exp:stash:set name="this_entry_id" value="{segment_2}"}
else
    {exp:stash:set name="this_url_title" value="{segment_2}"}
    {exp:stash:set name="this_entry_id" value=""}
end

Then use the 2 variables in a channel entries tag like so.

{exp:channel:entries channel="news" dynamic="off" entry_id='{exp:stash:get name="this_entry_id"}' url_title='{exp:stash:get name="this_url_title"}' parse="inward"}

So I can either pass an entry_id or a url_title in the segment to view the channel entry.

I tried hard coding the stash variables and passing them in the entries tag but I get no results.  I tried hard coding them to this:

{exp:stash:set name="this_url_title"}{/exp:stash:set}
{exp:stash:set name="this_entry_id"}123{/exp:stash:set}


texts:
I'm using ExpressionEngine v2.7.2 and Wygwam v3.2.2 and I want to be able to add a custom template to the toolbar, to be able to add custom markup.

I've looked at the documentation for both CKEditor and Wygwam, but it's so confusing.

I see that under third-party/wygwam/ckeditor/plugins/templates/ there are two folders, dialogs and templates. And it looks like the folder templates is the one that is the default one. What are the steps I need to go from here?

In my Wygwam configuration in Expression Engine CP, I can add Advanced Settings. But should I choose templates or templates_files? If I choose template_files, this is filled out by default: plugins/templates/templates/default.js

This I reckon is the file from third-party/wygwam/ckeditor/plugings/templates/?
Would that mean that I can just add plugins/templates/myCustomTemplate/default.js

I have already tried that and it comes up blank when I click the button in the wygwam editor. This is really confusing, any pointers?


texts: Amazon Web Services (AWS) Products plugin Error

texts:
Having an issue w/ this EE add-on where if an Amazon product isn't found with a specific ID I get this error:

You have an invalid conditional in your template. Please review your conditionals for an unclosed string, invalid operators, a missing }, or a missing {/if}.

Parser State: Unexpected end of Template “article/index” on line 157; expected ENDIF tag for opening on line 46 in Template “layouts/.html-layout”.

Here's how I'm using the tags in my template:

{if amazon_product_asin_or_isbn}

  {exp:aws_products:search
    item_id="{amazon_product_asin_or_isbn}"
    associate_id="{associate_id}"
    public_key="{public_key}" private_key="{private_key}"
  }

Related Product:

{product_name}

{catalog_type} | {publisher}

    {best_price} on Amazon

  {/exp:aws_products:search}

{/if}

I then tried using this if statement within the tags to only render the product panel if there is a product found:

{if aws_count > 0}   {/if}

But then I get this error in the template:

Severity: Notice

Message: Undefined index: !-- ra:000000003bf7ea8400000001087a7b32 --

Filename: aws_products/pi.aws_products.php

Line Number: 237

It seems like any if statements within the tags break the plugin. So how can I integrate the tags in a way that detects if there's a valid product ID filled in without totally breaking the page?

Using AWS Products 3.1.0 on EE 2.9.2


texts:
I want to add the YouTube button to Wyvern fields. I enabled it in Wyvern's config.php:

    'Styles' => 'no',
    'Syntaxhighlight' => 'no',
    'YouTube' => 'yes',

etc...

placed the YouTube plugin in the correct folder
http://ckeditor.com/addon/youtube

and added

config.extraPlugins = 'youtube';

to CKEditor's config.js.

The button shows up in Wyvern's config screen in EE, but does not show up in the Wyvern fields.


texts: Is there a library, class or method that an addon can access to be able to delete members?


texts: ExpressionEngine 5.3 - Retrieve URL_TITLE from a different channel

texts:
I've done some searching but I haven't found an answer. Or if I have it was a little over my head and I may have missed it.

I'm working on a website that has a catalog of specific publications. Essentially, I want to show, first, a list of available titles. As far as I've ready the only way to show one of each title, and not each entry, is through an {exp:query SELECT DISTINCT...} string. That's fine. That's getting the single entry from each of the available titles. (For more information, I'm returning all of that information as inline elements so they'll be arranged nicely on the page.)

So, here's the issue I'm seeing; the exp:query pulls from exp_channel_data_field_15, which does not contain the URL_Titles.  If I run an {exp:channel:entries...} tag within the tags of the query it just returns everything in the channel. I tried to filter it out by only getting one that looks for the specific entry_id, as they match, but I haven't been able to modify the SQL query to include that and still only return the single result per title.

I looked into relationships, but since this is a query function I don't think it will work?

So, to recap. I have a channel that has a list of publications (multiple issues of multiple titles) that includes URL_title. I'm not able to generate the only-unique entries of the title names without the exp query. But that exp query runs on a record that doesn't have the url_title.

Is there a way to do this that I'm overlooking? Is there another way to list the unique title entries to only show one of each title that I'm not using?


texts: Generate a PIN per member to access specific area on site

texts:
I'm looking for ideas on how to implement this, even if it means building stuff custom. Basically, the flow goes like this:

A visitor goes to the site and wants access to some downloadable content
Visitor has to submit contact info (think lead-gen form) to get a 4-digit PIN
4-digit PIN should be auto-generated per visitor/form filled out
4-digit PIN is used by visitor to "login" to downloadable content area
If visitor forgets their PIN, a "forgot PIN/password" function is needed.

Obviously, this sounds like member registration with custom fields (using Zoo Visitor most likely) would do the trick, but the gotcha is with the 4-digit PIN - it must be 4-digits/characters and it must be auto-generated for the visitor and subsequently emailed*.

Also, when logging in to the protected area, all that should be entered is a PIN. No username. (Is that possible?)

Is there an add-on that will auto-generate the PIN and send the email upon successful sign-up? Any other ideas also welcome. :)

*I realize that sending PINs/passwords via email is a security no-no but it's needed in this case and there's no personal data accessed on the front-end of the site.


texts: Playa select not displaying content after upgrade EE1 to EE2

texts:
I've upgraded from EE1 to EE2 and downloaded the latest version of Playa for our project.

Upgrade seemed to go as planned as the admin is all cool and drop panes and selects display the correct data etc.

The drop panes fields display perfectly on the front end templates but for some reason the fields using selects do not display on the front end. The select is showing the correctly selected channel entry in the admin though which is strange.

The database is showing the following data in the field:

[15278] [aquaforce-awards-2012] Aquaforce Awards 2012

Which all seems good but my frontend template tags spit out nothing.

Cheers
Jonny


texts: Is it possible to bypass required fields when using {freeform:submit_previous}

texts:
I've got an issue with Solspace Freeform whereby the required field error message is being triggered if the user chooses to go the previous page without entering any information on the current page. Is there any way to bypass this?

I already have a custom extension created which uses the freeform_module_insert_begin hook and contained within is a conditional for submitting to a previous page. Is there a function, or something, that I can use here to bypass the required field?

<?php
function checkup_method( $inputs, $entry_id, $form_id, $obj ) {
    if ( ee()->extensions->last_call !== FALSE ) {
        $inputs = ee()->extensions->last_call;
    }

    if ( get_class( $obj ) == 'Freeform' ) {

        $submit = 'submit';
        if ( isset( $_POST['submit_to_previous'] ) )
            $submit = 'previous';

        if ( $submit == 'previous' ) {

            // Custom code

        }

    }

    return $inputs;

}
?>

Thank you.


texts: Exp-resso Store: Shipping Country Options

texts: How can I grab store's shipping country options in a template without a store tag? I would like to use them in a custom signup form.


texts: Member Profile Templates' Language Location?

texts:
I can't seem the find the location for the member profile templates' languages.

I'm building a front-end type of control panel for members. It's based off of the default member templates that come with EE, and I am customizing that. What I want to do is change the standard language used for all the member template functions.

For example: {lang:username_and_password} outputs "Username and Password". Or {lang:edit_profile} outputs something like "Edit Your Profile".

I need to change what those language terms render. I've looked inside the control panel found settings that I thought would change this, but only seem to affect the back-end control panel language, not the front-end member profile templates.

Can't find similar questions on here, or topics from EE manuals.


texts: Solspace Tag 4.2.6 Update Broken with EE 2.8.1

texts:
I just downloaded the latest update for Solspace Tag 4.2.6 and immediately received the following error:

Fatal error: Call to undefined method stdClass::userdata() in /projects/myproject/system/expressionengine/libraries/Csrf.php on line 391

Reverting back to the previous version (4.2.5) resolved the issue. There is something broken in the update.


texts: File Upload urls have //chroot added to the url

texts:
I'm using the FocusLab Master Config set up which may be relevant. I haven't had any issues previously like this however.

I'm in the middle of migrating from Dev to a new live server and 90% of images on the site are not displaying due to incorrect urls being output.

For example:

should be

When I check the file upload settings in the CP the path and url are correct, but on the front end the url is incorrect.

I can't figure out why /uploads is being replaced by //chrootuploads Of the five slides only one is being output correctly and resized with CE_image. Eveything else is doing this weird behavior and only on the live server (php 5.3.24).

Any ideas?

also interestingly random pages do not load - not even the 404 page, just a blank white screen


texts:
Is it possible to get a cron job url in order to update the IP to nation database?

I could use the url used in the ajax call when updating the database manually. But it requires an active session.


texts:
We have just started to reuse our renewals templates for 2016. Last year everything worked successfully and we processed thousands of transactions. I have just carried out a few tests and i'm getting an error in the models/more_event_cp_data.php program.

Can anyone identify the likely cause?

The code in question is as follows:-

public function get_event_tx($event_tx_id='')
{
    $this->EE->db->where("id", $event_tx_id);
    $q = $this->EE->db->get("moreevents_tx")->row_array();

    $c = MoreEventCurrency::get($q['currency']);

    $q['amount_paid'] = $c['htmlEntity'].number_format($q['amount_paid'], 2);
    $q['price'] = $c['htmlEntity'].number_format($q['price'], 2);

    $str = "
";
    foreach(unserialize($q['attendees']) as $attendee){
        $str .= "
". $attendee['name']."
";
    }
    $str .= "
";

    $q['attendees'] = $str;

    $q['raw_response'] = "
".print_r(unserialize($q['raw_response']), TRUE)."
";
    $q['last_activity'] = date("r", $q['last_activity'] );

    unset($q['success_template']);
    unset($q['fail_template']);

    return $q;
}


texts:
Having textareas with markdown formatting is appealing to me but not everybody is as positive as I am.

Using the HTML buttons could perhaps make the experience a bit more gentle. Editing the H1-6 buttons seemed to be a no-brainer at first. But if I could figure out how to have those buttons append a new line to the headings I would have to handle a lot less complaints about how stupid Markdown is when Wordpress has wysiwyg-editors like Word...

So. Is there a way to achieve a new line with the HTML-buttons?

/David


texts: Unresolved error with EE 2.10.1 and MimeType.php

texts:
I'm getting the same error as this question:

  Fatal error: Call to undefined function
  EllisLab\ExpressionEngine\Library\Mime\finfo_open() in
  /home/foo/bar/EllisLab/ExpressionEngine/Library/Mime/MimeType.php on
  line 117

There are two suggestions offered (originally from an Ellis blog post):

  Login to your CP and go to Tools, then Utilities, then PHP Info. If you see --disable-fileinfo on that page (I recommend using your
  browser’s search function) then you will need to contact your host and
  have them provide a version of PHP with fileinfo not disabled (i.e.
  enabled).
  Check your system/expressionengine/config/mimes.php file. If it does not contain $whitelist = array around line 31 you will need to
  upload a fresh copy.

... but I've checked both of those, and I'm still getting the same error. Any other suggestions?

I'm in a fresh install of EE 2.10.1, on a Dreamhost server running PHP 5.6.10.


texts: Login Problems @ Control Panel after installing Forum software

texts:
I am using EE 2.9 on my localhost and have just installed the forum software that I purchased a few hours ago. Everything seemed to be simple enough and I am sure that I put all the right stuff in the correct folders. When this was done, I tried to get into the admin area to complete the installation but was unable to do so. I can bring up the admin login page ok, but after I input my details I get the error message shown in the attached GIF image.
Can anyone help with this ?


texts:
I have read ExpressionEngine documents and I am fairly comfortable while creating plugins. However I had a requirement in which I wanted my plugin to output data as a template tags. Like,

{exp:awesome_plugin}
    {awesome}{awesome} {!-- outputs the data set for awesome tag. --}
    {really}{really}
{/exp:awesome_plugin}

Is this possible?


texts: htaccess redirect from non query url to query url

texts:
I'm trying to redirect a url from a non-query version to a query version with EE.

I can get the redirect working properly on a .php flat-file, such as:

RewriteCond %{QUERY_STRING} ^$
RewriteRule ^test.php$ /test.php?var=1&var=2 [R=301,L,QSA]

However, I can not get a normal EE url like this to work:

RewriteCond %{QUERY_STRING} ^$
RewriteRule ^testpage$ /testpage?var=1&var=2 [R=301,L,QSA]

I suspect it has to do with how EE handles queries.


texts: CartThrob - Changing Order - Re-process?

texts:
I am pretty sure I know the answer to my question but wanted a second opinion.

A client asked 'If we change/add to an order already entered, will these changes be re-process through the payment gateway'. I am 99% sure no, but I thought I should check.


texts: Display a message on visitors first visit

texts:
I am wanting to display a message when a visitor lands on the site for the first time.

I don't necessarily want to use browser cookies, but would if thats the only solution.

Ideally, would I be better off storing an IP of a visitor in the db?

Something to this effect:

{if first_visit}Welcome Message{/if}


texts: Is there any way to strip inline styles added by the client?

texts:
My client has an incredibly bad habit of adding inline styles to tons of elements on the page. One of the many reasons I was hired to do this job is because of my focus on semantics, yet they still choose to do things like this.

Is there any way to strip style attributes from elements when they submit the entry? I'm currently using WYGWAM, if that helps.


texts: Allowing users to mark any entry on the site as a feature

texts:
I'm building a site with approximately 5 different channels and five different field groups. The home page of the site has multiple "feature" areas that can feature any of the entries from any of those channels. I need a way to allow users to "flag" an entry as a feature for the home page, then for an admin to take that entry and place it in any one of the 5 feature areas of the home page.

I have the second part of this equation (the admin placing the feature) figured out — I'm using Low Variables and Playa for that and it's amazing. It's the first part (users flagging entries as features in the control panel) that I haven't been able to hammer down a great method for.

As I mentioned, any one of the 5 or so channels can have entries flagged as a feature, and each of those channels has a different field group. When flagging any entry as a feature there are a few required things:

Feature Image
Excerpt
Department

That goes for any entry in any channel. The tricky thing for me is the fact that I can't have similarly titled fields in different field groups.

Any ideas on ways to pull this off so it's not a convoluted process for the user?


texts: Call a variable from a module that was created in an extension

texts:
Is there any way to pass a value from an extension to a module or a plugin in ExpressionEngine?

I created this very useful extension to take advantage of the expresso store module:

<?php

use Store\Model\Order;
use Store\Model\OrderShippingMethod;

class Credit_tracker_ext
{

    protected $ee;
    public $name        = 'Credit tracker extention';
    public $settings_exist = 'n';
    public $hooks          = array('store_checkout_form_validation', 'store_order_shipping_methods');

    public function __construct($settings = '')
    {
        $this->ee       = ee();
        $this->settings = $settings;
    }

    public function activate_extension()
    {
        foreach ($this->hooks as $hook) {
            $data = array(
                'class'    => __CLASS__,
                'method'   => $hook,
                'hook'     => $hook,
                'settings' => serialize($this->settings),
                'priority' => 10,
                'version'  => $this->version,
                'enabled'  => 'y',
            );
            ee()->db->insert('extensions', $data);
        }
    }

    public function disable_extension()
    {
        ee()->db->where('class', __CLASS__);
        ee()->db->delete('extensions');
    }
    public function settings()
    {

    }

    public function store_checkout_form_validation($str, $obj)
    {

    }

    public function store_order_shipping_methods(Order $order, array $obj)
    {
        if (ee()->extensions->last_call !== false) {
            $methods = ee()->extensions->last_call;
        }

        $option = [];
        foreach ($order->items as $value) {

            $option = new OrderShippingMethod;
            $option->id = $value->entry_id;
        }

        $methods[$option->id] = $option;

        var_dump($methods);

        return $methods;
    }
}

I'd like to set up the object $method as a global array, to access it from another file, in another moment.

To clarify this point, the extension in this system is called at a certain point of the code, and the function that fires the extension is called hook, like in WordPress.

So essentially, I'd like to call the variable that I returned within another file (for example mod.credit_traker.php), where I can simply call the variable $methods.

Anyone who had this problem before?


texts:
I'm using the flexslider to create a carousel of pictures and use channel entries to populate the list items (images) that the flexslider uses to create the carousel.

Now I want to add a link to a pdf on al those list items that I have in a matrix field in the channel and that works also but only for the first list item.

Anybody nows why this is?

        {exp:channel:entries channel="lr_press"}
            {if press_slider_switch != ""}
            {press_artikel}

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


texts: Set price with product modifiers (not + or -)

texts:
I sell a product that the customer can either pay full price, or pay a down payment and then (outside of EE) make payments.

What I'd like is to have options/modifiers:

"Full price" = (no price adjustment)
"Down payment" = (set price to $100)

Is this possible without having to manually calculate {price}-x="Down Payment"?  From what I can tell, I can only add or subject from {price}.

I read this: Change price with modifier, instead of + add to price, however that would break sorting/searching by price since Store would consider them all to cost $0.

Thank you!


texts:
I'm missing something really simple... I have an MSM site that is subdomain.domain.com. These really simple .htaccess rules work ... kind of.

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

RewriteCond $1 !\.(gif|jpe?g|png|swf|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

The template routes work fine. For example, I have set a home template group at pages with index and non-index named templates. If you visit subdomain.domain.com/pages/index, it works just fine. Same with subdomain.domain.com/pages/non-index.

Now, I've set the pages template group to be the site home group, remember:

Make the index template in this group your site's home page? **Checked !!**

But when I visit subdomain.domain.com, I get:

Error

The page you requested was not found.

Soooo... these routes all work:

https://subdomain.domain.com/index.php/ ->
    loads pages/index

https://subdomain.domain.com/pages ->
    loads pages/index

https://subdomain.domain.com/pages/non-index ->
    loads pages/non-index

https://subdomain.domain.com/index.php/pages ->
    loads pages/index

https://subdomain.domain.com/index.php/pages/non-index ->
    loads pages/non-index

But yet the pages/index doesn't render on the homepage. I get the EE page not found error.

I've made sure my site_url is set to https://subdomain.domain.com, and that the name of my site index is blank.

I've tried a few variations on the last RewriteRule line (adding the question mark), but those either render the same or result in the issue where only the homepage renders for URLS (so https://subdomain.domain.com DOES load pages/index, but so does https://subdomain.domain.com/pages/non-index).

Like I said, I've tried a bunch of variations of rules to remove index.php and a variation of rules to route everything to index.php after removing it. Any one notice anything stupid I'm missing?

Edit
Like I mentioned, modifying the last rewrite to something like:

RewriteRule ^(.*)$ /index.php?/$1 [L]

# or
RewriteRule ^(.*)$ /index.php?$1 [L]

# or (subdomain.domain.com is a folder in the web root)
RewriteRule ^(.*)$ /subdomain.domain.com/index.php?/$1 [L]

# or
RewriteRule ^(.*)$ /subdomain.domain.com/index.php?$1 [L]

# or any of those with the QSA flag

results in the issue where only the site index template renders.

Edit Last edit:

Here's how I load my subdomain folder from my main web root so this subdomain loads the MSM subdomain site. This is at the top of my web root .htaccess file.

RewriteCond %{HTTP_HOST} ^subdomain.domain.com [NC]
RewriteCond %{REQUEST_FILENAME} !subdomain.domain.com/
RewriteRule ^(.*)$ /subdomain.domain.com/$1 [L]

That has worked fine in other sites I've worked on and looked at.


texts:
For an EE3 site, I'd like to split a CSV or pipe delimited string (i.e. avi,david,sam or maybe avi|david|sam) and have each segment added to a Stash list.

I've looked at BBD Stringer ($6) on Devot-ee thinking I might be able to use it to break up the string and then stash each value in a list but it seems to be a bit more basic: that it just breaks the string apart but not as tags which could be passed into an {exp:stash:set_list} tag pair.

Any thoughts?


texts: Multi Site Manager gives 404 when using Sub Folder

texts:
We have setup Multisite Manager but we are not using sub-domains, we want them in sub-folders. The EE instructions do not reference this setup, only domains and sub-domains. Its not working for us, accessing a page on the site causes the default site 404 to kick in. We are using the Pages module, so segment_1 would refer to the site_url.

We have configured all the necessary settings in the instructions.

We have also added into Site 2's .htaccess file

RewriteBase /subfolder/

Note: Site 2's home page works fine. Its just pages. Template Groups are not called either (for example /news) so I don't think its a Pages issue.

Further, it seems Pages, being a module, is not copied when duplicating a site. Pages is empty, no templates are assigned. Although an old post, it is referenced here:
http://ellislab.com/forums/viewthread/177005/#839555

Looks like I have to manually set it all up again, and edit each page. I did this but it still does not work.

I do not have a Template Group named as my sub-folder.

Anyone know any extra configuration steps for sub folders?

Thanks


texts: Template Routing, display both a specific channel entries and a couple of index pages on the root URL '/"

texts:
Using Expressionengine 3.5.11

I need to display the entries from a specific channel, thus '/entry-url', this is obviously not difficult, however I also need to display an index page for a couple of other channels at the same URL level, thus

'/news'

'/services'

which would then work thus:

'/news/{entry}'

'/services/{entry}'

I could use an 'if' statement to check for these two first, and if they are not part of the request, then direct the user to the specific channel page, but this would require a change to the if statement every time a new channel is added, I'd like a solution where new channels can be added with no need to update the if statement.

I'm pretty sure this isn't possible as specific filters are required to route to 'news' and 'services', or is there a way?


texts: Automagically or force logout after 60 seconds

texts:
I have an EE3x site that is running User, Cartthrob, Transcribe, CE Cache (there is a lot going on) and I need a way to be able to automagically log-out users after 60 seconds of inactivity.

The issue is, this company uses tablets in their offices to allow (and assist) their patients to shop (like a kiosk, but it is not an app).  And we have a security issue if the customer does not remember to log out.

Any ideas on how we can achieve this? I've looked at trying to force logout either with User or Cartthrob, but neither of those seem to have that feature either.

I've tried using sessions, but I have another issue there - the user gets logged out after visiting more than 1 other URL (does not seem to store sessions, or maybe a CE Cache conflict?).

This really is exactly what I'm looking for, but it is only for up to EE2x :/
https://www.putyourlightson.net/logmein/docs
has a simple {exp:logmein:logout} tag to place in a template.


texts: How to prevent specific pages from being moved/deleted within Structure?

texts:
I am using the Structure plugin and would like to prevent certain pages from being moved/deleted by certain user groups.

Is there a way to define this with either structure or ExpressionEngine itself?


texts:
I am showing past events for visitors to reference old performances by using  'show_expired="yes"' however the page got very big so I used pagination to break it up. I also use {if expiration_date < current_date} content {/if}, so only past show are shown.

When I employ pagination, I  get large blank spaces on the first page where the current content wants to show, but I don’t want it too show. How do I disable the pagination from wanting to try and show blank spaces where the current shows are trying to show.

{exp:channel:entries channel="now_playing"  show_expired="yes"  limit="3" paginate="bottom"}

{if expiration_date < current_time}
 content of paage includes description and photo of past shows
 {/if}

{paginate}

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

{/paginate}


texts: Redirecting from old Wordpress URLs — getting query strings

texts:
I'm migrating the content of a Wordpress blog to EE. The old blog has this URL structure:

/news/2012/08/08/2013-schedule/

And I need to redirect to this:

/news/post/2013-schedule/

At the moment I am using this .htaccess redirect:

RedirectMatch 301 /news/([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ /news/post/$4

But it's resulting in this URL:

/news/post/2013-schedule/?/news/2012/08/08/2013-schedule/

This is not the end of the world, because I get the right results, despite the extra URL segments, but I'd really rather they went away.

Any help?

FWIW, I'm using the EllisLab-approved redirect method for removing index.php.


texts:
I'm running assets2, connecting to some S3 buckets. At the moment we're transitioning between one set of buckets and another, so I would expect our index to be twice as big as it will eventually be. But recent dumps of the database seem to be growing exponentially (it leapt from 10.4Mb to 40Mb in a week and there's an editorial team of one working on the build!) and I think it's the assets_index_data table - a snapshot this morning tells me that it has 3,045,452 rows.

I'd be surprised if we had 10,000 images in these collective buckets, so I can't figure out why that table is so gargantuan - surely it can't be right? It contains big groups of rows that all have the same session id - it's almost as if every time it indexes the buckets, it creates new rows rather than updating existing ones, leading to an enormously bloated table.

Of course I may be completely wrong and perhaps it needs to be this big, but it doesn't seem right and can't continue to grow this way!


texts: Searching by both keywords and categories with Low Search

texts:
Had a bit of a search through the different questions on here already but it seems that nothing matches what I'm after. Using the example template from the documentation i can get low search working just fine with keywords only.

My issue however is that i need to be able to search both entry title (keywords) AND category. For example - searching all entries that contain the keyword "manager" but also the category of "north london".

I have a single collection which looks at the correct channel and what not but i still feel like I'm missing something.

Is this something that is possible with low search? or am I just being blind and or misinterpreting the documentation.

Template code below:

           {exp:low_search:form required="keywords"}

                        <input type="search" name="keywords" placeholder="Job title / Keywords" />

                        <select name="category[]" class="search-location">
                            <option value="">Location</option>

                            {exp:channel:categories category_group="5" style="linear"}
                                <option value="{category_id}"{if low_search_category ~ '/\b'.category_id.'\b/'} selected{/if}>
                                    {category_name}
                                </option>
                            {/exp:channel:categories}
                        </select>

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

            {/exp:low_search:form}

EDIT: Added results tag below:

{exp:low_search:results query="{segment_3}" channel="practice-careers" keywords:lang="en" keywords:inflect="yes" limit="10"}


texts: Install lock in the config file, what does it do?

texts:
I notice there is a line $config['install_lock'] = ""; in the config file but I cannot find any reference to this in the docs.

What does this do exactly?


texts:
I get this message in the CP trying to set Safe Harbor settings: Failed to save settings on http://eeharbor.com. Make sure your website is publicly accessible.

The site is publicly accessible and passes the Safe Harbor compatibility check.


texts: Safecracker Registration, Low Search, and Member Fields

texts:
I'm using Safecracker Registration so I can leverage Channels for Member fields. Since EE's Member already have certain fields, should I use those whenever I can instead of defining them as Channel fields? For example, there is a "bio" field in the Member fields. Should I use that or should I define that as a field in my Channel?

I need to implement a search feature and am planning to use Low Search. I will end up having to search these fields whether they exist in the native Member fields or in my Channel. Given this search requirement, which route should I take regarding these Member fields? Use EE's native Member fields or put them in my Channel?


texts:
I am coding a plugin for our company's stock price. I am determining growth as such:

public function __construct(){
   $this->EE =& get_instance();
   $fp = fopen ("http://finance.yahoo.com/d/quotes.csv?s=EDR&f=sl1c1pohgv&e=.csv","r");
   $retData = fgetcsv ($fp, 1000, ",");
   $this->return_data = round($retData[2]/$retData[3]*100,2);
}

where $retData[2] is "change" and $retData[3] is "previous close."

My returned data is something like -0.19% which I can output in a template using {exp:edrstock}%.

Now the question:
I need to create a conditional set of if/else tags so that if the number is negative I output it in a div with a class of "negStock" or if it is even, I output it in a div with a class of "evenStock" and if it is positive, I output it in a div with a class of "posStock."

By the way, the class will determine what color the text is and whether or not it appears in the header (positive) or the footer (even or negative).

I would appreciate any guidance as I am teaching myself EE from a book and would like to learn this the right way.

Thanks in advance,
Jon


texts: Converting FF Checkbox Group to native or P&T checkboxes

texts:
I'm converting an EE 1.x site to the latest 2.x version and have run into a problem where FF Checkbox Groups were used which stored their data as a serialized array whereas both the native and P&T checkbox fieldtypes aren't.

What are my options for upgrading/changing the data?


texts: Can't edit Freeform Pro entries via the CP

texts:
I am having an issue with editing entries via the CP.

When I change something (a text field) and hit submit, I get the spinner png for a second or two and then nothing. If I manually reload the page I can see the edits didn't stick. I don't see any console errors.

I upgraded to the latest of everything, still no luck.

Runnin:

EE 2.7.0
Freeform Pro 4.1.2

Any help would be great.

Thanks,
Adam


texts: Unwanted paragraph tags added around checkboxes fieldtype in template

texts:
In my template, I have this code:

{categories backspace="2"}{category_name}, {/categories}{if habitat_category_other} ({habitat_category_other}){/if}

When rendered in the template, it is converted into:

Monarch Waystation, National Wildlife Federation, Other
 (Monarchs Across Georgia)

which gives an odd line break.

How do I get rid of these automatically added paragraph tags? I don't see anything about this in the documentation for the categories tag pair.

Thanks!

CORRECTION:

The problem is actually occurring with a different line of code (not the categories tag -- although I will have to check that one now, too, because it's probably also malfunctioning). The offending line is:

{habitat_programs}{if habitat_program_other} ({habitat_program_other}){/if}

where "habitat_programs" is a "Checkboxes" fieldtype. How does this change the answer if it's not the "Categories" tag pair?


texts:
I moved an ee page to the live server and now the subpages of the site don't work anymore.

I disabled the index.php removal directive and added index.php in the cp Panel.
But that didn't help so it can't be a htaccess issue.

I use the Multilanguage Plugin by Bieber ltd. Im not sure if this is caused by the multilanguage plugin because tha language switch works.

How the heck can I find out this problem.

Also on my mamp environement it works all fine so it could be a server issue.

The site runs temporarily on a subdomain. Could this be the issue?

The page can be viewed here


texts: Editing entry in backend: "The file cannot be found"

texts:
When I try to edit one specific entry in the CP I get the error "The file cannot be found".

The URL the CP produces is something like
www.xyz.com/admin.php?S=0&D=cp&C=content_publish&M=entry_form&channel_id=5&entry_id=4616

That's exactly the same URL-structure as in every other entry when edited (except for the entry_id).

The entry is published and can be viewed correctly. In the database I see the entry correctly with something like

SELECT * FROM `exp_channel_data` WHERE entry_id = 4616
SELECT * FROM `exp_channel_titles` WHERE entry_id = 4616

When I turn on "output and debbuging" in the CP I get absolutely no output, just the Message

  An Error Was Encountered
  The file cannot be found

(When I edit other entries the output and debugging produces output at the and of the page.)

The guy from the hosting-company says that he doesn't find anything in the server logs which could be related to the problem.

I had the problem with one entry about half a year ago. I ende copy-paste from the database in a new entry.

So anybody has any idea what this strange error could be?
Thanks in advance!


texts: Can Super Search not log searches done by me?

texts:
I have been doing a lot of testing of the search feature recently (if you haven't seen my 5 or 6 recent other posts with Super Search questions), and I'm realizing that I'm filling up the search log with a bunch of my own searches. Is there any way I can not log searches based on IP address, or maybe by user (if I'm logged in)?

To that End can I delete searches from the search log easily (or at all, but I'd prefer not having to go through phpmyadmin)?


texts: Expresso Store product form tag not wrapping form content

texts:
I've set up an accessory section on a product page.  The accessories are being pulled in through a Playa relationship field and are displaying in a table.  I discovered an issue when I went to add an accessory to my cart and it added the main product instead which is available on the page from a side column.  On viewing the source I noticed the form tag didn't wrap the form elements including the ad to cart button, the store javascript was injected below it though.  Here is my code.

{exp:playa:children channel="accessories" category="{category_id}" sort="asc" field="accs_inc"}

{exp:store:product entry_id="{entry_id}" return="{segment_1}/{segment_2}/{segment_3}"}
{accs_info}

    {title}
{sku}
Included as standard
    {price}

<input type="text" id="item_qty" name="item_qty" class="input-mini" value="{min_order_qty}" />

<input type="submit" alt="add to cart" name="submit" value="add to cart" class="btn btn-success pull-right">

{/accs_info}
{/exp:store:product}

{/exp:playa:children}

And this is what is served

    <form method="post" class="store_product_form"></form>

                Accessory kit
PP359
Reccomended
                5

<input type="text" id="item_qty" name="item_qty" class="input-mini" value="1">

<input type="submit" alt="add to cart" name="submit" value="add to cart" class="btn btn-success pull-right">

Can anybody help?


texts:
Is it possible to nest manually constructed checkbox/radio.. Check my code..

 {options:source_de_revenu}
                {if option_value == 'autre'}

                    <input type="checkbox" class="check-more" name="source_de_revenu[]" value="{option_value}" {checked}>
                    {option_name} :
                    Spécifier :
                        <input type="text" class="inline-input" name="sr_autre_nom" id="sr_autre_nom" value="{sr_autre_nom}">

                {if:elseif option_value == 'ae'}

                    <input type="checkbox" name="source_de_revenu[]" value="{option_value} " {checked} class="check-more checkbox-group">
                    {option_name}

 {options:sr_ae_contrainte}
                            <input value="{option_value}//// HERE OPTION VALUE IS NOT THE "nested value /////" type="radio" class="radio-group" name="sr_ae_contrainte" {checked}>
                            {option_name}//// HERE OPTION NAME IS NOT THE "nested name /////

                            {/options:sr_ae_contrainte}

                {if:else}

                    <input type="checkbox" name="source_de_revenu[]" value="{option_value}" {checked}>
                     {option_name}

                {/if}
                {/options:source_de_revenu}


texts: jQuery AJAX POST data can't be accessed via PHP

texts:
The following allways evaluates if (isset($_POST["sort"])) as false:

// Base template

// Fired on click event (no JS console errors)
$.post( "/path/to/ajax/target/", {sort: day} );

// AJAX target template (PHP enabled)

<?php
     if (isset($_POST["sort"]))
     {
       $sort = $_POST["sort"];
       echo $sort;
     }
     else
     {
       $sort = null;
       echo "no sort data";
     }
?>

I've even tried using POSTMAN to test the AJAX template with post data and it still returns false. I know the ajax works because $.get("/path/to/ajax/target/"); properly returns whatever html i put in it

Any ideas?


texts: Display 2 random entries from a channel in a random order

texts:
I have been using the following channel entries tag, thinking it was randomly selecting 2 entries from the channel on each page load, but it appears to be just selecting the first two and just ordering them randomly.

{exp:channel:entries channel="testimonials" dynamic="no" limit="2" orderby="random"}

Can anyone tell me if there is a way to grab a random 2 entries from a channel on each page load?


texts: Displaying the number of entries in a category

texts:
Is there a way to select channel, list out the categories assigned to that channel and then the number of entries in each category?

What I want is something link the below:

Category 1 - 100 entries
Category 2 - 70 entries
etc...

I've tried this, but dosn't get me what I want:

{exp:channel:categories channel="news"}

                    {category_name} ({exp:channel:entries category="{category_id}" dynamic="no"}{absolute_results}{/exp:channel:entries})

                  {/exp:channel:categories}


texts:
Disclaimer: I have already read and implemented the solution found in the ExpressionEngine 2.8.1 user guide.

My Problem: Control Panel is unstyled when viewed from any computer other than the server.

My Setup: Turned an old computer into a DIY server in my apartment, running Ubuntu Server. LAMP. Using the free core version of Expression Engine with the idea that I will create a proof of concept, then encourage my employer to buy it for the company's website needs.

Getting to the Issue: The server works. Expression Engine installed successfully and I can create channels, groups, etc. When I access the Control Panel from the server computer (in my apartment) everything shows up fine. But when I access it over the internet at work the Control Panel becomes unstyled. No CSS, no theme, just a lot of unstyled text.

Have You Tried Turning it Off and On Again: As mentioned, I already tried the suggested solution of moving cp_theme folder into the system folder, then restarting the server. Nothing changed. I have searched all over for any other solutions and have come up empty.

Please help me! How do I get the css and themeing back to my Control Panel so I can work on the website whilst away from home?

Thank you very much for your time and assistance!


texts: Save custom fields to member profile when creating member from CartThrob checkout

texts: We have a very basic checkout form in which customers are saving their profiles. Using the docs on CartThrob I've got it all working, but only the username/email fields are going through to EE member. Is there a way to pass the other fields over as well? (i.e. first name, last name, phone, etc.)


texts: How does one get a ‘soft’ carriage return in a Rich Text field?

texts:
When entering text in a Rich Text field it is sometimes desirable to have a soft return — ie. a simple line break within the paragraph rather than starting a new paragraph. In many situations (including EllisLab's own forums) a shift-return keyboard combo will give this result — but not in EE's RTE, where it starts a new para.

Typing <br> will generally achieve the desired result (although it's clunky and sometimes needs the entry to be submitted more than once before the line breaks registers as behind-the-scenes html). But if clients want an RTE field it's generally because they don't want to be typing HTML elements into their text — certainly not to achieve something as basic as a soft return/line break.

I'm sure that it is possible to create an RTE button for this but that process is not particularly simple for non-developers, and really shouldn't be required for such a basic function.

Am I missing something? Or is there really no simple way to insert a line break into a paragraph in the RTE?


texts: {path=} tag resolving correctly in one channel but not in another

texts: I generally make use of the {path='xyz'} tag within my channel entries, for all the usual reasons. However, I've realised that whilst it resolves the URL correctly in one channel (ie. www.mydomain.com/xyz) it seems to fail to do so in another (ie. the tag is rendered in the template raw, with the braces converted to HTML entities). I can't see any difference between the two channels’ preferences. Can anyone shed any light on this?


texts: Why are Wygwam and Editor inline styles corrupting on save

texts: I'm using both the Wygwam and Editor plugins however on saving an entry any inline styles (such as image width and height) appear as  Does anyone have any ideas?


texts: Select an option value with multiple options

texts:
I need to have a single option in a dropdown list that produces results from more than one value, like this:

<select name="length">
    <option value="">Any Length</option>
    <option value="3+4+5">3-5 Days</option>
    <option value="6+7+8+9">6-9 Days</option>
    <option value="10+11+12+13+14">10-14 Days</option>
</select>

For example, the first option works for 3, 4 and 5 days, but it also includes 13, 14 and 15.

I have tried numerous variations without success. Any suggestions?