Questions tagged [xdv]

XDV is a way to apply a style/theme contained in a static HTML web page (usually with related CSS, JavaScript and image resources) to a dynamic website created using any server-side technology, using XSLT transformations.

XDV is an implementation of the Deliverance concept using pure XSLT. In short, it is a way to apply a style/theme contained in a static HTML web page (usually with related CSS, JavaScript and image resources) to a dynamic website created using any server-side technology.

Consider a scenario where you have a dynamic website, to which you want to apply a theme built by a web designer. The web designer is not familiar with the technology behind the dynamic website, and so has supplied a "static HTML" version of the site. This consists of an HTML file with more-or-less semantic markup, one or more style sheets, and perhaps some other resources like images or JavaScript files.

31 questions
3
votes
1 answer

uwsgi + xdv integration

i'm trying to configure uwsgi + xdv as a frontend for plone and other applications (this is why i don't use collective.xdv) any hints?
enlightx
  • 120
  • 4
3
votes
2 answers

How to copy element's children to an other element's specific attribute with Diazo

How to fill properly a specific tag attribute taking the content from the original page by using Diazo in the following case? A skeleton for new site has several meta tags like this: XPATH for the author in…
user918176
  • 1,770
  • 13
  • 34
3
votes
3 answers

plone.app.theming including content from external site

This seems possible, but I'm missing something. I'm using plone.app.theming (diazo). I'm trying to pull in pages from a cold fusion site. I can get the first page to load using but the page then has urls that refer to more data pages. The urls…
CMcStone
  • 51
  • 3
2
votes
2 answers

Best way to serve static resource (CSS, Images) with XDV in Plone

I have tried several ways to serve my static resources from Plone with XDV: Putting the CSS and images in the Custom folder - files are 404 not found Serving them from Apache and setting the Absolute URL Prefix in the XDV config - works, but any…
drkvogel
  • 2,061
  • 24
  • 17
2
votes
1 answer

Problems seeing my xdv changes in Plone

It seems like lots of people are using xdv successfully so this must be something I'm not getting about xdv. I am running 4.0.3 on my local server (Mac). I have a xdv theme running in Plone (diazo.example.com) and I am trying to modify the styles. I…
emb03
  • 305
  • 2
  • 9
2
votes
1 answer

Plone/XDV Related Item Overlay is Empty

I have a Plone 4 site using collective.xdv for the theme. Overlays for the login and contact form work fine. But if I go to edit > categorization tab and try to add a related item, the overlay is blank. Looking at it in Firebug, the tags are correct…
cdw9
  • 390
  • 2
  • 6
2
votes
1 answer

How to strip out character references inserted by Diazo into text nodes

I'm using plone.app.theming 1.0b5 and Plone 4.1 rc3. Our Diazo rules contain an number of external content includes and we're using one such include to insert Google Analytics script into the result:
scarba05
  • 2,943
  • 1
  • 27
  • 29
2
votes
2 answers

Setting doctype for XDV theme

I have in my theme HTML file: But in the page output I see (probably coming from main_template.pt):
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
2
votes
2 answers

Rewriting URLs with XDV

We are using static HTML files as theme for our Plone 4 site with collective.xdv. The static HTML files themselves are openable in a web browser making the theming process easy for the theme authors. However, theme files use a file system resource…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
1
vote
2 answers

collective.xdv - define an alternative theme breaks transform for default theme

I'm using plone 4.0.1 + collective.xdv 1.0rc11 and I need to use different themes. I'm trying to do as described in a recent question/answer but when I insert a new theme with a condition I get no transform at all for the default theme. Here are…
simahawk
  • 2,421
  • 1
  • 16
  • 22
1
vote
1 answer

XDV condition based on a presence of a cookie

I'd like to create XDV rules based on a cookie condition. Let's say that I have a cookie called "mobile" and if it's present I want to delete some stylesheet and script rules. (BTW prototyping plone.org mobile version)
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
1
vote
1 answer

How to transfer changed content into plone theme with diazo?

Now I need the following search structure in the theme:
jurihandl
  • 665
  • 1
  • 9
  • 24
1
vote
2 answers

How can I preserve white spaces between tags with Diazo?

I'm creating a simple Diazo theme. The rules.xml is something like this:
gulima
  • 139
  • 2
  • 11
1
vote
1 answer

Page unthemed when using overlay form

When i submit my form that is being displayed in an overlay, the resultant page is unthemed. If i submit the same form from a regular page view the page is themed as expected. Not sure how to debug this? Using XDV, Plone 4.2
Aaron Williams
  • 655
  • 4
  • 11
0
votes
1 answer

Diazo: not style overlay windows in Plone

I am upgrading to Plone 4.2 (from 4.0.1) and moving my theme product from XDV to Diazo. A bug has presented where when i submit a form from an overlay to a custom page template, the resulting page is 'plain'. By 'plain' I mean the only visible…
Aaron Williams
  • 655
  • 4
  • 11