Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2009, 06:46 AM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Templatetype Question!

Hi,

Can anyone please help me to find out where I can set templatetype when creating a new template?

As I saw in lots of products xml files, if the product has template, the code in the xml file about that is in this way:

Code:
<template name="xxx" templatetype="template" date="xxx" username="xxx" version="xxx">

OR

Code:
<template name="xxx" templatetype="css" date="xxx" username="xxx" version="xxx">

You can see there is this templatetype="template" and/or templatetype="css"

So how to set the template type when creating a new template of a new product?

Also I want to know what are the template types that could be used beside template and css?


thanks
Reply With Quote
  #2  
Old 04-11-2009, 12:42 PM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WTF!
No one knows?!!!!!!!!!!!!!!
Reply With Quote
  #3  
Old 04-11-2009, 12:52 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are 4 types:
  • template
    These are normal templates (like header, footer, navbar, etc.)
  • css
    These are CSS definitions
  • stylevar
    These are style variables (like image paths, widths, etc.)
  • replacement
    These are replacement variables

You can't create CSS definitions via AdminCP, you must add them directly in the DB.
You will also need at least 2 Plugins inf you want to create your own CSS definitions (that's what CSS "templates" are).
Reply With Quote
  #4  
Old 04-11-2009, 06:20 PM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Andreas.
I think I need to look more and put my head into it for fully understanding.
if anyone can point me where to begin with that, that will be appreciated.
thanks
Reply With Quote
  #5  
Old 04-11-2009, 06:29 PM
nexialys
Guest
 
Posts: n/a
Default

oh, and you also need to relax a little, it's not an instant answering machine here, Andreas have a life... like the others...
Reply With Quote
  #6  
Old 04-12-2009, 03:21 AM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys View Post
oh, and you also need to relax a little, it's not an instant answering machine here, Andreas have a life... like the others...


No worries nexialys, in fact I'm relaxed more than you think.
and I don't see where I pushed Andreas or anyone else for an instant answer.
I just post as soon as I review my question thread (if there is a need to post of course).
also I don't see where it says I should not do that.

in fact, when I saw that you have posted to in this thread I thought it is something useful. but, ...
never mind.

thanks though
Reply With Quote
  #7  
Old 04-12-2009, 02:12 PM
nexialys
Guest
 
Posts: n/a
Default

actually i was refering to your post #2, with the "wrong word"..

am i usually posting useful things here?!... nah...
Reply With Quote
  #8  
Old 04-12-2009, 09:20 PM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aaha, you can there is more than 24 hours between the first post and second post of this thread.
posting useful/non-useful is up to you, actually.
anyway, let's get back to the subject.
any help will be appreciated.

thanks
Reply With Quote
  #9  
Old 04-12-2009, 10:07 PM
nexialys
Guest
 
Posts: n/a
Default

actually, Andreas' post was quite clear, what do you want to know more?!

you can not change the templatetype when you create a template, because all these titles are just to seperate the data in the database, nothing you can do about it. when you create a replacement variable it will be tagged with the right term, same when you edit the CSS variables, and so on.
Reply With Quote
  #10  
Old 04-13-2009, 01:16 AM
Super Jinni Super Jinni is offline
 
Join Date: Mar 2008
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I know, and I think you make clearer.

as a newbie I'm just trying to figure out how does these things works, that's all.

that's why I'm posting some silly and newbie's questions .

thanks
Reply With Quote
Reply


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


All times are GMT. The time now is 07:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04488 seconds
  • Memory Usage 2,238KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete