JohnWBaxter
  • Member for 9 years, 2 months
  • Last seen more than 1 year ago
How to use a common template for all pages?
Accepted answer
18 votes

Well, my first question would be, why don't you have that <html> tag in your common/.head embed? Why is it separate? If you wish to have a template master page, take a look at the following ...

View answer
Field with huge amount of content
Accepted answer
13 votes

You can change the fieldtype to MEDIUMTEXT or LONGTEXT and it will work fine for your needs. But you need to be aware that that change will not be supported by EE and that future EE updates may alter ...

View answer
EE URL Structure? (For Dummies)
Accepted answer
7 votes

Ok, firstly, i would say that you really want URL's that when human read make sense and also work in a content & shop scenario, i'm not sure that having category as the first segment is optimal. ...

View answer
Is there a plugin that will strip a bit of text out of a string?
Accepted answer
6 votes

Found it, the brilliant @low strikes again with a great plugin called Low Replace! Syntax like: {exp:low_replace find="you" replace=""}{current_url}{/exp:low_replace} Cool!

View answer
Detecting Server Environment in Template - {site_url} Conditional Fails
Accepted answer
5 votes

Or set a $env_global['myjs'] in the config.prod.php with the analytics code ID number and leave that var blank in the config.dev.php then just {myjs} in the template and it only outputs the ID in ...

View answer
cartthrob_on_authorize
Accepted answer
3 votes

I've not seen that before. Odd one! Take a look here at sample code for setting status from that hook. Maybe it will provide some direction. https://github.com/CartThrob/extension-...

View answer
Creating AJAX endpoints for custom fieldtypes
Accepted answer
3 votes

As far as i know, you cannot do this in a fieldtype in any other way. What i've seen most often is a accompanying module that registers an action so that the method in the module acts as the ajax ...

View answer
Remove index.php - interior pages are blank
2 votes

Are you sure mod_rewrite is installed & enabled? My guess is no!

View answer
ExpressionEngine and Online Photo Service
2 votes

The shopping Cart add-on Cartthrob can do this, and possibly the other e-commerce add-ons such as store or BrilliantRetail too (but i haven't checked). All you do on the checkout page is add a file ...

View answer
how to redirect back 2 pages after add to cart in Cart Throb
2 votes

check out this add-on http://devot-ee.com/add-ons/mo-variables and it's "Page Tracker" variables that you can use!

View answer
Unable to save your template as a text file
2 votes

In the root of your site, i.e the same level as the index.php, create a file called info.php and put in there the following code: <?php echo $_SERVER['DOCUMENT_ROOT']; ?> Then using your ...

View answer
ExpressionEngine snapshot add-ons?
2 votes

I'm afraid there is not. What i would recommend is that you get a test site setup on either the same server as the live site but in a subdomain so for example 'test.mysite.com', (password protect that ...

View answer
Entry with umlauts will not save
2 votes

Hmm, odd one, i would have to say that the collation_server being latin 1 would be at fault. Collation specifically is responsible for comparing and sorting in mysql. So, i'm guessing in the saving of ...

View answer
Cartthrob - Presales questions
Accepted answer
1 votes

This sounds pretty good that their POS (is it just a POS? Not an ERP too?) has a rest API. That means that in the grand scheme of things it should be a nice job to push and pull data. There are a few ...

View answer
Cartthrob php orders when logged in
1 votes

I would update Cartthrob to V2.6 if i were you Sean!

View answer
Strict Standards: Declaration of Matrix_ft::post_save() should be compatible with EE_Fieldtype::post_save($data)
1 votes

Have you updated Matrix & EE yet? It's not a Cartthrob issue i'm afraid.

View answer
ExpressionEngine source control via git
1 votes

You can source control all templates as you can set them to be saves as files. The only thing you'll have an issue with is the db but show me a db driven cms for less then $10k that does that well. ...

View answer
Stash lists with a dynamic list name in a relationship loop
1 votes

Oh silly me, i had the answer in a code sample on my machine already :-/ {parents field="products-lessons-pool"} {exp:stash:append name="Monday" match="#Mon#" against="{parents:products-lessons-...

View answer
Find channel entries with a field value greater or less than
1 votes

The question wasn't about ranges exactly, the example was about a "less than a numeric value" query which according to the docs is possible? - http://ellislab.com/expressionengine/user-guide/modules/...

View answer
Saving PayPal email address in CartThrob
Accepted answer
1 votes

Looks like you would have to customise the paypal express payment file to do the following and then modify it to capture the e-mail IF given back. Obtaining Buyer Consent to Receive Promotional Email ...

View answer
Can DataGrab check for duplicate entries using entry_id or url_title?
1 votes

sorry for the late reply here! If you look here - http://brandnewbox.co.uk/forums/viewthread/785/ Andrew claims that this is available. I cannot see it in the new version i've downloaded but if you ...

View answer
Recurring subscription for posting channel entries
1 votes

Well, i would still recommend CartThrob! I actually did something for a site with the Cartthrob Pro add-on that sounds like what you want to do. It was for a property site where the site allowed a ...

View answer
Shopping cart with diff. product pricing & renewal?
1 votes

None of them will do all of that out the box. @Jason-Mayo is correct in that Cartthrob is your best bet as it's the most flexible out the lot, and so is the one you should choose. However, @Ramil-...

View answer
Cartthrob: Shopping cart with over 100 products in cart
1 votes

I think you need to wrap the {exp:cartthrob:update_cart_form} tag round the {exp:cartthrob:cart_items_info} and not the other way round :)

View answer
How can you remove the list html from GWcode categories add-on?
Accepted answer
1 votes

Whoops, i had a spelling error in there, the answer is: style="linear" Sorry!

View answer
How can I build an auto email alert system based on saved searches?
1 votes

Hmm, i'm not familiar with how solspace saves it's search, but i'd say you could achieve what you need in a template in the way you describe, possibly with a little bit of php thrown in too. How ...

View answer
Add items to a User via front end tags, (ie. travel Itineraries)
1 votes

I was looking at this today, it might just be the thing you need! - http://squarebit.co.uk/shortlist

View answer
What is the source of my 'Blacklist irretrievable' error?
1 votes

Well, i'd say you'll have to remove it and wait for an update to that module or for them to reinstate that url.

View answer
Inconsistencies found in exp_channel_titles and exp_channel_data tables
1 votes

Well, if you mean that there are some entries in the channel data table but not in the channel titles table, then you can probably delete them (make a backup first!) I've never seen this myself and ...

View answer
How to create a complex stockist list using Structure and/or categories
1 votes

I'd say categories would work absolutely fine for this and if you ask me make sense. Along with Seg2cat this is another excellent categories handling add-on - http://devot-ee.com/add-ons/gwcode-...

View answer