Bjørn Børresen
  • Member for 9 years, 2 months
  • Last seen more than 1 year ago
Populate Meta Tag Dynamically
Accepted answer
9 votes

Personally I'd use SEO Lite - then only this is needed in the header: {exp:seo_lite use_last_segment="y"} And then this in the config file / SEO Lite template: EE2 example (with focuslab llc master ...

View answer
2.7 Update Error with PT Fieldtype
7 votes

Here's how to upgrade an existing EE install with P&T fieldtypes. After upgrading EE you'll get this error when visiting the modules section: Fatal error: Class PT_Fieldtype contains 1 abstract ...

View answer
The action you have requested is invalid
Accepted answer
7 votes

You will get that error if you have secure forms enabled, and you submit a form without including a valid XID in the post. More here: http://ellislab.com/blog/entry/putting-the-secure-in-secure-mode-...

View answer
Codeigniter version within ExpressionEngine outdated? Is it wise to update?
6 votes

EllisLab has forked the official CodeIgniter version and are using their own internal one. I highly doubt you can replace this with the official one.

View answer
Forum module : can i load the forum into an iframe?
Accepted answer
5 votes

This isn't really EE specific - you'd load the forum in an iframe like you'd load anything else in an iframe. That said - loading it in an iframe isn't a good idea. If you want to use your global ...

View answer
How can I have a username shorter than 4 characters?
Accepted answer
5 votes

Indeed, not long ago this would require a core hack. Not sure exactly when this was fixed, but anyway these days you can add the following to your config.php file: $config['un_min_len'] = 2; // ...

View answer
In EE 2.X what replaces the submit_new_entry_end hook?
Accepted answer
5 votes

I would assume so. Instead of asking yourself what hook replaces what hook, ask yourself if this describes the hook you need: Additional processing after entry submission, after all processing, ...

View answer
A conditional for "paginate" loop rendering needed
Accepted answer
5 votes

This should work: {exp:channel:entries limit="10"} {if count == 10} {!-- we actually got 10 so we know there could potentially be more --} {embed="embeds/paginate" offset="10"} {/if} {/exp:channel:...

View answer
Database Error (Matrix 2.4.3)
4 votes

Here's the response I got from P&T support regarding this error. Solved the issue for me: Take a look at the columns in exp_matrix_data table in the database. * Does it have a field var_id? If ...

View answer
Viewing a published post in which its status is not open
Accepted answer
3 votes

that is perfectly normal and expected behaviour. To view content with status completed you need to add that to the "status" parameter in the channel entries tag, like so: {exp:channel:entries status=...

View answer
Focuslab Master Config staging server not working
3 votes

Make sure the staging domain is correct in config.env.php Make sure the staging config is in fact loaded (put a die("hello); at the top of your config.staging.php) Verify that your site says "hello" ...

View answer
Freeform + Transcribe = Missing required valid POST variable - params_id
2 votes

I got this just now with a combo of Transcribe and Freeform. I think Transcribe messes with the fetch_site_index function of EE. In any case the POST action in my form was: example.com/////?ACT=86 ...

View answer
Repositioning images
2 votes

You could crop them in the template to make them the correct size / aspect ratio. Here's a free addon for that: https://github.com/bjornbjorn/img.ee_addon

View answer
Alternatives to Structure add-on?
2 votes

If you're using Structure mostly for navigation, Taxonomy can be of help: http://devot-ee.com/add-ons/taxonomy

View answer
SEO lite {extra:desc} is not getting over ridden with the seo lite template description
Accepted answer
2 votes

For anyone interested the user was helped over here: https://getsatisfaction.com/addonbakery/topics/seo-lite-extra-desc-not-over-riding

View answer
Listing subfolders in an Assets fieldtype
Accepted answer
2 votes

As far as I know that's not possible. If you have a folder you need to use like that you'll have to just create a new root folder for it (if you don't want to use one of the existing ones)

View answer
Placing .gitignore abover web root?
2 votes

I guess you know this, but you shouldn't set up your production sites like that. Ideally it should be: .git .gitignore system/ third_party/ templates/ webroot/ etc. You don't want any ...

View answer
Facebook Open Graph pulling ExpressionEngine Data
2 votes

I implemented support for this in SEO Lite a while back. It takes a bit of config setup but after that it works excellent. Basically you map custom fields in the various field groups to the opengraph ...

View answer
SEO Lite & Home Page
1 votes

Yepp, the homepage is a special case as it does not have an url_title which you need if you use the "use_last_segment" parameter. So you'll have to fetch it using entry_id, or alternatively modify the ...

View answer
Check for channel entry seo data or use template code instead of defaults
Accepted answer
1 votes

The only thing I can think of in your case is to specify some default in the description or keywords that you know and can check against. So, if SEO Lite defaults you'll know about it and can then use ...

View answer
$db['expressionengine']['cachedir'] - what does it do?
1 votes

As far as I can tell it's not actually used for anything. Tried searching the source for 'cachedir' and I see it is set numerous places but never used. In DB_Driver.php there is this function, which ...

View answer
Pagination via get variables?
1 votes

Just use the standard pagination with AJAX. /P10 etc. works fine.

View answer
doing Forms in EE
1 votes

Use Channel Forms: https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_form/index.html The easiest way to do multi-page forms is using javascript to just show / hide the next ...

View answer
If Any Channel Entries tags - webpage unavailable
1 votes

First, disable gzip compression in the config (gzip_output = 'n'): https://ellislab.com/expressionengine/user-guide/general/system_configuration_overrides.html#gzip-output Then, look at the error ...

View answer
Playa Upgrade 2.9 - playa not installed and now unable to load site preferences error
1 votes

Here's the solution to the above issue: https://expressionengine.stackexchange.com/a/24657/189 in short, run this SQL and run module updates again: UPDATE `exp_fieldtypes` SET `version` = '4.5' ...

View answer
What is the best method for automating SEO META data on a site
1 votes

there is an easier way to do this with SEO Lite, check out this gist which has an example: https://gist.github.com/bjornbjorn/4039233

View answer
Is there a character limit on passwords for Expression Engine?
1 votes

How were these users added to the system? As far as I can tell there is no maximum length although the input fields both in the CP and the CP login specify 40 maximum characters. So if they were ...

View answer
Checking If tags has content or not
Accepted answer
1 votes

Try this: {if '{site_hvite_left}' == '' OR '{site_hvite_right}' == ''} <div class="row-small"> {if:else} <div class="row"> {/if} .. a bit verbose but it should work every ...

View answer
More pagination number links
1 votes

I don't think this is possible with the default pagination, however you can specify the number of links to show w/AB Pagination, see parameters for the {abp_pages} tag in the docs here: http://...

View answer
"?feed=rss2" in Pagination URL
Accepted answer
1 votes

kgrote, try and download the latest release of AB Pagination from devot-ee, there was a bugfix about a month ago dealing with this issue. Also, if you're interested in passing that ?feed=rss2 query ...

View answer