Status
Not open for further replies.

Mick

Customer
Hi Mokonzi,

I am looking to do a little bit of templates edits to suit my forums, I have gone over most of the templates but cannot seem to find all the variables.

Do we have any Template conditional Variables for the following

Listing Title Variable used on the item listing page?
Listing Category Variable used to display the category you are in when viewing an item?

Thank you very much Mokonzi

Mick
 
Yes,

For that page:

The title would be "Testing Multiple Items"
The category would be "Film Memorabilia"

Cheers
 
Two size StyleVars have been added into RC2. If anyone needs to edit the font type and weight, then it's a simple CSS edit to do so. :)
 
I wanted to add a little SEO nothing major

I wanted to add a h2 just before the description with the title and category.

So was looking for the template conditional (variable that calls them) <vb:if raw etc>

Cheers Mokonzi
 
Ah, right. I understand.

This is for the title:
Code:
{vb:raw item.title}

This is for the categories:
Code:
{vb:raw categories}

With regards to the category, it is already formatted into the Category Parent > Category Child format when it reaches the template.
 
Ah, right. I understand.

This is for the title:
Code:
{vb:raw item.title}

This is for the categories:
Code:
{vb:raw categories}

With regards to the category, it is already formatted into the Category Parent > Category Child format when it reaches the template.

Exactly what I was looking for thank you.

Mick
 
Do you have a RAW for the exact category you are in?

Example

$category = film memorabilia

Could be really nice for me lol, thanks again for all your work today, cannot wait for RC2 :)

Regards
Mick
 
I've added it in to RC2 for you ;)

Code:
{vb:raw item.categorytitle}

Sorry Mokonzi, I cannot seem to get this variable to work?

I have placed it in my dbtech_classifieds template ?

Sorry to be a pain. and thanks for the great support

Mick
 
dbtech_classifieds_viewlisting is the template it will work in... if you need it elsewhere let me know and I'll see what I can sort out. :)
 
Yeah would be nice if it worked in the main template, as I am trying to do smart titles :)

Thanks again Mokonzi

Mick
 
Status
Not open for further replies.

Legacy DragonByte Classifieds

vBulletin 4.x.x
Seller
Mokonzi
Release date
Last update
Total downloads
562
Customer rating
0.00 star(s) 0 ratings
Back
Top