PDA

View Full Version : Sitemaps and frontpage


sandeep
03-18-2008, 05:30 PM
Hi my friend needed help on vivvo, and well he doesn't even know the first step with it.

Well I was coming through a couple of things that he wanted and I didn't know how to do them, I was just wondering if anyone could help with this.

1) Is it possible to display the url's for tags as well in the sitemap: e.g. http://www.domain.com/tag/mytag

2) Is there anyway to have the whole of the newest post shown on the frontpage without having the user click on the title to go to the article view.

Thanks,

Micha
03-18-2008, 05:49 PM
1) Not sure I understand completely, but here goes:

You have list of all tags when you point your browser to http://www.domain.com/tag.
Template used for that can be located at templates\xhtml\system\tags_page.tpl.

2) Sure thing, just replace <vte:value select="{article.get_summary}" /> with <vte:value select="{article.get_body}" /> in summary template that you use.

sandeep
03-18-2008, 06:12 PM
Hi, yes that kind of worked, I was thinking of this in my head Let me see if i can say it correctly.

1. I would like as the 1st thing the visitor see's is a blog layout post.
2. Below that i would like 2 columns with 3 rows of summary box posts. (I can do this.)

3. And if you can tell how to add tag url's in the sitemap this would be great. I was looking at the google_sitemap.tpl file and I just don't know how to use it.(High Priority)

Thanks for the fast response

sandeep
03-18-2008, 11:51 PM
Sorry I need these customizations done, if anyone can help me.

And another thing.. is there a way to get the stats from the admin panel to display on my homepage.

Thanks,

Micha
03-19-2008, 10:44 AM
1. You can read Blog case study on our resources site: http://www.vivvo.net/resources/case-studies/blog-case-study.html

Also you can download entire template set and study it to help you get what you need: http://www.vivvo.net/resources/downloads/template-sets/blog.html

3. This can be done by customizing google_sitemap.tpl template and combining it with tags_page.tpl.

sandeep
03-20-2008, 02:27 AM
Thanks for the template set.

How would you combone the tags to the google_sitemap.tpl?

I was looking at it confused me a lot!

Thanks for your help,

UPDATE

I tried adding this code before the </urlset> and now works perfect. Just one thing, how about the data the tag was in?


<vte:box module="box_tags">
<vte:params>
<vte:param name="search_limit" value="1000" />
</vte:params>
<vte:template>
<vte:if test="{tag_list}">
<vte:foreach item = "tag" from = "{tag_list}">
<url>
<vte:if test="{tag.name} != ''">
<loc><vte:value select="{VIVVO_URL}" /><vte:value select="{tag.get_href}" /></loc>
</vte:if>
</url>
</vte:foreach>
</div>
</vte:if>
</vte:template>
</vte:template>
</vte:box>