Page 1 of 2
Modifications
Posted: Sat May 06, 2006 9:56 pm
by Benjicool
Hello,
I come because I need help !!! We have some questions for you !
1) At the Banner page, we want (my friend and me) to make disappear this thing :
(Sorry it's in French, because, the website is in French)
"(Page 1 de 1 sur 1 billets au total)"
In English :
" (Page 1 to 1 of 1 ticket on the whole)"
(I'm not sur about the traduction, sorry)
2) Does exist a computer file to modificate the Banner Page directly ?
3) After, we want to remove all of this pictures :
How to do ?
Thank for your Help (and sorry for my English, who's not perfect)
Posted: Sun May 07, 2006 10:13 am
by Col. Kurtz
1+2) Edit the entries.tpl file of your template. If your template has no entries.tpl copy that file from the default folder and modify it.
Look for something like this:
<div class='serendipity_entryFooter' style="text-align: center">
{if $footer_prev_page}
<a href="{$footer_prev_page}">« {$CONST.PREVIOUS_PAGE}</a>
{/if}
{if $footer_info}
({$footer_info})
{/if}
{if $footer_next_page}
<a href="{$footer_next_page}">» {$CONST.NEXT_PAGE}</a>
{/if}
{serendipity_hookPlugin hook="entries_footer"}
</div>
I think what you look for is the bold marked text, remove it. (this might be a little different in each template, once you know what to look for its easy to do)
3) Go to the "Configure plugins" menu, select the categories plugin, there you can change the "XML-Button" set it to "none"
Posted: Sun May 07, 2006 2:33 pm
by Benjicool
Hello !
GREAT THANK Col. Kurtz !!!!!
I have 2 news question :
1) what plug-ins use this website ?
www.disneytheque.com
We want to use some of this plug-ins.
2) And, how to do for remove the button "go" ?
Thank for your help !!

Posted: Sun May 07, 2006 2:42 pm
by garvinhicking
Hi!
About disneytheque.com, which plugins do you want to use, which ones do you mean?
They seem to be using those sidebar plugins:
- serendipity_plugin_recententries
- serendipity_html_nugget_plugin
- serendipity_categories_plugin
- serendipity_plugin_staticpage
- serendipity_html_nugget_plugin
Those are the right sidebar plugins. You cannot tell which event plugins they are using, since this cannot be seen on the frontend.
2. You can remove the "Go" button in the categories sidebar plugin by activating the "Smarty templating" option of that plugin and then editing the plugin_categories.tpl sidebar template. Or you could also use CSS to make that input button "display: none". If you tell me your URL, I can tell you the full CSS to use. OR, as a last option, you could just disable the option to display multiple categories at once, so then the go-button and all checkboxes disappear there.
HTH,
Garvin
2) And, how to do for remove the button "go" ?
Thank for your help !!

