Best practices to show banners

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Best practices to show banners

Deepak Agarwal-2
Can anybody share his apporach to show banners on category pages. We will
have daily banners for hot deals in different categories. We want to be
able to handle it from CMS like point.

--
Thanks,
Deepak Agarwal,
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Nick Rosser
In our BIgFish implementation we use special category associations  
using the CONTENT entity. Check out bigfish.salmonllc.com for demo,  
admin module usage and code download.

Nick
C: 516.901.1720
[hidden email]

On May 28, 2012, at 11:45 AM, Deepak Agarwal <[hidden email]>  
wrote:

> Can anybody share his apporach to show banners on category pages. We  
> will
> have daily banners for hot deals in different categories. We want to  
> be
> able to handle it from CMS like point.
>
> --
> Thanks,
> Deepak Agarwal,
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

chandan khandelwal-2
We can use ProductCategoryContent for this with a specific category type
like BANNER_IMAGES or use existing one CATEGORY_IMAGE and also use
fields categoryImageUrl, linkOneImageUrl, linkTwoImageUrl from
ProductCategory.

Thanks & Regards
--
Chandan Khandelwal
Sr. Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Tuesday 29 May 2012 12:49 AM, Nick Rosser wrote:

> In our BIgFish implementation we use special category associations
> using the CONTENT entity. Check out bigfish.salmonllc.com for demo,
> admin module usage and code download.
>
> Nick
> C: 516.901.1720
> [hidden email]
>
> On May 28, 2012, at 11:45 AM, Deepak Agarwal <[hidden email]>
> wrote:
>
>> Can anybody share his apporach to show banners on category pages. We
>> will
>> have daily banners for hot deals in different categories. We want to be
>> able to handle it from CMS like point.
>>
>> --
>> Thanks,
>> Deepak Agarwal,

Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Robert Gan
I want to archieve a similar thing (content slider on my startpage).

This slider shall include:
- direct link to a product
- link to a category
- link to a content site

To get this, I have to put a link and an image in my backend for each slider content. I want f.ex. to do it like explained above (do an extra categorie for each slider content)...but for doing this Im wondering what the following things are:

- related Url
- alternative Url
- video Url

I think, that "alternative Url" is handled like an URL rewrite...that I can get to the target Url with the "alternative Url"...but if so, what is the related and the video Url?

For the image I can use the category image, but can I use f.ex. the related Url to put in there a target Url...this Url I could get from my groovy file to forward by click to the wanted content...but I do not want to get to the category I added...

do you know what I mean?

Would appreciate a comment.
Reply | Threaded
Open this post in threaded view
|

RE: Best practices to show banners

SkipDever
I have seen "f.ex." used here several times and I hate to admit that I have
no idea what it means.  Can someone fill me in?

-----Original Message-----
From: Robert G. [mailto:[hidden email]]
Sent: Monday, July 09, 2012 10:43 AM
To: [hidden email]
Subject: Re: Best practices to show banners


I want to archieve a similar thing (content slider on my startpage).

This slider shall include:
- direct link to a product
- link to a category
- link to a content site

To get this, I have to put a link and an image in my backend for each slider
content. I want f.ex. to do it like explained above (do an extra categorie
for each slider content)...but for doing this Im wondering what the
following things are:

- related Url
- alternative Url
- video Url

I think, that "alternative Url" is handled like an URL rewrite...that I can
get to the target Url with the "alternative Url"...but if so, what is the
related and the video Url?

For the image I can use the category image, but can I use f.ex. the related
Url to put in there a target Url...this Url I could get from my groovy file
to forward by click to the wanted content...but I do not want to get to the
category I added...

do you know what I mean?

Would appreciate a comment.

--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4
634625.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

RE: Best practices to show banners

Robert Gan
sorry "f.ex." means "for example"

kindly
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

BJ Freeman
In reply to this post by Robert Gan
look in specialpurpose\ecommerce\webapp\ecommerce\content for examples
of screelets.

start with \specialpurpose\ecommerce\webapp\ecommerce\main.ftl or any
top level screen definition and work down the chain till you get to the
Screen definition you want to put the screenlet in.

Create a Css class for your Slider to put in your screenlet




Robert G. sent the following on 7/9/2012 10:43 AM:

