vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I create a box on the side on the Article page? (https://vborg.vbsupport.ru/showthread.php?t=306171)

pityocamptes 12-22-2013 10:17 PM

How do I create a box on the side on the Article page?
 
I would like to create a box for affiliate links...?

Lynne 12-23-2013 01:20 AM

Create an HTML widget and enter the links, using valid html, there. Then, add that widget to the page layout.

pityocamptes 12-23-2013 01:57 AM

Quote:

Originally Posted by Lynne (Post 2470103)
Create an HTML widget and enter the links, using valid html, there. Then, add that widget to the page layout.

Thanks, can you walk me through it? Kind of new to that part. Thanks again.

Ok, did what you said, but I don't see a side box on its own with just that info and header (Links)...

Lynne 12-23-2013 05:15 PM

I don't know what you mean about not seeing a "sidebox on it's own with just that info and header" - what do you see (image please and a link) and what do you want to see (image mockup)?

pityocamptes 12-24-2013 03:35 AM

I would like a side box in the Articles page like the widget box or poll box or calendar box, but by itself where I can name the header "links" and then put affiliate links in it... hope that makes sense...

BBNZowner 12-24-2013 05:14 AM

Easiest way is the side blocks really

Forums and Moderators > Forum Blocks > Add Blocks > Custom HTML/PHP

This method will show up on all forum pages though, not just articles. Someone else will have to help with that.

Lynne 12-24-2013 05:14 PM

It's the same with a Widget. vBulletin CMS > widgets > Create new Widget > Static HTML > give it a title > Save, then on Widgets page again, click to Configure it and enter all your links, using VALID HTML into the Enter Static HTMl section > Save. Then go to Layout Manager and edit your layout and put the widget into the layout.

CAG CheechDogg 12-24-2013 08:42 PM

You can use the following code for your links pityocamptes's . Just rename each link, you can give it a tittle when you hover over it. If you have any questions feel free to post them.

Code:


<a href="http://www.yourlink.com" title="Name your link links title when you hover here">My link 1</a>
<br />
<br />
<a href="http://www.yourlink.com" title="Name your link links title when you hover here">My link 2</a>
<br />
<br />
<a href="http://www.yourlink.com" title="Name your link links title when you hover here">My link 3</a>
<br />
<br />
<a href="http://www.yourlink.com" title="Name your link links title when you hover here">My link 4</a>
<br /><
br />
<a href="http://www.yourlink.com" title="Name your link links title when you hover here">My link 5</a>
<br />
<br />
<a href="http://www.yourlink.com" title="Name your link links title when you hover here">My link 6</a>


pityocamptes 12-25-2013 06:08 AM

Thanks Lynn and CAG - did exactly as you said but I still do not see it on the "Articles" page...

CAG CheechDogg 12-25-2013 07:34 AM

Hmm....weird...If you want I can check it for you ..either together using teamviewer or you can set me up an admin account and you can send it to my private messages my Man.

TommyHara 12-26-2013 01:30 AM

Quote:

Originally Posted by pityocamptes (Post 2470084)
I would like to create a box for affiliate links...?

In admin options, go to sidebar option and create a new html wiget, put your html code into it like affiliate links that you want.

pityocamptes 01-08-2014 02:40 AM

Is this vbcms_widget_static_page supposed to be in the list of style var editor? Because its not... thanks.

--------------- Added [DATE]1389152703[/DATE] at [TIME]1389152703[/TIME] ---------------

I noticed that the default CNN Videos widget does not even display. Is there another place where you check to make it display? This and the other one I am trying to create are in the Widget Manager...

--------------- Added [DATE]1389152849[/DATE] at [TIME]1389152849[/TIME] ---------------

Maybe I'm not explaining myself, sorry about that. Maybe this will help. I'm looking for a box like the Section Widget box, Categories widget box, recent posts, etc, that show in the side bar, that I can basically have links in with my own header title...

Lynne 01-08-2014 06:11 PM

vbcms_widget_static_page is a template, not a stylevar

If you want a widget to show on a section, you need to add it to the Layout for that section.

See post 7 & 8 about creating your box of links.


All times are GMT. The time now is 04:57 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.01348 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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