Questions tagged [symphony-cms]

Symphony CMS is an XSLT-powered, open source content management system/framework built in PHP that enables users to create and manage websites and web applications of all shapes and sizes. Symphony CMS should not be confused with the Symfony components and web framework.

Symphony CMS is an XSLT-powered, open source content management system/framework built in PHP that enables users to create and manage websites and web applications of all shapes and sizes.

It allows you to define the types of content required, the structures that should deliver that content to the front end, and the templates that should transform it into various formats for users.

Each layer of Symphony's content management infrastructure is comprised of distinct, fully configurable components. A project's content types are defined using sections and fields. Its pages provide dynamic front-end interfaces for viewing and interacting with that content. Data sources fetch and organize the content and deliver it to pages as XML, where page templates and utilities are applied to transform it into a desired format (HTML, for example). Advanced interactions, like data submission, can be enabled using events.

Important links

Symphony CMS should not be confused with the Symfony components and web framework.

80 questions
10
votes
7 answers

Quick beginner XSLT reference

I need to learn XSLT for Wordpress and Symphony theming. What are some beginner friendly resources that are relatively easy to follow along to?
Jonathan Musso
  • 1,374
  • 3
  • 21
  • 45
7
votes
5 answers

Truncate XML with XSLT

I have a question for the clever people of the SO community. Below is a snippet of XML generated by the Symphony CMS. Lorem Ipsum

Lorem…

Neil Albrock
  • 1,035
  • 10
  • 16
4
votes
1 answer

XSLT 1.0 and string counting

So I'm trying to solve a problem in xslt which I would normally know how to do in an imperative language. I'm adding cells to a table from a list of xml elements, standard stuff. So: "the"
Colin Brogan
  • 728
  • 10
  • 26
3
votes
1 answer

Get a specific XML node's position with XPATH?

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…
dougoftheabaci
3
votes
2 answers

XSL: Is there an easy way to prevent widows?

I was hoping to call .. And then it would look for the last space in the text and replace it with #160; when finalized. Should be able…
Kirk Strobeck
  • 17,984
  • 20
  • 75
  • 114
3
votes
1 answer

Issue with Sessions starting on PHP5.4.x

I'm experiencing an odd Sessions error that unfortunately I've been unable to reproduce locally. In my log file I'm getting the following error randomly upon viewing a page which is referring to this file session_start(): user session functions not…
brendo
  • 2,914
  • 1
  • 19
  • 22
2
votes
2 answers

Why IE tries to save the page instead of opening it?

I'm developing a website and I found that Internet Explorer tries to save the landing page instead of opening it (other browsers work fine). Here's the link: xanderadvertising.mcas.ro I'm trying to improve site performance by manipulating .htaccess…
2
votes
3 answers

Matching different node handles to get a node value with XSLT

XSLT available is 1.0. I'm working on a dual-language site in an XML-based CMS (Symphony CMS), and need to replace the English version of a category name with the French version. This is my source XML.
David Oliver
  • 2,424
  • 1
  • 24
  • 37
2
votes
1 answer

How to use a XSL inside an XML in Symphony CMS

I have a section called Products where every product is defined by Text Input and Multilingual Text Box. I have created over 100 products with custom description. At some point I need to place current year in Multilingual Text Box: Lorem ipsum dolor…
joe.kovalski
  • 300
  • 1
  • 4
  • 14
2
votes
1 answer

Using an XSL Element (?) as a URL in an tag in Symphony CMS

I have just started trying to get my head around Symphony and XML/XSL based templating etc (I don't even know the correct terminology so forgive me). I have a Videos section in Symphony, and one of the Input fields is for a YouTube URL. I obviously…
user2992596
  • 181
  • 2
  • 12
2
votes
1 answer

XSL: Is there an easy way to prevent widows? (part 2)

Using the solution from XSL: Is there an easy way to prevent widows? makes odd tags in the DOM. Is there a way to make it not insert an element of the name? Currently if I run
Kirk Strobeck
  • 17,984
  • 20
  • 75
  • 114
2
votes
1 answer

Automate Page creation with Sections in Symphony CMS

I am using the latest version of the Symphony CMS. I have a section for "projects" but I would like each project to have its own unique url. For example, I want to fill out all of the information, title, description, technical specs for the…
unsingefou
  • 143
  • 2
  • 16
2
votes
3 answers

Maximum length XSLT but keep full paragraphs in output

I'm working with symphony for a few weeks now and getting the hang of it, really loving all the base functionality. I have a question since I'm not quite sure how to solve this: I have a news/blog page for the project I'm working on. Sometimes the…
Mathijs Segers
  • 6,168
  • 9
  • 51
  • 75
2
votes
3 answers

Creating a recursive XSL:If statement?

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…
dougoftheabaci
1
vote
1 answer

Odd XSL output in Symphony CMS

I'm in Symphony CMS trying to return an article image like so. The output looks like this
acreek
  • 207
  • 3
  • 11
1
2 3 4 5 6