vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   New StyleVar Empty on Install (https://vborg.vbsupport.ru/showthread.php?t=306420)

Action-N 12-30-2013 12:25 AM

New StyleVar Empty on Install
 
Hey, First of all I did search threads a few years back an seen nothing answered.
I'm working on a new add-on an would like to ad the style variables to the editor an use them. The problem I'm having is when I copy the binary text from the database entry an paste it in my in my product install. The value is not being inserted, variables are there just blank. Where do I get the value that will insert properly or is there some other part I'm missing. Thanks

ozzy47 12-30-2013 12:44 AM

If you set the values in the master style, and assigned it to your product, it should add that info into the product XML when you export it.

Action-N 12-30-2013 01:33 AM

Tried that again an still exporting empty even after inserting value. So I copy n pasted a value from another mod an it showed up as theirs. Updated it an exported from the product page an the value hadn't changed.

I then thought if it's a style then I went to style & templates to download my current style an my add-on an walla sure enough all it had was the value for the field I just updated. As complicated as that was to learn that, that is apparently why you can select products from there.

Thanks for your response Ozzy, you seem to be a busy man lately.


All times are GMT. The time now is 01:19 AM.

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.01034 seconds
  • Memory Usage 1,706KB
  • 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
  • (3)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