Vivvo CMS Support Forum Home | Free Trial | Online Demo | Docs and Manuals | Order Now   

Go Back   Vivvo CMS Support Forums > Vivvo 4 > Troubleshooting

Troubleshooting Problems, need help? Have a tip or advice? Post it here.

Reply
 
Thread Tools Display Modes
Old 02-23-2008, 12:26 AM   #1
sea
Guest
 
Posts: n/a
Default tpl_4007 problem

Very small problem but it's driving me crazy. Looks fine in IE but in Firefox it looks like this:



How can I fix this small problem?


Also, one more question. Is it normal that when I click on the link of a parent category that the page it opens up doesnt show all the sub categories? Can it be done?

One more question..the default for spaces in the SE friendly name and for categories is an underscore..is it possible to change it to a hypen -?

Last edited by sea; 02-23-2008 at 11:44 PM.
  Reply With Quote
Old 02-25-2008, 11:48 AM   #2
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

Hmmm, not sure what might be the problem

Can you share your website URL?
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Old 02-25-2008, 04:48 PM   #3
sea
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by sea View Post
Very small problem but it's driving me crazy. Looks fine in IE but in Firefox it looks like this:



How can I fix this small problem?


Also, one more question. Is it normal that when I click on the link of a parent category that the page it opens up doesnt show all the sub categories? Can it be done?

One more question..the default for spaces in the SE friendly name and for categories is an underscore..is it possible to change it to a hypen -?
I was able to fix it by adding a page Still need help with the bolded part though.
  Reply With Quote
Old 02-29-2008, 08:21 PM   #4
sea
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by sea View Post
I was able to fix it by adding a page Still need help with the bolded part though.
One more uppage on this before I give up on it.
  Reply With Quote
Old 02-29-2008, 08:58 PM   #5
elderban
Guest
 
Posts: n/a
Default

They will show up if there's a story in the parent category, but wont if there isn't. However, I don't use the parent categories to put stories in, only the sub-categories.

I reported that as a bug, but apparently they don't think it's a bug and told me to post a request as a "customization" in the proper forum.

But, I've also been told that it will be corrected in a future release.

Either way, I haven't found out how to do it either.

One would think that if you clicked on the parent category that stories from the sub-categories WOULD show up in it. That's how 99.9% of the other CMS's and article managers (as well as forums and just about anything else that deals with sub-categories) works...
  Reply With Quote
Old 03-03-2008, 09:31 AM   #6
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

Ok, a quick solution for this.

Open your default.tpl for category view and find this block of code:

Code:
<vte:if test="{article_list}">
  <vte:foreach item = "article" from = "{article_list}" start="1" loop="1">
    <vte:include file="{VIVVO_TEMPLATE_DIR}summary/vertical.tpl" image_size="article_small" />
  </vte:foreach>
  <vte:foreach item = "article" from = "{article_list}" start="2">
    <vte:include file="{VIVVO_TEMPLATE_DIR}summary/default.tpl" />
  </vte:foreach>
  <vte:include file="{VIVVO_TEMPLATE_DIR}box/subcategory_headlines.tpl" />
  <vte:else>
    <vte:value select="{LNG_NO_ENTRIES}" />
  </vte:else>
</vte:if>
Now the line of code just above <vte:else> with LNG_NO_ENTRIES message is include for subcategory news.

Move that line of code just bellow last </vte:if> so this block of code would look like this:

Code:
<vte:if test="{article_list}">
  <vte:foreach item = "article" from = "{article_list}" start="1" loop="1">
    <vte:include file="{VIVVO_TEMPLATE_DIR}summary/vertical.tpl" image_size="article_small" />
  </vte:foreach>
  <vte:foreach item = "article" from = "{article_list}" start="2">
    <vte:include file="{VIVVO_TEMPLATE_DIR}summary/default.tpl" />
  </vte:foreach>
  <vte:else>
    <vte:value select="{LNG_NO_ENTRIES}" />
  </vte:else>
</vte:if>
<vte:include file="{VIVVO_TEMPLATE_DIR}box/subcategory_headlines.tpl" />
If you want to remove "There were no entries found that match your criteria." message, remove this block of code:
Code:
<vte:else>
  <vte:value select="{LNG_NO_ENTRIES}" />
</vte:else>
And that should be it, you should have your news from subcategories displayed even if you don't have news in parent category.

Hope that helps
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Old 03-21-2008, 02:35 PM   #7
kovacs
Guest
 
Posts: n/a
Default

But the news are still displayed by category. It's not very useful - I simply want the page to show all articles in *this* category *and* all subcategories with the same kind of priority.
  Reply With Quote
Old 03-21-2008, 03:24 PM   #8
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,661
Rep Power: 10
Micha will become famous soon enough
Default

Quote:
But the news are still displayed by category. It's not very useful - I simply want the page to show all articles in *this* category *and* all subcategories with the same kind of priority.
Go to your default template for category, and right bellow this line
Code:
<vte:box module="box_article_list" params = "{content_params}">
add following parameter:

Code:
<vte:params>
  <vte:param name="search_cid" value="{CURRENT_CATEGORY.get_id},{CURRENT_CATEGORY.get_descendent_ids|implode:','}" /> 
</vte:params>
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Old 03-21-2008, 04:04 PM   #9
kovacs
Guest
 
Posts: n/a
Default

Brilliant Micha! You are a godsend. Worked like a charm.
  Reply With Quote
Old 04-01-2008, 01:33 AM   #10
ljtruba
Guest
 
Posts: n/a
Default

Hi Mischa,
I have added this lines

<vte:params>
<vte:param name="search_cid" value="{CURRENT_CATEGORY.get_id},{CURRENT_CATEGORY .get_descendent_ids|implode:','}" />
</vte:params>

but I get this http://www.kucnibioskop.com/index.php?category=2

I don't want to get the second part.
I just want beginnings of reviews to be shown, without categories.

Last edited by shketuljko; 04-01-2008 at 08:32 AM.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Order now:

Order your copy of Vivvo now and get:
bullet Six months free upgrades
bullet Free support
bullet Full source code
bullet Immediate download
bullet Starting at only $295.00
Order now

Support HelpDesk:

You can submit a trouble ticket in the support area at any time, using your client area email and password.

Vivvo CMS Resource Center:

The Vivvo CMS Resource Center is your window to a variety of resources that showcase Vivvo's features and technologies. So whether you're brand new to Vivvo or a seasoned user, you can find the information you need right here!

Latest Additions:

Contact us:

Business hours
Mon-Fri 9:00AM - 6:00PM GMT+1
(Europe)
Telephone Sales
381 11 311-50-20
Email inquiries
sales@vivvo.net
(Sales inquiries)
support@vivvo.net
(Support inquiries)

All times are GMT +1. The time now is 06:25 PM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.