vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   CMS - Image before Title (https://vborg.vbsupport.ru/showthread.php?t=260298)

Trystan^ 03-13-2011 11:05 AM

CMS - Image before Title
 
Hey All

Ive searched about but cant find an exact answer to my question, if this has already been asked then sorry i have had a good hunt around,

My Question

I would like to display a small image before an article title, possibly in relation to what Category it is in,

do you understand what i mean?

Lynne 03-13-2011 05:09 PM

Articles can be in multiple categories, so what do you plan to do about that? Categories have nodeids, so you can use those to display an image based on the categories.

Trystan^ 03-13-2011 06:55 PM

Hey Lynne

What do you think this site uses http://www.maxconsole.net/content.php

they may have it set my section and have all their content displayed on the front page, is this possible,

Lynne 03-13-2011 08:23 PM

It looks to me like they put a different 'header' on the profile preview based on the Section, not the Category. $parenttile (the section name) is registered and available for use in that template. So, you could do a condition based on that.


All times are GMT. The time now is 10:04 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.00952 seconds
  • Memory Usage 1,711KB
  • 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