Hello,
I have a question for the clever people of the SO community.
Below is a snippet of XML generated by the Symphony CMS.
<news>
<entry>
<title>Lorem Ipsum</title>
<body>
<p><strong>Lorem Ipsum</strong></p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed malesuada au...
I'm trying to set up an XSL:IF statement that only shows entries that have a node that falls between two values. Simple enough, right? It's just a if greater than and if less than. Problem is, instead of testing it against one node I need to test it against up to 52.
Let's say I have some XML that looks like this:
<container>
<entr...
I'm currently working on a website and have run into a major problem. In a recent question I asked how to filter my XML with XSLT based on the content of a series of XML nodes. The end result was this:
<xsl:if test="listings/entry[available-weeks/item[number(.) >= {$url-min} and number(.) <= {$url-max}]]">
//my listings show h...
I'm in the process of updating my Symphony installation and I've been told to "run these MySQL commands" to complete the process. Funny thing... I have no idea how to do that. The commands I'm mean to run are as follows:
ALTER TABLE `sym_sections` ADD `navigation_group` VARCHAR( 50 ) NOT NULL DEFAULT 'Content';
ALTER TABLE `sym_sect...
I'm using Symphony CMS which as default has a mod_rewrite that rewrites all directories.
However, I need it to ignore the directories "test" and "transfer" and all their subdirectories.
Any help?
...
How do you transform a section of an XML document multiple times?
I'm calling a template from within one stylesheet for a particular node. When I import another utility that transforms that same data, the original stops working.
How do I get both style sheets to work?
...
My backend accepts comma delimited id values "11,12,13". On the front end I have a check list that allows multiple selection and posts the following.
someurl.com?id=11&id=12&id=13
How do I use $_GET for multiple instances of ID, format it into a comma seperated string? Or alternatively, is there a better way to force checklists to subm...
i have to create a variable that is callable with php's is_callable
i have done this:
$callable = array(new MyClass, 'methodName');
but i want to pass a parameter to the method.
how can i do that?
cause using symfony's event dispatcher component will be like:
$sfEventDispatcher->connect('log.write', array(new IC_Log('logfile.txt'...
Are Symphony and CakePHP too slow to be usable?
Are Symphony and CakePHP too slow to be usable?
...
Let me start by saying I know about position() but I can't seem to figure out how to make it work in this context.
What I'm trying to do is iterate through my body of text and find all images. These will be turned into links that say "Figure 1" and so on. The number is provided by the position() of a corresponding node in a different no...
I need to learn XSLT for Wordpress andSymphony theming. What are some beginner friendly resources that are relatively easy to follow along to?
...