1
nmshah
question on Article module
  • 2007/12/7 12:37

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


I was playing with the article module by DJ. Two questions
1. For search engines whether the module name should come before or the article title.
2. how to change the page title for articles from "module name-article title" to "article title-module name".
3. On the articles page the article displays in this order

a. summary
b. tags
c. The remaining article after the summary.

I dont want to display tags. Can this be done and how.

2
phppp
Re: question on Article module
  • 2007/12/8 9:31

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


modify template article_article.html to remove
<{if $tagbar}>
            <!-- 
                
There are two ways to render tags:
                
1. Simply use the tag_bar.html template
                2. 
Use customized template but with tagbar variables
            
-->
            <!-- 
Select your way -->
            <{
assign var=mode_tagbar value=2}>
            <!-- 
Way 1 -->
            <{if 
$mode_tagbar eq 1}>
                <
div class="taglist" style="padding: 5px;">
                <{
includeq file="tag_bar.html"}>
                </
div>
            <!-- 
Way 2 -->
            <{else}>
            <
div>
                <
span class="article-label"><{$tagbar.title}>:</span>
                <{
foreachq item=keyword from=$tagbar.tags}>
                <
span class="article-content"><{$keyword}></span>
                <{/foreach}>
            </
div>
            <{/if}>
        <{/if}>

3
nmshah
Re: question on Article module
  • 2007/12/8 11:03

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


The rss, rdf, atom links dont seem to work, on clicking any of them there is an error
"xml parsing error"

Anything wrong that i m doing
info
using XOOPS 2.017
php 4.4.7

Login

Who's Online

145 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits