diff --git a/README.markdown b/README.markdown index 0cbc41f..d122afc 100644 --- a/README.markdown +++ b/README.markdown @@ -71,44 +71,3 @@ All these 3 URLs will request "Sym Single" Page: - www.example.com/ro/evenimente/single/primul-titlu ---> **sym-events/sym-single**/primul-titlu - www.example.com/en/events/single/first-title --------> **sym-events/sym-single**/first-title - www.example.com/fr/evenements/single/premier-titre --> **sym-events/sym-single**/premier-titre - - - -### 3.2 More examples regarding `plh-toolkit.xsl` utility ### - -Recommendation: put the navigation DS output in a variable so you can access it easily: - - - -Get the URL of a page with ID = 7: - - - -Get the Title of a page with ID = 7: - - - -If you have URL parameters attached to current URL and want to pass them forward, call template `plh-url-parameters` : - - - - -
-Building current-page link in all languages: - -In `master.xsl`, or wherever you want to put the links, call this template: - - - -On pages without parameters it works fine out-of-the-box. However, what do you do with pages that have parameters, such as `title --> event-title` ?
-In generating current-page URL in all languages, the `plh-page-parameters` template is called along the way to populate the URL with localised parameters.
-So, on each page that has parameters, overload (define) this template with the contents you need. - -Because I'm using Multilingual Text, this is how my template looks like (NB: my page parameter is for `Title` field) in `events_title.xsl`: - - - - - - - diff --git a/licence b/licence index 6efff58..bcfb44f 100644 --- a/licence +++ b/licence @@ -1,4 +1,4 @@ -Copyright 2012 Vlad Ghita +Copyright 2014 Vlad Ghita Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/utilities/plh-toolkit.xsl b/utilities/plh-toolkit.xsl deleted file mode 100644 index 3a711af..0000000 --- a/utilities/plh-toolkit.xsl +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - - - - - - - -
  • -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -