<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

	<title type="text">Archived ExpressionEngine Community Support Forums</title>
	<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/" />
	<link rel="self" type="application/atom+xml" href="http://expressionengine.com/archived_forums/atom/" />
	<updated>2010-07-12T13:56:13Z</updated>
	<rights>Copyright (c) 2010 EllisLab</rights>
	<generator uri="http://expressionengine.com/" version="2.2.2">ExpressionEngine</generator>
	<id>tag:expressionengine.com,2010:07:12</id>


	<entry>
		<title>show entries for last 2 weeks(14 days) in order from newest to oldest</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160455/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160455</id>
		<published>2010-07-12T13:55:00Z</published>
		<updated>2010-07-12T13:56:13Z</updated>
		<author><name>Eastwood Design</name></author>
		<content type="html">
		<![CDATA[
		<p>I want to display entries only from the last 2 weeks or 14 days, which ever is easier.&nbsp; (not NOT the last 14 entries, but any entries that fall within the last 14 days) </p>

<p>I also want them to be in order so the most recent entry is on top and they desc down to the oldest entry that falls in the last 14 days or 2 weeks.</p>

<p>I am using:</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;exp</span><span style="color: #007700">:</span><span style="color: #0000BB">weblog</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&nbsp;weblog</span><span style="color: #007700">=</span><span style="color: #DD0000">"sheets"&nbsp;&nbsp;</span><span style="color: #0000BB">display_by</span><span style="color: #007700">=</span><span style="color: #DD0000">"week"&nbsp;</span><span style="color: #0000BB">limit</span><span style="color: #007700">=</span><span style="color: #DD0000">"2"&nbsp;</span><span style="color: #0000BB">orderby</span><span style="color: #007700">=</span><span style="color: #DD0000">"date"&nbsp;</span><span style="color: #0000BB">sort</span><span style="color: #007700">=</span><span style="color: #DD0000">"asc"&nbsp;</span><span style="color: #0000BB">show_future_entries</span><span style="color: #007700">=</span><span style="color: #DD0000">"no"&nbsp;</span><span style="color: #0000BB">show_expired</span><span style="color: #007700">=</span><span style="color: #DD0000">"yes"&nbsp;</span><span style="color: #0000BB">rdf</span><span style="color: #007700">=</span><span style="color: #DD0000">"off"&nbsp;</span><span style="color: #007700">switch=</span><span style="color: #DD0000">"row3|row4"&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span>
</span>
</code></div>

<p>And works pretty good if I use order=&#8220;asc&#8221;&nbsp; they are ordered in reverse so the oldest in the 2 weeks shows up first and then orders down to the newest at the bottom.</p>

<p>Problem is if I switch it to order=&#8220;desc&#8221; then I get last weeks in proper order newest to oldest, then at the very bottom I get this weeks newest to oldest.&nbsp; </p>

<p>How can I get this to work?&nbsp; Would using the start_on parameter be my best bet?&nbsp; if so how do I set that to be start_on 14 days ago sort by date, list by day, and order newest to oldest?</p>

<p>TIA</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>Mystery Parameter</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160415/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160415</id>
		<published>2010-07-11T22:13:43Z</published>
		<updated>0</updated>
		<author><name>PXLated</name></author>
		<content type="html">
		<![CDATA[
		<p>Was perusing some old test template files - they worked way back when but are disassociated now so don&#8217;t - and came across this within a weblog:entries tag&#8212;&#123;segment_3_category_id&#125;<br />
I usually comment my code pretty well but the only note close to this was the weblog tag was getting variables passed from another template. Segment_3 would have been the url_title of an entry in this case.</p>

<p>Can&#8217;t say I recall seeing this before and a search didn&#8217;t really get me very far.<br />
Any ideas/enlightenment would be greatly appreciated.</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>Pages module &#45; several pages with different field sets in one weblog&#63;</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160392/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160392</id>
		<published>2010-07-11T11:47:55Z</published>
		<updated>0</updated>
		<author><name>Silver City Media</name></author>
		<content type="html">
		<![CDATA[
		<p>Hi all, </p>

<p>Just wondering if this is possible. I&#8217;d like to have several pages (about, terms, feedback) that exist in one weblog. These will each require their own template (no problems here) but also each will need different fields when being edited in the CMS. </p>

<p>Any help would be greatly appreciated.</p>

<p>Kind regards,</p>

<p>John.</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>New Page Issues</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160382/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160382</id>
		<published>2010-07-11T00:12:44Z</published>
		<updated>0</updated>
		<author><name>TCSLions</name></author>
		<content type="html">
		<![CDATA[
		<p><a href="http://tcslions.org/main_site/">http://tcslions.org/main_site/</a></p>

<p>I am trying to layout the developed site, and am working back through Boyink&#8217;s book to do so. I am at the point where I have set up an additional template to drive the admissions section, added some content for it, and am trying to get it to show up&#8230; but when I click on it, it won&#8217;t show up like it should? This is fairly urgent for me to get this resolved any insight on this issue?</p>

<p>If you click on the &#8216;admission&#8217; button you will see my issue?!?!</p>

<p>Help&#8230;</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>Site Error: Unable to Load Site Preferences; No Preferences Found</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160343/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160343</id>
		<published>2010-07-10T08:05:44Z</published>
		<updated>2010-07-10T21:04:35Z</updated>
		<author><name>michiko23</name></author>
		<content type="html">
		<![CDATA[
		<p><a href="http://madewithbacon.com/">http://madewithbacon.com/</a><br />
EE 1.6.7</p>

<p>I don&#8217;t know when this started happening, but I can&#8217;t access the homepage nor the admin side of this site. I checked database name, server, password, user and everything seems to be correct. </p>

<p>Anybody know why this would happen?</p>

<p>-m</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>Fatal Errors after initial install</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160324/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160324</id>
		<published>2010-07-09T23:09:33Z</published>
		<updated>0</updated>
		<author><name>Bryan Crabtree</name></author>
		<content type="html">
		<![CDATA[
		<p>Just installed EE for the first time and I&#8217;m receiving the following error when clicking on the Publish or Edit links in the Control Pannel:</p>

<p>Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 491520 bytes) in /home/dita/public_html/ee/eecms/cp/cp.publish.php  on line 10901</p>

<p>Any suggestions?</p>

<p>Thanks,<br />
Bryan</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>Search Link Problem</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160304/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160304</id>
		<published>2010-07-09T19:04:34Z</published>
		<updated>2010-07-09T19:32:29Z</updated>
		<author><name>pmunnis</name></author>
		<content type="html">
		<![CDATA[
		<p>Hello,</p>

<p>In EE1.69, after performing a successful simple search and attempting to link to a story from the list of hits received then I then experience an invalid link address. Upon inspection there is a truncated link address being attempted and it needs to be repaired.</p>

<p>I have searched for the location that the link is sourced from but all to no avail. I am thinking it should be in the template set: “Search” and in the template “Results,” but can’t spot the code involved. </p>

<p>If you can advise me where to find the truncated link address (its source location), then I’ll edit it and put an end to this nuisance.</p>

<p>Here is the not so sophisticated code being used in my main INDEX module:</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;!---&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;START&nbsp;OF&nbsp;SEARCH&nbsp;MODULE&nbsp;#&nbsp;&nbsp;---&gt;<br /><br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">div&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"module"</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;<br /><br />&lt;</span><span style="color: #0000BB">h2</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Search</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">h2</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #0000BB">&#123;exp</span><span style="color: #007700">:</span><span style="color: #0000BB">search</span><span style="color: #007700">:</span><span style="color: #0000BB">simple_form&nbsp;search_in</span><span style="color: #007700">=</span><span style="color: #DD0000">"everywhere"</span><span style="color: #0000BB">&#125;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text"&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">=</span><span style="color: #DD0000">"keywords"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">""&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"input"&nbsp;</span><span style="color: #0000BB">size</span><span style="color: #007700">=</span><span style="color: #DD0000">"22"&nbsp;</span><span style="color: #0000BB">maxlength</span><span style="color: #007700">=</span><span style="color: #DD0000">"100"&nbsp;</span><span style="color: #007700">/&gt;<br />&lt;</span><span style="color: #0000BB">br&nbsp;</span><span style="color: #007700">/&gt;<br />&lt;</span><span style="color: #0000BB">a&nbsp;href</span><span style="color: #007700">=</span><span style="color: #DD0000">"&#123;path=search/index&#125;"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Advanced&nbsp;Search</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">a</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"submit"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">"submit"&nbsp;&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"submit"&nbsp;</span><span style="color: #007700">/&gt;&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">search</span><span style="color: #007700">:</span><span style="color: #0000BB">simple_form&#125;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;<br /><br />&lt;!&nbsp;---&nbsp;&nbsp;</span><span style="color: #FF8000">#&nbsp;END&nbsp;OF&nbsp;SEARCH&nbsp;MODULE&nbsp;&nbsp;#&nbsp;---&gt;&nbsp;</span>
</span>
</code></div>

<p>Many Thanks,<br />
Paul Munnis</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>Embedded template truncation issue</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160300/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160300</id>
		<published>2010-07-09T17:56:03Z</published>
		<updated>0</updated>
		<author><name>UFRecSports</name></author>
		<content type="html">
		<![CDATA[
		<p>I&#8217;m developing a rather large site and making extensive use of the embedded templates, which are proving to be a lifesaver. One of my embedded templates, &#8220;inner-content&#8221; receives the actual page content data from the parent template via the embed code, like this:</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;embed</span><span style="color: #007700">=</span><span style="color: #DD0000">"includes/inner-content"&nbsp;</span><span style="color: #0000BB">title</span><span style="color: #007700">=</span><span style="color: #DD0000">"&#123;title&#125;"&nbsp;</span><span style="color: #0000BB">body</span><span style="color: #007700">=</span><span style="color: #DD0000">"&#123;body&#125;"</span><span style="color: #0000BB">&#125;&nbsp;</span>
</span>
</code></div>

<p>This allows me to pass the unique page data back into a single embedded template, and it&#8217;s working great in some instances, like on this page/entry &mdash; <a href="http://wwwtest.recsports.ufl.edu/facilities/equipment-checkout/">http://wwwtest.recsports.ufl.edu/facilities/equipment-checkout/</a>.</p>

<p>However on other pages, it&#8217;s cutting off the content and part of the surrounding structural markup within the &#8220;inner-content&#8221; template, like on this page/entry &mdash; <a href="http://wwwtest.recsports.ufl.edu/facilities/reservations/">http://wwwtest.recsports.ufl.edu/facilities/reservations/</a></p>

<p>From what I can tell by looking at the source code, it seems to be running into trouble whenever the parser encounters a hyperlink in the actual page content, but I may be way off base here. Any help would be much appreciated!</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>MySQL Error after migrating to new hosting environment</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160284/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160284</id>
		<published>2010-07-09T16:15:22Z</published>
		<updated>0</updated>
		<author><name>ShawnCBerg</name></author>
		<content type="html">
		<![CDATA[
		<p>We’re in the process of migrating our EE install with the Freeform module to a new hosting environment. Everything in EE seems to be up, running, and working properly. When we tested the forms we have on our site, however, we get a MySQL error when submitting them. Here’s the error:</p>

<blockquote><p>MySQL ERROR:</p>

<p>Error Number: 1364</p>

<p>Description: Field ‘weblog_id’ doesn’t have a default value</p>

<p>Query: INSERT INTO `exp_freeform_entries` (`author_id`, `group_id`, `ip_address`, `entry_date`, `edit_date`, `status`, `form_name`, `qc_name`, `qc_phone`, `email`, `qc_other`, `qc_newsletter`) VALUES (‘1’, ‘1’, ‘64.134.186.218’, ‘1278702327’, ‘1278702327’, ‘open’, ‘quick_contact’, ‘Shawn Berg’, ‘727-555-1212’, ‘shawn@itistic.com’, ‘Testing!’, ‘Yes!’)</p>
</blockquote>

<p>I checked the weblog_id field in exp_freeform_entries in both environments (new and old) and neither have a default value set. Any idea what may be causing this problem in the new environment? Our database was backed up using the mysqldump utility and restored with the mysql command line utility.</p>

<p>Thanks!</p>

<p>Shawn</p>
		]]>
		</content>
	</entry>

	<entry>
		<title>After upgrade CP has gone</title>
		<link rel="alternate" type="text/html" href="http://expressionengine.com/archived_forums/viewthread/160224/" />		
		<id>tag:expressionengine.com,2010:archived_forums/viewthread/.160224</id>
		<published>2010-07-08T22:51:32Z</published>
		<updated>0</updated>
		<author><name>le</name></author>
		<content type="html">
		<![CDATA[
		<p>I upgraded from v1.6.6 to 1.6.9.<br />
After that the CP isn&#8217;t available anymore.<br />
Entering my_url/system/ shows an empty screen.</p>

<p>I repeated the upgrade several times.</p>

<p>What did i miss? What did I wrong?</p>
		]]>
		</content>
	</entry>


</feed>
