Paul Sponagl
b13c5d1d40
added a snippet option to the liquid nav tag
...
this is useful if you want to render more than
just a page.title string within the nav list item.
(page.menue_image, page.menue_teaser...)
use nav snippet: "<liquid snippet>" to provide a string
or nav snippet: "<snippetname>" to load the snippet from db.
added page.<editable_field> for usage within liquid templates
2012-03-07 16:32:25 +01:00
Didier Lafforgue
6619d4e5dc
all the non-models specs have been fixed
2012-02-16 02:45:14 +01:00
Didier Lafforgue
87c8f3bfd7
enhance the nav tag (allow custom css classes for the list and the selected menu item) + clean the locomotive.rb template file
2012-02-15 18:26:58 +01:00
did
c0b8587eb2
rename the i18n site module into locales in order to avoid conflicts with the original i18n + rendering a page according to a locale specified in the url seems to work (tests are following)
2012-01-26 02:33:39 +01:00
did
50f06a7b85
invalidate dynamic klass after an import + change the id of a link in the nav tag
2011-03-09 00:27:46 +01:00
did
11ccb31088
clean code
2011-03-07 20:31:08 +01:00
did
94be90986d
merge Dirk's branch + upgrade a lot of gems (rails, ...etc)
2011-02-12 15:00:57 +01:00
Dirk Kelly
7bce392e56
moved to the listed methods in the nav
2011-02-01 16:07:56 +08:00
Dirk Kelly
2d3c0e974f
not showing unlisted pages in the nav
2011-02-01 14:43:07 +08:00
dinedine
2e774b2a97
conflict between the index scope in the page model and the mongoid index method
2011-01-27 10:49:42 +01:00
Dirk Kelly
7d529f22d7
I can't believe I missed the include_page? method.
...
Now supports exactly the same standards as the top level list elements, such as unpublished and excluded urls
2011-01-25 07:54:07 +08:00
Dirk Kelly
825521a5d4
need to reject templatized pages, because they're not real pages.
...
Also using children with minimal attributes, like top level.
2011-01-24 23:20:26 +08:00
Dirk Kelly
f512b417f5
added the depth option to nav tag
2011-01-24 17:00:02 +08:00
dinedine
572ee360a1
preserve page orders when importing theme + handle favicon as theme asset + add tests for the nav tag + polish code (remove useless logs)
2011-01-03 11:50:09 +01:00
dinedine
210ce3d2d8
enhance the nav tag + some optimization in the back-office when rendering the pages tree
2011-01-02 23:58:06 +01:00
dinedine
a1d9a5d548
reflect changes from the last imported theme (enhancements + bugs fixed)
2010-10-31 00:30:30 +02:00
dinedine
53500bda9e
first draft of the new template inheritance mechanism based on our fork of Liquid
2010-08-20 02:31:01 +02:00
Jacques Crocker
a09329c030
Cleaning whitespace on all .rb files so commit diffs from now on will be a bit more readable
2010-07-23 13:09:54 -07:00
dinedine
c4f4979203
remove dirty logger
2010-07-20 12:21:18 +02:00
dinedine
fb148a31a4
templatized page + fix bug with nav widget
2010-07-16 22:36:07 +02:00
dinedine
0671a55ef8
sitemap + use inherited_sources gem to refactor controllers + fix bugs + clean stuff + save some forms with CMD + S (in progress)
2010-07-13 02:46:17 +02:00
dinedine
c38a8ff9dd
adding 2 new liquid tags: consume (to retrieve posts from a blog for instance) + nav (display children of a page) + fix a few bugs
2010-07-06 02:05:47 +02:00