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

Go Back   Vivvo CMS Support Forums > Code and Template Customizations > Customizations & Templates

Customizations & Templates Various hacks and customizations for Vivvo 4 branch. Template repository and all related template customization discussions.

Reply
 
Thread Tools Display Modes
Old 06-24-2012, 11:25 PM   #1
sip
Vivvo Veteran
 
Join Date: Sep 2010
Posts: 599
Rep Power: 3
sip is on a distinguished road
Default template query -- mapped vs single

Hello,

What would be more efficient from server point of view:

(1) Doing a mapped template for category and articles (wherever this is needed)

OR

Doing following in same template (say for example category/default.tpl)

Code:
<vte:template>
<vte:if test="{CURRENT_CATEGORY.get_id} in 'x1,x2,x5,x7,x9,x11,x51,x56,x78,x88'">

--- modified template code here different from default ---

<vte:else>

-- default template code --

</vte:else>
</vte:if>
</vte:template>
Since doing a mapped template for huge set of such categories is a maint. nightmare so this question. Same applies to the article template also. Moreover the problem with doing mapped template is also the mobile template set as that always looks for default.tpl and not sure how are mapped templates handled in mobile template set?
sip is offline   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 01:14 AM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

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