Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Mar 2010, 10:53
Sadikb's Avatar
Sadikb Sadikb is offline
 
Join Date: Aug 2008
Real name: Sadik
Question stylevar[imgdir_misc] in CMS widget

Hi

I am creating a widget where i need the stylevar[imgdir_misc] and other image directory paths, but i am drawing a blank on these. Can someone please point me in the right direction. Thanks.
__________________
Owner: Oracle Forums - General Discussion Forums.
Reply With Quote
  #2  
Old 26 Mar 2010, 11:24
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Real name: Martin
{vb:stylevar imgdir_misc} = link to misc Dir inside img folder.
and

{vb:stylevar imgdir_<FOLDERNAME>} most of the time
Weither its true always im not sure, but it is for bottons and misc.

i only use bottons and misc, for standard img dir's.
__________________
My website Evisystems
- - - Stuff - - -
follow the white rabbit, feed! your head
Reply With Quote
  #3  
Old 26 Mar 2010, 17:47
Sadikb's Avatar
Sadikb Sadikb is offline
 
Join Date: Aug 2008
Real name: Sadik
Hi, sorry i think i should have been more specific. I mean in my PHP Direct Execution widget, when I do

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

, it's blank. What am i missing?
__________________
Owner: Oracle Forums - General Discussion Forums.
Reply With Quote
  #4  
Old 27 Mar 2010, 08:19
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Real name: Martin
I dont think it is defined in global for use in php..

so you have to define it yourself,
maybe if using costum images for your mod, create your own img folder
sub inside the /images/modcostumimagesfolder/

and remember to add a blank index.html file.

Its easy to define in your script..
here is the test i just did to check if stylevar is defined in global.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
My website Evisystems
- - - Stuff - - -
follow the white rabbit, feed! your head
Reply With Quote
  #5  
Old 29 Mar 2010, 16:27
Sadikb's Avatar
Sadikb Sadikb is offline
 
Join Date: Aug 2008
Real name: Sadik
Hi

for the benefit of anyone else looking for this, we can use the php code below to define image directories


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Owner: Oracle Forums - General Discussion Forums.
Reply With Quote
  #6  
Old 04 Jan 2014, 20:21
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Real name: Lee
Originally Posted by Sadikb View Post
Hi

for the benefit of anyone else looking for this, we can use the php code below to define image directories


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thanks for posting this back Sadikb, this helped me today.

.Me
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin CMS Widgets 3x CMS widget : Widget with 3 tabs, like on Blogs page. Vaupell vBulletin 4.x Add-ons 55 23 Oct 2012 22:06



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

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


New To Site? Need Help?

All times are GMT. The time now is 02:12.

Layout Options | Width: Wide Color: