Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Proble With 'READ MORE' In The News 
 
Read more dont appear in the news... I dont know why... this is the tpl:

Code: [Download] [Hide] [Select]
<table class="empty-table" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
    <td>
        <!-- BEGIN news_categories -->
        <table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr><td class="row-header" colspan="{S_COLS}" nowrap="nowrap"><span>{L_NEWS_CATS}</span></td></tr>
        <!-- END news_categories -->
        <!-- BEGIN no_news -->
        <tr><td class="row1 row-center" height="50"><span class="gen">{L_NO_NEWS_CATS}</span></td></tr>
        <!-- END no_news -->

        <!-- BEGIN newsrow -->
        <tr>
            <!-- BEGIN newscol -->
            <td width="{S_COL_WIDTH}" class="row1 row-center" onclick="window.location.href='{INDEX_FILE}?{PORTAL_PAGE_ID}cat_id={newsrow.newscol.ID}'"><span class="genmed"><a href="{INDEX_FILE}?{PORTAL_PAGE_ID}cat_id={newsrow.newscol.ID}"><img src="{newsrow.newscol.THUMBNAIL}" alt="{newsrow.newscol.DESC}" title="{newsrow.newscol.DESC}" vspace="10" border="0" /></a></span></td>
            <!-- END newscol -->
        </tr>
        <tr>
            <!-- BEGIN news_detail -->
            <td class="row1g-left row-center"><span class="forumlink">{newsrow.news_detail.NEWSCAT}</span></td>
            <!-- END news_detail -->
        </tr>
        <!-- END newsrow -->

        <!-- BEGIN news_categories -->
        </table>
        <br />
        <!-- END news_categories -->

        <!-- BEGIN news_archives -->
        <table class="forumline" width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr><td class="row-header"><span>{L_NEWS_ARCHIVES}</span></td></tr>
        <tr>
            <td class="row1">
        <!-- END news_archives -->
            <!-- BEGIN arch -->
                <ul style=" padding: 0 1.3em; margin: 5px 10px;">
                <!-- BEGIN year -->
                    <li class="gen"><a href="{INDEX_FILE}?{PORTAL_PAGE_ID}news=archives&amp;year={arch.year.YEAR}">{arch.year.YEAR}</a></li>
                    <!-- BEGIN month -->
                    <li class="gen" style="margin-left: 1em;"> <a href="{INDEX_FILE}?{PORTAL_PAGE_ID}news=archives&amp;year={arch.year.YEAR}&amp;month={arch.year.month.MONTH}">{arch.year.month.L_MONTH} {arch.year.month.POST_COUNT} </a></li>
                    <!-- BEGIN day -->
                    <li class="gen" style="margin-left: 2em;"> <a href="{INDEX_FILE}?{PORTAL_PAGE_ID}news=archives&amp;year={arch.year.YEAR}&amp;month={arch.year.month.MONTH}&amp;day={arch.year.month.day.DAY}">{arch.year.month.day.L_DAY3} {arch.year.month.day.L_DAY2} {arch.year.month.day.L_DAY} {arch.year.month.day.POST_COUNT}</a></li>
                    <!-- END day -->
                    <!-- END month -->
                <!-- END year -->
                </ul>
            <!-- END arch -->
        <!-- BEGIN news_archives -->
            </td>
        </tr>
        </table>
        <br />
        <!-- END news_archives -->

        <!-- BEGIN no_articles -->
        <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
        <tr><td class="row1 row-center" height="50"><span class="gen">{L_NO_NEWS}</span></td></tr>
        </table>
        <br />
        <!-- END no_articles -->
        <!-- BEGIN articles -->
        {IMG_THL}{IMG_THC}<a href="{INDEX_FILE}?{PORTAL_PAGE_ID}topic_id={articles.ID}" class="forumlink">{articles.L_TITLE}</a>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="2" border="0">
        </tr>
        <tr>
            <td class="row2g-left-top">
                <table class="empty-table" width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tr>
                        <td width="1"><img src="{SPACER}" alt="" width="1" height="100%" /></td>
                        <td valign="top"><a href="{INDEX_FILE}?{PORTAL_PAGE_ID}cat_id={articles.CAT_ID}" title ="{articles.CATEGORY}"></a></td>
                        <td width="1"><img src="{SPACER}" alt="" width="1" height="100%" /></td>
                    </tr>
                </table>
            </td>
            <td class="row2g-left-top" width="100%">
                <div class="post-text">{articles.BODY}</div>
                {articles.ATTACHMENTS}<br /><br />
                <span class="gensmall">{articles.READ_MORE_LINK}</span>
            </td>
        </tr>

        </table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
        <!-- END articles -->
        <!-- BEGIN comments -->
        <table class="empty-table" width="100%" cellspacing="0" cellpadding="0" border="0">
            <div align="left" style="border: #dddddd solid 1px; padding: 10px; margin: 10px 0 10px 0px; clear: both;">
                <div class="forumlink">{comments.L_TITLE}</div>
                <div class="post-details">{comments.POST_DATE} {L_BY} {comments.L_POSTER}</div>
                <div class="post-text">
                <br /><span>{comments.BODY}</span>
                </div>
            </div>
        </table>
        <!-- END comments -->
        <!-- BEGIN pagination -->
        <div style="text-align: right; padding: 10px; margin: 10px 0 10px 20px; clear: both;"><span class="pagination">{pagination.PAGINATION}</span></div>
        <!-- END pagination -->

    </td>
</tr>
</table>

 



 
ZeTaSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Proble With 'READ MORE' In The News 
 
You have to set up what amount of characters u want to display as max on portal page. And if a notice exed that amount, then read more will appear
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron