Sep 07, 2008, 01:48 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Read what MODx Developers say: MODx Dev. Blogs
Pages: [1] 2 3 4   Go Down
  Print  
Author Topic: [Template] Blue Marinée  (Read 17604 times)
0 Members and 1 Guest are viewing this topic.
Mark
Coding Team
*
Posts: 3,247


Ditto Developer


WWW
« on: Nov 22, 2005, 07:14 PM »

Blue Marinée template by Ian Main

Ported to MODx by Mark Kaplan

Demo at http://modxdev.net

Quote
Install
1. Copy the bluemarinee folder to assets/templates/

2. Create a new template with the html from template.html

NOTE: All chunk and snippet names are CASE SENSATIVE!

3. Create a new chunk called NewsListingTemplate for newslistingtemplate.chunk.tpl, another chunk called comment for comment.chunk.tpl, and another chunk called commentForm for commentForm.chunk.tpl

4. Create a new snippet for Search.snippet.php

5. Update FormBlogComments.chunk.tpl and snippet.newslisting.txt with the new code

6. Update the NewsListing snippet call accordingly (based on the demo site)

[[NewsListing? &tpl=`NewsListingTemplate` &startID=`2` &summarize=`3` &total=`20` &commentschunk=`FormBlogComments`]]

7. Go to Manage resources >> Template Variables >> loginName and check the checkbox corresponding to your new template

8. Set the default template and change all the pages to the new template via the Site settings tab in System configuration



* preview.png (39.36 KB, 1280x861 - viewed 2823 times.)

* preview_thumbnail.gif (10.09 KB, 258x269 - viewed 5319 times.)
* bluemarineetemplate.zip (29.35 KB - downloaded 1575 times.)
« Last Edit: Nov 29, 2005, 07:49 PM by Mark » Logged

OpenGeek
MODx Co-Founder
Foundation
*
Posts: 4,670


looking a little more like my avatar again...


WWW
« Reply #1 on: Nov 22, 2005, 07:31 PM »

Very cool Mark; I especially like the simple little dotted arrows for menu sublinks in this sidebar.
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual.
  — Frank Herbert
zi
MODx Special Forces /
Administrator
*
Posts: 2,914


May Peace Be On You


WWW
« Reply #2 on: Nov 23, 2005, 03:42 AM »

Nice work Mark ! Smiley

Thanks for sharing.

regards,

zi
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
pee2be
Jr. Member
*
Posts: 26



« Reply #3 on: Nov 23, 2005, 05:39 AM »

Yeah Mark looks really nice!!! Smiley hehe

Cheers,

Paul
Logged
Loic78
Jr. Member
*
Posts: 1


« Reply #4 on: Nov 23, 2005, 07:07 AM »

OOps... I install this template but i've problem with the search fonction...
I'm alone ?

Thanks.
Loïc
Logged
zi
MODx Special Forces /
Administrator
*
Posts: 2,914


May Peace Be On You


WWW
« Reply #5 on: Nov 23, 2005, 07:54 AM »

OOps... I install this template but i've problem with the search fonction...
I'm alone ?

Thanks.
Loïc

You are not alone, but it would be great if you will be more specific about your problem !

Smiley
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
R.S.
Coding Team
*
Posts: 125


« Reply #6 on: Nov 24, 2005, 07:02 AM »

Heh, you're trully not alone.

Just found this template wonderfull for my website, so it's up and running now :-)

It's not in the snippet doc as far as I can see, but if you use the landing page feature, you have to put this:

[[FlexSearchForm? &FSF_showForm=`0`]]

(or [[FlexSearchForm? &FSF_showForm=`1`]] if you want another search form show up)

into the landing page content section, else nothing shows up.
Took me a while to figure that out though ;-)

Greetz
Logged
julche
Jr. Member
*
Posts: 8


WWW
« Reply #7 on: Nov 29, 2005, 07:40 AM »

Hello Greetz,
I have the same pb whit my wibsite.
Can you explain me where and how to put this code ?
[[FlexSearchForm? &FSF_showForm=`0`]]
Thank you very much !
Julche
Logged
French Frog
Full Member
***
Posts: 138


« Reply #8 on: Nov 29, 2005, 09:33 AM »

Quote
Update FormBlogComments.chunk.tpl and snippet.newslisting.txt with the new code
what does that mean ? Erase the existing chunk and snippet and replace them with the marinee packaged chunk and template ?

Logged

Be not deceived: evil communications corrupt good manners.
I Corinthians (ch. XV, v. 33)
zi
MODx Special Forces /
Administrator
*
Posts: 2,914


May Peace Be On You


WWW
« Reply #9 on: Nov 29, 2005, 09:36 AM »

Hello Greetz,
I have the same pb whit my wibsite.
Can you explain me where and how to put this code ?
[[FlexSearchForm? &FSF_showForm=`0`]]
Thank you very much !
Julche


Please check this http://modxcms.com/forums/index.php/topic,1435.msg9556.html#msg9556

Remember, there is a search bar on top of this page Wink

regards,

zi
Logged

“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
Mark
Coding Team
*
Posts: 3,247


Ditto Developer


WWW
« Reply #10 on: Nov 29, 2005, 09:37 AM »

If you are using the demo site as a base (You checked the install demo site option) then a page was already created for you with that code.

If you are not using the demo site, create a page called search results and place this there:

[!FlexSearchForm? &FSF_showForm=`0`!]

Then make sure to update the Search snippet call in the template with the id of the page you just created
Logged

Mark
Coding Team
*
Posts: 3,247


Ditto Developer


WWW
« Reply #11 on: Nov 29, 2005, 09:38 AM »

Quote
Update FormBlogComments.chunk.tpl and snippet.newslisting.txt with the new code
what does that mean ? Erase the existing chunk and snippet and replace them with the marinee packaged chunk and template ?

Yes, erase the existing code and replace it with the included files.
Logged

jaredc
Coding Team
*
Posts: 286



« Reply #12 on: Nov 29, 2005, 10:30 AM »

Just a sidenote-

You shouldn't need the backticks around the parameter values, nor do you need the question mark AND the ampersand immediately following. Not that it seems to be hurting anything. Just didn't want anyone to think they weren't getting their moneys worth because they weren't formatted that way  Wink

[[FlexSearchForm?FSF_showForm=0]]

Should work fine.
Logged

Standard Disclaimer
I could be totally wrong.
French Frog
Full Member
***
Posts: 138


« Reply #13 on: Nov 29, 2005, 11:14 AM »

what I am missing is the search field Smiley

I see :Search search site archives
But nothing else...
Logged

Be not deceived: evil communications corrupt good manners.
I Corinthians (ch. XV, v. 33)
French Frog
Full Member
***
Posts: 138


« Reply #14 on: Nov 29, 2005, 11:26 AM »

[!Search? &FSF_showResults=`0` &FSF_landing=`43`!] (*from the template*)
There is an existing and published page with id 43, why can't I see the research field ?
What did I miss ? (except marrying Nathalie when I was 20)
Logged

Be not deceived: evil communications corrupt good manners.
I Corinthians (ch. XV, v. 33)
Pages: [1] 2 3 4   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!