> I want to archieve a similar thing (content slider on my startpage).
>
> This slider shall include:
> - direct link to a product
> - link to a category
> - link to a content site
>
> To get this, I have to put a link and an image in my backend for each slider
> content. I want f.ex. to do it like explained above (do an extra categorie
> for each slider content)...but for doing this Im wondering what the
> following things are:
>
> - related Url
> - alternative Url
> - video Url
>
> I think, that "alternative Url" is handled like an URL rewrite...that I can
> get to the target Url with the "alternative Url"...but if so, what is the
> related and the video Url?
>
> For the image I can use the category image, but can I use f.ex. the related
> Url to put in there a target Url...this Url I could get from my groovy file
> to forward by click to the wanted content...but I do not want to get to the
> category I added...
>
> do you know what I mean?
>
> Would appreciate a comment.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4634625.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Robert Gan
Ah you mean I shall do it with Content screens ... just like "factoids" or sth...right?

good idea!
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Deepak Agarwal-2
Hi Robert,

Could you please explain your understanding with this and also about
factoids.

On Tue, Jul 10, 2012 at 4:03 PM, Robert G. <[hidden email]> wrote:

> Ah you mean I shall do it with Content screens ... just like "factoids" or
> sth...right?
>
> good idea!
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4634653.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Robert Gan
Hey Deepak,

Factoids is a content box in ecommerce ofbiz, which is allready implemented. This box is shown in all places in the store at the right or left panel i.ex. The content is defined in backend CMS, where about 6 contens are allready defined. The box is now configured (in ftl), that this shows randomly 2 contents out of the 6 available. The content is as you prefer, like a banner with anchor, or just text as information...

at the moment it is used for like "did you know?..." and shows some news.

But this is just an example of a content box. with that you can find how to handle it. Cause it is not in my focus actually, I just looked in the past how it works - was not difficult, but I allready forgot that :) just follow the files...

So at this point this box is shown everywere. But it can be interesting to show it just in specific categories, or to show specific content in it, depending of the categories, or products and so on.

So you can write functions to show specific content boxes just in specific situations (specific category etc.)...thats the way I think it can works.
You probably can name the content in CMS like: cat_content_hereyourcategoryid


than write i.ex. a function, where you search for all contents (which are not expired) which start wit cat_content_ and than split the name to get the category id. Than you can display it depending on the id value, so you do not have to change your code when you want to display it elsewere. With that you can just use CMS, and tell your employee, that they have to use the name convention...do you know how i mean it?

For my work I would use it for a slider at the main page, where I want to put a picuter in it, and link to products, categories, content etc.

Kindly



Deepak Agarwal-2 wrote
Hi Robert,

Could you please explain your understanding with this and also about
factoids.

On Tue, Jul 10, 2012 at 4:03 PM, Robert G. <[hidden email]> wrote:

> Ah you mean I shall do it with Content screens ... just like "factoids" or
> sth...right?
>
> good idea!
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4634653.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Deepak Agarwal-2
I knew it, I will receive tons of line in reply from you :D :) . Thanks a
lot !

Thanks for the detailed guidance.

On Thu, Jul 26, 2012 at 3:05 AM, Robert G. <[hidden email]> wrote:

> Hey Deepak,
>
> Factoids is a content box in ecommerce ofbiz, which is allready
> implemented.
> This box is shown in all places in the store at the right or left panel
> i.ex. The content is defined in backend CMS, where about 6 contens are
> allready defined. The box is now configured (in ftl), that this shows
> randomly 2 contents out of the 6 available. The content is as you prefer,
> like a banner with anchor, or just text as information...
>
> at the moment it is used for like "did you know?..." and shows some news.
>
> But this is just an example of a content box. with that you can find how to
> handle it. Cause it is not in my focus actually, I just looked in the past
> how it works - was not difficult, but I allready forgot that :) just follow
> the files...
>
> So at this point this box is shown everywere. But it can be interesting to
> show it just in specific categories, or to show specific content in it,
> depending of the categories, or products and so on.
>
> So you can write functions to show specific content boxes just in specific
> situations (specific category etc.)...thats the way I think it can works.
> You probably can name the content in CMS like:
> cat_content_*hereyourcategoryid
> *
>
> than write i.ex. a function, where you search for all contents (which are
> not expired) which start wit cat_content_ and than split the name to get
> the
> category id. Than you can display it depending on the id value, so you do
> not have to change your code when you want to display it elsewere. With
> that
> you can just use CMS, and tell your employee, that they have to use the
> name
> convention...do you know how i mean it?
>
> For my work I would use it for a slider at the main page, where I want to
> put a picuter in it, and link to products, categories, content etc.
>
> Kindly
>
>
>
>
> Deepak Agarwal-2 wrote
> >
> > Hi Robert,
> >
> > Could you please explain your understanding with this and also about
> > factoids.
> >
> > On Tue, Jul 10, 2012 at 4:03 PM, Robert G. &lt;gan@&gt; wrote:
> >
> >> Ah you mean I shall do it with Content screens ... just like "factoids"
> >> or
> >> sth...right?
> >>
> >> good idea!
> >>
> >> --
> >> View this message in context:
> >>
> http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4634653.html
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
> >> --
> >> Thanks,
> >> Deepak Agarwal,
> >>
> >> Paxcel Technologies Pvt Ltd.
> >> Hartron Complex, Sector 18, Gurgaon, India.
> >> E-Mail: deepak.agarwal@
> >> Mobile: +91 9910322604
> >>
> >>
> >
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4635233.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Robert Gan
:)
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Deepak Agarwal-2
In reply to this post by Robert Gan
Is it closer to webisite-pathalias implementation in ofbiz. I found about
pathalias in Content->CMS.

