| CARVIEW |
[script type="text/javascript" src="{path='includes/jquery.js'}"][/script]
[script type="text/javascript" src="{path='includes/cufon-yui.js'}"][/script]
[script type="text/javascript" src="{path='includes/avenir2.font.js'}"][/script]
[script type="text/javascript"]
$(document).ready(function() {
alert('foobar');
});
[/script]
Suppose the normal way to get to an article (with entry_id 234) is:
https://www.domain.com/article/234
What is the reason for creating a different permalink that looks something like this?:
https://www.domain.com/article/archives/234
ie Dear {screen_name},
Would like to offer the personal touch.
TIA
Stuart
]]>One in particular is posting channel entries using the Metaweblog API, via MarsEdit. This worked fine in 1.6.x, although RSD never did - I had to configure manually - but now it’s giving me an error on posting. MarsEdit’s log is reporting this content returned from EE:
——-
A PHP Error was encountered
Severity: Notice
Message: Undefined index: entry_id
Filename: api/Api_channel_entries.php
Line Number: 941
</div><div style=“border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;”>
A PHP Error was encountered
Severity: Notice
Message: Undefined index: entry_id
Filename: api/Api_channel_entries.php
Line Number: 941
</div><div style=“border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;”>
A PHP Error was encountered
Severity: Notice
Message: Undefined index: entry_id
Filename: api/Api_channel_entries.php
Line Number: 941
</div><div style=“border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;”>
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/snowhen/public_html/system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Xmlrpcs.php
Line Number: 127
</div><div style=“border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;”>
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/snowhen/public_html/system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Xmlrpcs.php
Line Number: 128
——-
A closed entry is created in the channel, with the correct title but no content.
Other functions work fine, for example refreshing the entry list in the client.
As far as I can see MarsEdit is getting upset by these non-severe(?) error messages. Is there any way to turn them off?
]]>A Database Error Occurred
“Error Number: 1060
Duplicate column name ‘show_sidebar’
ALTER TABLE exp_members ADD show_sidebar char(1) NOT NULL default ‘y’ AFTER quick_tabs
Filename: E:\Websites\bibleframework.com - ee2\wwwroot\bf-system\codeigniter\system\database\DB_driver.php
Line Number: 330”
Does anyone know how to fix this?
———————————————————-
NOTE: I just learned I was on version 1.6.8. I also found a previous post asking that the site be upgraded to version 1.7 then try the upgrade. I will try that now. If anyone has any feedback on the above error it is welcome. I will report back how it goes.
Thanks,
Barney
]]>I’ve run into an issue with a site we’ve just finished development on. It’s a site which lists boats which are for sale, and as such some of these boats are in the multi-million dollar range. I’m getting the client to enter these prices into the site without any symbols, so $13,500,000 is entered into the backend as 13500000. This is so that it works as expected when the user is searching/sorting by price.
When I select Number as the type of content on a text field EE then changes how the number is stored and is shown like this: 1.35e+07 - which isn’t very helpful for the client or when searching the site.
Now if I change the type of content to Integer or Any the number is shown correctly in the back-end and front-end however it is no longer ordered correctly in the search results with prices appearing in no particular order ($100,000 is shown before $1,000,000) when sorting by highest price.
So in summary, I need to store my prices as a ‘Number’ content type to get search results to display correctly when searching/sorting by price, but EE is taking any number over a million dollars and changing it to store it using math which is way over a clients head (and mine). Please help as this project cannot go live until we have a resolution.
Thanks
EDIT: 2.1.3 / 20101220 / MySQL: 5.0.51a / PHP: 5.2.6-1
https://expressionengine.com/user_guide/modules/channel/entry_form.html
which states “Users of this form must be members of the site and must be logged in. Further, the user’s Member Group must have permission to post entries to the appropriate channel. No content will appear if the user is not logged in.”
Do SAEF forms have to require login? That is, are anonymous SAEF forms possible?
Paul
]]>I don’t seem to be able to have entries on the index page have URI’s with a structure like: index.php/channel/category/entry-url-title which links to a single entry template to show all the details.
I would then like to have a template for “index.php/channel/category” to dynamically show all the entries in that category.
Sounds simple, but I guess I got a bit rusty eheh ![]()
Thanks
]]>I’ve been trying to delete a custom field but have been getting the following error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Rel_ft::$db
Filename: fieldtypes/ft.rel.php
Line Number: 202
Fatal error: Call to a member function select() on a non-object in /home8/customs8/public_html/training/csmin/expressionengine/fieldtypes/ft.rel.php on line 202
Any suggestions would be appreciated.
]]>We have set “Use Thumbnails of Uploaded Images in Posts” to Yes. Image Resizing Preferences is set to ImageMagick and the path is set correctly. It doesn’t work with GD either, which is installed.
In mod.forum_code.php the resizing happens here:
$this->EE->load->library('image_lib', $res_config);
if ($this->EE->image_lib->resize())
{
...
But $this->EE->image_lib->resize() is false, so it doesn’t go through with the resizing.
What could the reason of this be?
Thanks
]]>