[/quote]
Posted: Sun May 07, 2006 6:57 pm
by Benjicool
Thank you garvinhicking !!!
My friend and me, we do not know well the language of this blog.
Posted: Sun May 07, 2006 7:06 pm
by Benjicool
We have a new question !
1) Where is it necessary to go to modify the size of text for the bonds of the slide bars?
Posted: Sun May 07, 2006 7:31 pm
by Benjicool
Another question :
2) How to remove the text below the news ?
Posted: Mon May 08, 2006 12:28 am
by Col. Kurtz
what news and what text do you mean?
Id would be helpful if you give us the URL of your installation.
Posted: Mon May 08, 2006 12:34 am
by Benjicool
Ok, this is the address :
http://dlrpn.club.fr/index.php
(The website is in French)
Posted: Mon May 08, 2006 9:01 am
by Col. Kurtz
Benjicool wrote:Another question :
2) How to remove the text below the news ?
do you want to remove this:
?
Posted: Mon May 08, 2006 12:18 pm
by garvinhicking
Hi!
You should also check your page with the HTML Validator. There are lots of <font> Tags in there, which is really not used any more! And many empty tags you shouldn't use. Plus, you entered "span style="font-size:11pt;">" in the code instead of "<span style="font-size:11pt;">"!
HTH,
Garvin
Posted: Mon May 08, 2006 2:34 pm
by Benjicool
For : Col. Kurtz
No, its this thing :
Code: Select all
"Rétroliens
Rétrolien spécifique pour ce billet
Pas de rétroliens
Commentaires
Afficher les commentaires en (Vue non groupée | Vue groupée)
Pas de commentaires
L'auteur n'a pas autorisé l'ajout de commentaires pour ce billet."
Posted: Mon May 08, 2006 3:11 pm
by Col. Kurtz
again edit the entries.tpl
remove this:
Code: Select all
{if $entry.has_comments}
{if $use_popups}
| <a href="{$entry.link_popup_comments}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{$entry.label_comments} ({$entry.comments})</a>
{else}
| <a href="{$entry.link}#comments">{$entry.label_comments} ({$entry.comments})</a>
{/if}
{/if}
{if $entry.has_trackbacks}
{if $use_popups}
| <a href="{$entry.link_popup_trackbacks}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{$entry.label_trackbacks} ({$entry.trackbacks})</a>
{else}
| <a href="{$entry.link}#trackbacks">{$entry.label_trackbacks} ({$entry.trackbacks})</a>
{/if}
{/if}
and this:
Code: Select all
{if $is_single_entry and not $use_popups and not $is_preview}
{if $CONST.DATA_UNSUBSCRIBED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_UNSUBSCRIBED|@sprintf:$CONST.UNSUBSCRIBE_OK}</div><br />
{/if}
{if $CONST.DATA_TRACKBACK_DELETED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_TRACKBACK_DELETED|@sprintf:$CONST.TRACKBACK_DELETED}</div><br />
{/if}
{if $CONST.DATA_TRACKBACK_APPROVED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_TRACKBACK_APPROVED|@sprintf:$CONST.TRACKBACK_APPROVED}</div><br />
{/if}
{if $CONST.DATA_COMMENT_DELETED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_COMMENT_DELETED|@sprintf:$CONST.COMMENT_DELETED}</div><br />
{/if}
{if $CONST.DATA_COMMENT_APPROVED}
<br /><div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_COMMENT_APPROVED|@sprintf:$CONST.COMMENT_APPROVED}</div><br />
{/if}
<div class="serendipity_comments serendipity_section_trackbacks">
<br />
<a id="trackbacks"></a>
<div class="serendipity_commentsTitle">{$CONST.TRACKBACKS}</div>
<div class="serendipity_center">
<a rel="nofollow" style="font-weight: normal" href="{$entry.link_trackback}" onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:htmlall}'); return false;" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape}">{$CONST.TRACKBACK_SPECIFIC}</a>
</div>
<br />
{serendipity_printTrackbacks entry=$entry.id}
</div>
{/if}
{if $is_single_entry and not $is_preview}
<div class="serendipity_comments serendipity_section_comments">
<br />
<a id="comments"></a>
<div class="serendipity_commentsTitle">{$CONST.COMMENTS}</div>
<div class="serendipity_center">{$CONST.DISPLAY_COMMENTS_AS}
{if $entry.viewmode eq $CONST.VIEWMODE_LINEAR}
({$CONST.COMMENTS_VIEWMODE_LINEAR} | <a href="{$entry.link_viewmode_threaded}#comments">{$CONST.COMMENTS_VIEWMODE_THREADED}</a>)
{else}
(<a href="{$entry.link_viewmode_linear}#comments">{$CONST.COMMENTS_VIEWMODE_LINEAR}</a> | {$CONST.COMMENTS_VIEWMODE_THREADED})
{/if}
</div>
<br />
{serendipity_printComments entry=$entry.id mode=$entry.viewmode}
{if $entry.is_entry_owner}
{if $entry.allow_comments}
<div class="serendipity_center">(<a href="{$entry.link_deny_comments}">{$CONST.COMMENTS_DISABLE}</a>)</div>
{else}
<div class="serendipity_center">(<a href="{$entry.link_allow_comments}">{$CONST.COMMENTS_ENABLE}</a>)</div>
{/if}
{/if}
<a id="feedback"></a>
{foreach from=$comments_messagestack item="message"}
<div class="serendipity_center serendipity_msg_important">{$message}</div>
{/foreach}
{if $is_comment_added}
<br />
<div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}</div>
{elseif $is_comment_moderate}
<br />
<div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}<br />{$CONST.THIS_COMMENT_NEEDS_REVIEW}</div>
{elseif not $entry.allow_comments}
<br />
<div class="serendipity_center serendipity_msg_important">{$CONST.COMMENTS_CLOSED}</div>
{else}
<br />
<div class="serendipity_section_commentform">
<div class="serendipity_commentsTitle">{$CONST.ADD_COMMENT}</div>
{$COMMENTFORM}
</div>
{/if}
</div>
{/if}
again this is the code in the default template. this will remove any links and messages to trackbacks and comments.
Posted: Wed May 10, 2006 7:39 pm
by Benjicool
Great Thank for your help twice !!
Another question : We put some pictures inside the billet. But, we would like to include there a link which will bring towards a larger version the image, in order to be able to take it by the link.
Posted: Thu May 11, 2006 7:17 am
by Col. Kurtz
if you put a photo into an entry with the media manager you can choose if you want it to link to a larger version. of course you can also enter the link html by hand.