Ad
Login

New to DJ-Extensions?

Dynamic content type: Ad

This is an object containing information about a single announcement.

Fields

ID

Integer
ID derived from the DJ-Clasifieds system

Name

String
Name of the ad

Promotions

String
List of additional classes assigned to the announcement based on promotion

Price negotiable

Boolean
The logical value of the "Negotiable" option in DJ-Classifieds. Can be used to display an item based on Dynamic Condition

Alias

String
Ad alias generated according to Joomla standards

Intro Description

String
Short description of the announcement

Description

String
Full description of the ad

Start time

String
Start date of the ad publication

End Time

String
End date of the ad publication

Price Information

String
Ad price formatted according to DJ-Classifieds settings

Website

String
Website assigned to the ad

Address

String
Ad address

Post Code

String
Postal code of the ad

Latitude

String
Latitude of the ad

Longitude

String
Longitude of the ad

Latitude, Longitude

String Text value of the latitude and altitude of the formatting announcement for YooTheme Created By Integer ID of the user who created the announcement

Created By

Integer
ID of the user who created the announcement

Category Name

String
Name of the category assigned to the announcement

Link To Category

String
Link to view ads with results limited to a category

Link To Ad

String
Link to single ad view

Email

String
Email address assigned to the announcement

Hits

Integer
Number of times the ad has been displayed

First Image

String
URL Link to the first photo attributed to the ad

Type

String
Ad type

Related objects

Author

This is the Profile object of the user who is the author of the announcement

Category

This is the object of the Category to which the announcement is assigned

Location

This is the Region object assigned to the ad in DJ-Classifieds

Images

This is a list of Item Image objects consisting of images assigned to an ad

Related Ads

With this object, we can retrieve a list of Announcements associated with the current object based on the many available relationships

  • Category
  • Author
  • Type

HTML Layouts

All of the following templates take into account DJ-Classifieds settings. This means that if a module is not enabled then it will not be rendered on the YooTheme side.

Details

Auctions

This is a micro template for bidding on a given ad
In order for the template to be rendered the "Auction" option must be enabled for both DJ-Classifieds and a single ad

Buy now

This is a micro template for "Buy Now"
For the template to be rendered, the "Buy now" option must be enabled for both DJ-Classifieds and a single ad

Comments

This is a micro template for "Comments"
For the template to be rendered, the "Comments" option must be enabled for both DJ-Classifieds and a single ad

Description

This is the ad description formatted according to the DJ-Classifieds settings

General details

This is the HTML content of the basic single ad view template

Localization

In order for google maps to be visible in the location template, the "Show google maps" option must be enabled on the DJ-Classifieds side of the site

Price

This is a micro template that contains information about the price of the ad

Profile

This is a micro template containing information about the author of the ad

Terms

This is a micro template that includes a safety feature for ads marked "For adults only"

Video

This is a micro template with a video player in HTML form

© 2023 DJ-Extensions.com. All rights reserved.