On Mon, Jul 9, 2012 at 11:13 PM, Robert G. <[hidden email]> wrote:

> I want to archieve a similar thing (content slider on my startpage).
>
> This slider shall include:
> - direct link to a product
> - link to a category
> - link to a content site
>
> To get this, I have to put a link and an image in my backend for each
> slider
> content. I want f.ex. to do it like explained above (do an extra categorie
> for each slider content)...but for doing this Im wondering what the
> following things are:
>
> - related Url
> - alternative Url
> - video Url
>
> I think, that "alternative Url" is handled like an URL rewrite...that I can
> get to the target Url with the "alternative Url"...but if so, what is the
> related and the video Url?
>
> For the image I can use the category image, but can I use f.ex. the related
> Url to put in there a target Url...this Url I could get from my groovy file
> to forward by click to the wanted content...but I do not want to get to the
> category I added...
>
> do you know what I mean?
>
> Would appreciate a comment.
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4634625.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>



--
Thanks,
Deepak Agarwal,

Mobile: +91 9501190044
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Robert Gan
can you maybe explain it more detailed what you mean? Is it easier with that to place banner's on ecommerce site?

greetings
Reply | Threaded
Open this post in threaded view
|

Re: Best practices to show banners

Deepak Agarwal-2
While thinking of cms I am thinking in following way:

1) What to show
2) Where to show
3) How to show

*What to show:*
 As I look into ofbiz and bigfish, each has their own way to define it. In
my opinion I have following thoughts:
   a) Content Purpose -> This is to ensure what we are looking for. Lets
say purpose is : BANNER, NEWS, FAQ, WEB_PAGE. So, If I have a menu in my
erp application saying 'Manage Banners' then I will fetch all content whose
purpose is set to 'BANNER'

  Now, what hirerachy I am setting up
        WEBSTORE_CNT (PUBLISH_POINT )
                            |
                            |
               WEB_STATIC_CONTENT
                            |

---------------------------------------------------------------------------
         |                                        |
         |
    BANNER_STATIC                  NEWS                      FAQ
         |
------------------------------------------
|                                         |
BANNER_TYPE_1            BANNER_TYPE_2
 (Attr imgWidth, imgHeight)
         |
----------------------
|                     |
Banner1        Banner2

Here, all my cms related configurational content goes under
WEB_STATIC_CONTENT hirerachy (It is a top most root under my publish point)
All these are my content Ids. Under BANNER_STATIC I have baaner types which
basically sets banner size in them as attribute. So, every banner I add
should go under any of these types (banner_type_1, banner_type_2).

*How to show:*
* *This becomes very specific to as what we are showing. I think writing
macros would be a better choice for this. @renderBanner , @renderNews

*Where to show:*
I am still evaluating as in how to connect my content out of the box to the
layouts. What I really want is that after adding the banner I want user to
choose the places where
          a) This banner is eligible to be shown (based on it's size)
 This brings a question how to define these places.



On Tue, May 28, 2013 at 4:00 AM, Robert G. <[hidden email]> wrote:

> can you maybe explain it more detailed what you mean? Is it easier with
> that
> to place banner's on ecommerce site?
>
> greetings
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4641559.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>



--
Thanks,
Deepak Agarwal,

Mobile: +91 9501190044