Template: Coffee Shop
Posted by Ravenswood
|
Template: Coffee Shop June 17, 2009 07:59AM |
Registered: 17 years ago Posts: 221 |
|
Re: Template: Coffee Shop July 14, 2009 12:02PM |
Registered: 17 years ago Posts: 221 |
Version 1.3
Template has been updated to provide built-in support for the following modules:
* User Avatar
* User List
* New Message Icon
* (Built-in support for the Announcements module was already present in previous versions.)
Minor tweaks.
-------------------------------------------------------------------
"When given a choice, always choose monkeys."
Template has been updated to provide built-in support for the following modules:
* User Avatar
* User List
* New Message Icon
* (Built-in support for the Announcements module was already present in previous versions.)
Minor tweaks.
-------------------------------------------------------------------
"When given a choice, always choose monkeys."
|
Add additional image to coffe shop theme heading August 31, 2009 05:15PM |
Registered: 16 years ago Posts: 16 |
|
Re: Template: Coffee Shop September 01, 2009 02:36PM |
Registered: 17 years ago Posts: 221 |
To the left of the header? Do you mean like in the attached image?
If that's what you want, here's how to do it:
In the header.tpl file for the template, look for this section:
And add-in a link to your image like this:
That section prints the headings for several different kinds of pages, so you'll probably want to add this to more than one of them. Like this, maybe:
Let me know how that works for you, or if you need any more help. Thanks.
- Jim
-------------------------------------------------------------------
"When given a choice, always choose monkeys."
If that's what you want, here's how to do it:
In the header.tpl file for the template, look for this section:
{ELSEIF NAME}
{! This is a forum page other than a read page or a folder page }
<span class="h1 heading">{NAME}</span class="h1">
And add-in a link to your image like this:
{ELSEIF NAME}
{! This is a forum page other than a read page or a folder page }
<span style="float: left; margin: 0px 10px 15px 0px;">
<img src="image.gif">
</span>
<span class="h1 heading">{NAME}</span class="h1">
That section prints the headings for several different kinds of pages, so you'll probably want to add this to more than one of them. Like this, maybe:
{! This <div> holds info about the active page (heading and description) }
<div id="page-info">
{IF HEADING}
{! This is custom set heading }
<span class="h1 heading">{HEADING}</span class="h1">
{IF HTML_DESCRIPTION}
<div class="description">{HTML_DESCRIPTION}</div>
{/IF}
{ELSEIF MESSAGE->subject}
{! This is a threaded read page }
<span style="float: left; margin: 0px 10px 15px 0px;">
<img src="image.gif">
</span>
<span class="h1 heading">{MESSAGE->subject}</span class="h1">
{ELSEIF TOPIC->subject}
{! This is a read page }
<span style="float: left; margin: 0px 10px 15px 0px;">
<img src="image.gif">
</span>
<span class="h1 heading">{TOPIC->subject}</span class="h1">
<div class="description">{LANG->Postedby} {IF TOPIC->URL->PROFILE}<a href="{TOPIC->URL->PROFILE}">{/IF}{TOPIC->author}{IF TOPIC->URL->PROFILE}</a>{/IF} </div>
{ELSEIF NAME}
{! This is a forum page other than a read page or a folder page }
<span style="float: left; margin: 0px 10px 15px 0px;">
<img src="image.gif">
</span>
<span class="h1 heading">{NAME}</span class="h1">
{IF HTML_DESCRIPTION}
<div class="description">{HTML_DESCRIPTION} </div>
{/IF}
{ELSE}
{! This is the index }
<span style="float: left; margin: 0px 10px 15px 0px;">
<img src="image.gif">
</span>
<span class="h1 heading">{TITLE}</span class="h1">
{IF HTML_DESCRIPTION}
<div class="description">{HTML_DESCRIPTION} </div>
{/IF}
{/IF}
</div> <!-- end of div id=page-info -->
Let me know how that works for you, or if you need any more help. Thanks.
- Jim
-------------------------------------------------------------------
"When given a choice, always choose monkeys."
|
can't send pm's with the new coffee cup template January 18, 2011 03:03PM |
Registered: 15 years ago Posts: 39 |
|
Re: can't send pm's with the new coffee cup template January 18, 2011 03:06PM |
Admin Registered: 21 years ago Posts: 8,532 |
The template probably is not up-to-date for some hack protection that was build into the most recent versions of Phorum.
Try editing the pm_post.tpl.
Search the line that starts with <form action="...etc...
Right after that line, add {POST_VARS}, so the code ends up looking somewhat like this:
After that, I think the PM post will work.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Try editing the pm_post.tpl.
Search the line that starts with <form action="...etc...
Right after that line, add {POST_VARS}, so the code ends up looking somewhat like this:
<form action="{URL->ACTION}" method="post">
{POST_VARS}
After that, I think the PM post will work.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: can't send pm's with the new coffee cup template January 18, 2011 03:42PM |
Registered: 15 years ago Posts: 39 |
Sorry, only registered users may post in this forum.