Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Devotional Journal Extension > edit the page and text navigation
Total Posts: 8 - Pages (1): [1]
user picture Author: Andre Daley
Posted: Oct 31 2005 - 01:03 PM
Subject: edit the page and text navigation
How can I edit the page and text navigation from the devo/journal.
I put the devo content on a page but the text size and page nav area are way off to the right of the page. I didn't see a constant for this in the constant editor

http://www.mosaiclife.org/pursue/practices/devotions/

Andre
Author: Dave Slayback
Posted: Oct 31 2005 - 01:33 PM
Subject: re: edit the page and text navigation
Hi Andre,

You should update to the latest Devo Journal version. I added several constants to make the configuration more flexible.

If you want the ultimate in flexibility though, you can grab the template, wecdevo.tmpl, from the extension folder -- usually typo3conf/ext/wec_devo/pi1. Then edit this and change anything you would like.

If you have any more questions, feel free to ask.

-Dave
WEC Developer
user picture Author: Andre Daley
Posted: Sep 12 2006 - 10:46 PM
Subject: re: edit the page and text navigation
Dave,
I'm still trying to adjust the devotional so it will fit on my page content area. I have a fixed center table page. http://www.mosaiclife.org/pursue/devotional/
Can you give me some ideas on how to change the template so that the part that is now off to the right of the main table will be below the content?

Thanks

Andre
Author: Dave Slayback
Posted: Sep 14 2006 - 10:28 AM
Subject: re: edit the page and text navigation
Hi Andre,

You just need to edit and change the wecdevo.tmpl. It took me 20 minutes to create the one I have attached a link to it and others might find it useful too. It puts the journal and paging below. Of course, this all customizable so the paging/sizing icons could go somewhere else too. Also, with the journal below, you can widen it by going to Constant Editor.

[url]http://www.webempoweredchurch.org/fileadmin/forum_support/wecdevo-below.tmpl
[/url]

FYI, what I did was:
1) Move the side bar out of the row of <tr>...</tr> and made its own row of <tr>...</tr>

2) Adding extra styling with style="width:100%" to the right-col (I loooked at the CSS and it does nothing to put it on the right...except set the width...so I overrode this)

3) Switched the textpaging/sizing from top side to right side ande made both the journal div and icon div floats. So they could go side by side with CSS.
<div class="###CONTENT_CLASS###" style="float:left;width:70%;padding:8px;margin:4px;">
JOURNAL STUFF HERE
</div>
<div style="float:left;width:20%;padding:8px;margin:4px;">
ICON STUFF HERE
</div>

4) Then applied it all to the other TEMPLATEs (_NOJOURNAL, _INFO, _SCRIPTURE) in the file.

Hope this is helpful. You can change or tweak this all you want.

Note that I have found it easier to override the CSS inline when you are making minor changes. If you were totally redoing the look, then I would recommend to create new CSS and template for the look.

-Dave[url][/url]
user picture Author: Andre Daley
Posted: Sep 14 2006 - 02:02 PM
Subject: re: edit the page and text navigation
Dave,
Thanks for this I really appreciate it.
Where do I upload the file? I tried fileadmin/ext templates but that doesn't seems to have worked the template file is there, I added to the devo record but nothing changed.

Thanks again
Andre
Author: Dave Slayback
Posted: Sep 14 2006 - 03:12 PM
Subject: re: edit the page and text navigation
Andre,

To get it to use this template file, you need to create or edit the Page template (go to Template on action bar) and then add this to the Setup:

plugin.tx_wecdevo_pi1.templateFile = fileadmin/tx_wecdevo/wecdevo-below.tmpl

(you can change the fileadmin... to your exact path and name of the template)

Also, just to let you know -- it appears the Template File in the Flexform for the WEC-Devo is not working. That would be an alternative way to do set the template. I will look into that to fix that.

-Dave
user picture Author: Andre Daley
Posted: Sep 18 2006 - 04:04 PM
Subject: re: edit the page and text navigation
Unfortunately I've now lost the journal textbox

http://www.mosaiclife.org/pursue/devotional/
Any help is appreciated.

Andre
Author: Dave Slayback
Posted: Sep 19 2006 - 01:05 PM
Subject: re: edit the page and text navigation
Hi Andre,

The journal should be there. It is likely not there because either:
a) you have to turn the Journal on in the Devo Flexform under Options->Allow Journal. Make sure that is checked.

b) If you setup a section (i.e., Daily) with a different template section, then make sure that template has ###JOURNAL### in the template. In the template I posted, it only include ###JOURNAL### in the default (which is used if you do not specify a template) and the ###TEMPLATE_SCRIPTURE###. You would find this setting if you edit the Devo Section where you set up Weekly/Daily/Discussion.

-Dave
Total Posts: 8 - Pages (1): [1]
You must login to post a message to this conference.