Symphony – Forum http://downloads.symphony-cms.com Symphony Forum Discussions en Symphony CMS Daylight saving time http://downloads.symphony-cms.com/discuss/thread/87983/ Thu, 17 May 2012 05:40:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87983/ <p><strong>By renan_santos</strong></p><p>How does Symphony handle daylight saving time?</p> underline text and markdown http://downloads.symphony-cms.com/discuss/thread/87981/ Thu, 17 May 2012 05:15:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87981/ <p><strong>By roelof</strong></p><p>Hello, </p> <p>Am I right that markdown does not have something for underline text. I have a page with text and the person who made it wants it like she typed it. With each header of a section underlined.</p> <p>Regards,</p> <p>Roelof</p> URL Structure http://downloads.symphony-cms.com/discuss/thread/87979/ Thu, 17 May 2012 04:33:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87979/ <p><strong>By Lewis</strong></p><p>I'm working on a personal project which represents a directory for businesses. I can't quite make a decision as to how I should structure the URL for a specific listing. It's very possible that a business can have the same name as another (i.e. across different states). This is the best URL structure and come up with an house hoping to get some reassurance that someone has not come up with a better method. I want it to be friendly to both search engines and humans.</p> <pre><code>/business-name/city/address/ </code></pre> <p>I believe the above URL structure will provide enough data to filter a data source so that only one entry is ever a result.</p> <p>Does anyone have any comments?</p> <p>Also, should I be using the URL Router extension in some capacity? I have yet to take a look at it.</p> <p>Cheers!</p> Implementing a shop http://downloads.symphony-cms.com/discuss/thread/87926/ Wed, 16 May 2012 18:43:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87926/ <p><strong>By vladG</strong></p><p>This is an enigma for me ... Perhaps you are kind enough to give me some hints.</p> <p>I want to implement a shop. The Client must be able to add as many types of products as he wishes (from <code>T-shirts</code> to <code>fishing polls</code> and <code>knives</code>) and must be able to create all sorts of characteristics for each one of the types (<code>size</code>, <code>manufacturer</code>, <code>color</code>, <code>blade type</code> etc).</p> <p>Of course, not all characteristics should be available to all product types (there's no need of <code>blade type</code> to a T-shirt).</p> <p>Any clues on how I could implement this?</p> <p>Thank you.</p> Subnavigation menu http://downloads.symphony-cms.com/discuss/thread/87920/ Wed, 16 May 2012 18:14:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87920/ <p><strong>By pixeldustcreatives</strong></p><p>Hi everyone,</p> <p>Im facing some issues while creating an subnavigation menu.</p> <p>What im trying to create is one main menu and one submenu. This submenu only needs to display entries from the specific page you're on.</p> <p>Let's say im on a page called "regions". This page has several entries in it. And i want to display this entries within the submenu.</p> <p>Can someone help me with this?</p> file size upload issues http://downloads.symphony-cms.com/discuss/thread/87911/ Wed, 16 May 2012 14:29:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87911/ <p><strong>By wtdtan</strong></p><p>i've been trying to figure out this file size upload problem i'm having but have not been successful. I looked at the <code>config.php</code> file and change the <code>max_upload_size</code> to ~40mb:</p> <pre><code>'max_upload_size' =&gt; '41943040', </code></pre> <p>then i added this to my php.ini file:</p> <pre><code>upload_max_filesize = 40M max_execution_time = 300 ; in seconds max_input_time = 360 ; in seconds memory_limit = 64M </code></pre> <p>However, whenever I try to upload a file larger than the default ~5mb limit, it seems to go through the motions of uploading, but then when it looks like it successfully finishes the upload, it returns me to the "new" entry view. When i go look in my <code>uploads</code> folder, no file is written to the folder. But anything below the default <code>max_upload_size</code> value seems to work fine. I'm also using the unique upload field extension by michael-e if that makes any difference (but reading previous thread, it shouldn't). </p> <p>I can't find any sort of errors in the server logs either. </p> <p>Has anyone else seen this behavior?</p> Expedia http://downloads.symphony-cms.com/discuss/thread/87901/ Wed, 16 May 2012 03:20:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87901/ <p><strong>By wdebusschere</strong></p><p>Dear,</p> <p>Has anyone experience with the new Expedia Affliate Hotels Version 3 API? Anyone interested in building a booking platform with Symphony-cms?</p> <p>Thanks!</p> <p>Wannes</p> fopen error on .lock files http://downloads.symphony-cms.com/discuss/thread/87894/ Wed, 16 May 2012 01:15:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87894/ <p><strong>By joaobarbosa</strong></p><p>Hi guys,</p> <p>I'm having a little problem with dynamic xml data-sources.</p> <p>The url that contains the xml file is a WordPress feed: http://www.canalminassaude.com.br/blog/?feed=rss2</p> <p>But, it just returns this error in the result xml:</p> <pre><code>&lt;error&gt;fopen(/var/www/html/manifest/tmp/1ca1f30addf2f44edd1f0119ef01c0cc.lock): failed to open stream: File exists&lt;/error&gt; </code></pre> <p>Does anyone knows what's going on, or what can I do to fix this?</p> <p>Thanks a lot!</p> Multilingual Tag Field http://downloads.symphony-cms.com/discuss/thread/87880/ Tue, 15 May 2012 17:25:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87880/ <p><strong>By guillem_l</strong></p><p>A new extension, "<a href="http://symphony-cms.com/download/extensions/view/87879/">Multilingual Tag Field</a>" is now available for download. Comments and feedback can be left here but if you discover any issues, please post it on the issue tracker.</p> Auto make entry with URL params http://downloads.symphony-cms.com/discuss/thread/87870/ Tue, 15 May 2012 10:48:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87870/ <p><strong>By Teak</strong></p><p>Is there a way to automaticly create a an entry, containing the URL parameters of a page?</p> <p>Say I have a URL like this:</p> <p>http://mysite.com/enterdata/?id=123&amp;data=asdf</p> <p>How can I make a entry containing the data, and also check that the ID isn't already used?</p> Looking for an italian developer... http://downloads.symphony-cms.com/discuss/thread/87851/ Tue, 15 May 2012 01:08:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87851/ <p><strong>By rikzanini</strong></p><p>Salve a tutti, non so se questo sia il posto più adatto per questo tipo di richiesta, ma sto cercando uno sviluppatore Sym (possibilmente italiano) con cui instaurare una collaborazione lavorativa anche subito. Rimango a disposizione per qualsiasi richiesta o precisazione. Mi scuso nel caso la richiesta sia fuori luogo, Rik</p> <p>Hi all, I do not know if this is the best place for this type of request, but I'm looking for a developer Sym (possibly Italian) with which to establish a working relationship right away. I remain at your disposal for any inquiry or clarification. I apologize if the request has been misplaced, Rik</p> Filter DS from value to value http://downloads.symphony-cms.com/discuss/thread/87846/ Tue, 15 May 2012 00:03:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87846/ <p><strong>By plenaforma</strong></p><p>I need to filter a datasource with a min and a max value set by 2 URL parameters</p> <p>In the DS filter: {$url-min:0} to {$url-max:200000} works and returns only the records between 0 and 200000.</p> <p>When I pass the url parameters with an GET both are set (debug=params)but it seems they aren't passed to the filter.</p> <p>I read some threads about custom filtering but pity for me i m not that experienced with coding. </p> <p>I hope someone can point me in the right direction</p> Symphony Hong Kong casual meet up http://downloads.symphony-cms.com/discuss/thread/87827/ Mon, 14 May 2012 18:36:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87827/ <p><strong>By Allen</strong></p><p>I will be in Hong Kong for a week starting this Thursday (between 17 and 24 May). I'm meeting with a couple of Symphonists while I'm abroad. If you happen to be in Hong Kong, let me know!</p> Running Site from Subdirectory (redirect) http://downloads.symphony-cms.com/discuss/thread/87817/ Mon, 14 May 2012 16:12:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87817/ <p><strong>By gunglien</strong></p><p>So I've been migrating my own blog from WordPress to Symphony-CMS (finally) I've set it up on my local and everything works fine. However I'd like to move this onto the prod server (shared host).</p> <p>And to make the transition easier I thought I could put symphony into a sub-directory an redirect using some <code>htaccess</code> rules on the parent folder(root).</p> <p>Since the domain is the primary domain I cannot choose to run it from a subdirectory so I opted for a redirect - would make it easier for myself to handle since I will not be having config files etc in the root folder as I previously had with WordPress.</p> <p>The redirects seem to work - however Symphony thinks its running from a subdirectory so $root reads <code>mysite.com/subdir/</code> any way I can instruct symphony to assume its being run on root (not subdir)?</p> Display Categories that contain Products of a particular Brand. http://downloads.symphony-cms.com/discuss/thread/87808/ Mon, 14 May 2012 07:50:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87808/ <p><strong>By timwjohn</strong></p><p>Hi everyone. I'm about to test your seemingly angelic patience!</p> <p>I'm brand new to Symphony and already adore it. I have a slightly-more-complex-than-normal data source question. I've searched through the forum and couldn't find something similar enough, though what I have found has been really helpful.</p> <p>I have 3 sections: Products, Brands &amp; Categories.</p> <p>Each Product has a Subsection Manager for one or more Categories and a Select Box Link for a single Brand.</p> <p>What I would like to do on the front end is list all the categories that have products of a particular brand (filtering out categories that don't). The URL structure could be <code>/categories?brand=sony</code>, or <code>/sony/categories</code>.</p> <p>It looks to me that there's some reverse engineering involved, and I'm trying to get my head around how to go about it.</p> <p>...Ok, while writing this a possible solution occurred to me. Would I list products filtered by brand, and then group by category, then just list those categories in the template? Surely that's not a very streamlined method as there's a lot of unwanted data in the XML, namely the products, which could theoretically be in the thousands. Your thoughts on the best method would be greatly appreciated.</p> <p>Thanks for reading!</p> Git Deploy and Submodules http://downloads.symphony-cms.com/discuss/thread/87777/ Sun, 13 May 2012 02:08:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87777/ <p><strong>By heskethm</strong></p><p>Hi Guys,</p> <p>I've been re-setting up my Symphony website under Git following <a href="http://symphony-cms.com/learn/articles/view/getting-git-for-symphony-development/">Jonas' great guide</a>, using submodules for extensions and the workspace etc.</p> <p>I've also been looking into deploying via Git, using <a href="http://toroid.org/ams/git-website-howto">this very simple method</a>.</p> <p>My problem is that when I <code>git push dev</code> to push my files to the remote repository (which in turn sends my files to the webroot), it doesn't send the submodules (extensions etc).</p> <p>I've also been reading <a href="http://symphonyextensions.com/articles/on-git-submodules/">Nils' guide on submodules</a> and understand the concepts around this, but is there anyway to have the files from the submodules also sent to the remote repo witout having to set up a remote within each submodule?</p> <p>Thanks,</p> <p>Mark</p> [Sym 2.3] How to provide new Datasource types? http://downloads.symphony-cms.com/discuss/thread/87758/ Sat, 12 May 2012 01:00:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87758/ <p><strong>By vladG</strong></p><p>I'm updating Page LHandles and I want to supply a new source for Datasources: Multilingual Navigation.</p> <p>How am I supposed to do that?</p> <p>NB: not a new DS, but a new DS source.</p> <p>Thx.</p> Team working with Symphony, SVNs, DB migrations etc http://downloads.symphony-cms.com/discuss/thread/87730/ Fri, 11 May 2012 18:13:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87730/ <p><strong>By heskethm</strong></p><p>Hi guys, </p> <p>I've been using Symphony for a few months now on a number of my own projects and quite comfortable with it. </p> <p>I recently started contract work at an agency who are planning on using Symphony for an upcoming redesign for one of their clients. </p> <p>They use SVN for their version control and a shared DB for local development</p> <p>The problem we're facing is say 1 developer adds a new section/ds/page etc, as I understand it this can sometimes create an xsl file, but also modify the database. </p> <p>This will then throw up an error for the other developers as they have the shared DB info but the relevant xsl files have not been committed / updated yet. </p> <p>I know a few of you work in agencies doing symphony development, is there a way around this? Do we need local dbs and some way to migrate this? </p> <p>What's the most effective workflow to work as a team on Symphony? </p> <p>Thanks, </p> <p>Mark</p> How rewriting datasources sped up my website http://downloads.symphony-cms.com/discuss/thread/87692/ Fri, 11 May 2012 00:10:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87692/ <p><strong>By creativedutchmen</strong></p><p>Before I begin: my findings are based on personal experience only, I have not done any extensive benchmarking, nor have I tested these techniques on different setups.</p> <h2>So what have I done this time?</h2> <p>This time I tried to turture my webserver as much as possible, by outputting lots of entries (around 300, heavily filtered) at the same time. Even though these entries are very simple (just a title and an upload field <strong>edit: and an SBL</strong>), Symphony had a very hard time keeping up:</p> <pre><code> albums_album_foto 0.6990 s from 226 queries </code></pre> <p>Now, 226 queries by itself isn't really a problem, but when it takes 0.7 seconds to execute them, it is!</p> <p>So, I edited the datasource to pull in all the data in a single query (with the help of a few JOINS), and here is the result:</p> <pre><code>albums_album_foto 0.0320 s from 1 query </code></pre> <p>Wow. Yes, that's a huge difference!</p> <h2>Yeah, sure, but..</h2> <p>Ok, I have to admit, these results aren't really, really fair, because they both use the SQL cache heavily. And, ofcourse, when you only need to run a single query this is lightning fast. When the SQL cache is not used (because it is not fresh, for example) the results are closer together:</p> <pre><code> albums_album_foto 0.2461 s from 1 query albums_album_foto 0.7713 s from 226 queries </code></pre> <p>Still, this is a very interesting: the standard version seems to gain a bit from the caching, but not too much, while the single query version gains heavily (a factor 10!).</p> <p>I know there has been a lot of improvement on this already in the past year(s), but still, manually rewriting slow datasources can make a big difference, especially on a busy website.</p> Author can acces template through ?debug http://downloads.symphony-cms.com/discuss/thread/87686/ Thu, 10 May 2012 22:35:00 +1000 http://downloads.symphony-cms.com/discuss/thread/87686/ <p><strong>By plenaforma</strong></p><p>If an user is logged in as author, the user can acces the template through the ?debug page.</p> <p>Is this a bug? </p>