vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How does an imported style know where the style is located? (https://vborg.vbsupport.ru/showthread.php?t=305881)

seventhaxis 12-14-2013 08:38 PM

How does an imported style know where the style is located?
 
Background: I have a style that I'm really comfortable with but is from the now defunct CompleteVB. I want to be able to make variations on this specific style and make several version (e.g. default, christmas, dark, light) so that users can choose they one they prefer. However, I'm having trouble understanding how the imported style knows which folder to pull the images from.

Basically, for this file, there are three simple steps in order to upload it: (1) add products, (2) import .xml, (3) upload files. It immediately works, however I don't know how the theme itself is communicating with VB to pull from a specific directory. Any help is greatly appreciated.

peugeot405 12-14-2013 08:53 PM

You can set the imagepath in style variable editor.
  • In admin panel look for styles and templates.
  • Select style manager.
  • select style variable editor in dropdown menu next to the style you want to change.
  • scroll down until you see ImagePaths
  • change url were needed.

seventhaxis 12-14-2013 08:57 PM

Excellent! Thank you peugeot!

peugeot405 12-14-2013 08:59 PM

no problem, glad to help out.


All times are GMT. The time now is 10:27 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.00948 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete