How add Pictures in Places and Events pages

This topic contains 9 replies, has 3 voices, and was last updated by  Guust 8 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #57828

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi,
    I need introduce a pictures (just like a BANNER) in some GeoDirectory pages of my web.
    At this time, I can add picture in the following pages:
    http://infocity.website/events/spain/catalunya/ (I have introduced “Generalitat de Catalunya” banner)
    and in
    http://infocity.website/events/spain/catalunya/girona (I have introduced “Ajuntament de Girona” banner)
    In order to do that, I have dono the following:
    1. I have introduced the widget “GD > Location Description” in the AREA WIDGET “GD listing top section”
    2. I have write “%location%” in the TITLE field.
    3. I have write HTML codec in the following section: Geodirectory > Multilocations > SEO Setting > Location Description (catalunya and girona fields).

    So at this time I have 2 good pages: catalunya region and girona city.
    But I need to make another page, it will be “Province of Girona”, and in this page I want to add another banner, it will be the “Diputacion de Girona” Banner. In this page I want show all the places or events of the Province of Girona (Girona City and more of 50 small city). But with the actual Geodirectory structure there only is the REGION PAGE and CITY PAGE, and there is no the PROVINCE PAGE

    So, in order to resolve that, I have introduce an espetial category in places and event. It is “Province of Girona Places” or “Province of Girona Events”
    http://infocity.website/events/province-of-girona-events/
    and
    http://infocity.website/events/province-of-girona-places/

    When user introduce a place or event, it need select a category like RESTAURANT and it need select the category “Province of Girona Places” or “Province of Girona Events” if the place or event is in Provence of Girona.
    But I don-t know how I can introduce the “Diputacion de Girona” picture in this two news pages:
    http://infocity.website/events/province-of-girona-events/
    and
    http://infocity.website/events/province-of-girona-places/

    I thought that maybe it will be possible using WIDGET LOGIC PLUGIN.
    For example with this plugin I can show a picture only in http://infocity.website/events an NO in http://infocity.website/places, using this code: geodir_get_current_posttype()==’gd_event’

    So my question is:
    1. What is the WIDGET LOGIC PLUGIN codec in order to show a picture only in the following two pages?
    http://infocity.website/events/province-of-girona-events/
    and
    http://infocity.website/events/province-of-girona-places/

    2. There is another way in order to do what I need (PROVINCE PAGE)?

    Thank you for your support.

    #57829

    giuseppe cuttone
    Buyer
    Post count: 242
    This reply has been marked as private.
    #57877

    Guust
    Moderator
    Post count: 29970

    The simplest would be to add a description to the category. I added on to http://infocity.website/events/province-of-girona-events/
    Look just below the search widget.
    This is where you change it:
    http://infocity.website/wp-admin/edit-tags.php?action=edit&taxonomy=gd_eventcategory&tag_ID=6&post_type=gd_event

    #57888

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you can add that as Category Top Description, where you also add the category icon.

    That will appear on top of the description page.

    Let us know how you went.

    Thanks

    #57944

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi, with this solution I have a problem.
    In the CATALUNYA EVENTS PAGE
    http://infocity.website/events/spain/catalunya
    I can show the CATALUNYA BANNER (Generalitat de Catalunya) in the up zone.
    But in the PROVINCE OF GIRONA EVENTS PAGE
    http://infocity.website/events/spain/catalunya/province-of-girona-events
    I will show both of banners. CATALUNYA BANNER (Generalitat de Catalunya) in the up zone and PROVINCE OF GIRONA BANNER (Diputacion de Girona) in the down zone. It is no good becouse in this page I only must show Province of Girona Banner.
    So the questions are:
    1. Is there a way in order delete the CATALUNYA BANNER only from the following page?
    http://infocity.website/events/spain/catalunya/province-of-girona-events
    and let CATALUNYA BANNER in the others pages?
    2. Is there a way in order to show the PROVINCE OF GIRONA BANNER (Diputacion de Girona) at the top of the page? (at this moment PROVINCE OF GIRONA BANNER is in the midle of the page)
    Another thing.
    My experience suggest that when I look for places or events I look in a radio of 30 / 50 km so REGION MAP is a very big map, and CITY MAP is a very small map. I know that I can to do a search using a RADIO, but I think is interesting for the users to have a PROVINCIAL MAP too, just like a default option.
    So the questions is:
    3. In the future, Geodirectory developpers will add PROVINCE FIELD in the add listing form, so users can have 4 levels of maps (Country, Region, Province, City)?
    Thank you for your support.

    #57948

    Paolo
    Site Admin
    Post count: 31206

    Hi Giuseppe,

    none of this is possible without customizing the code of the plugin.

    GeoDirectory was built to manage : Countries, Regions and Cities, but not provinces.

    I’m sorry about that.

    Thanks

    #57958

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi Paolo. If the next year I will need add PROVINCES, can you (or other GeoDirectory developer) customizing the code of the plugin and add the following?
    1. PROVINCE FIELD in add listing form
    2. PROVINCE MAPS
    If you can, I need know approximatelly how much it is. At this moment I only need an aproximate range in order to know if it is economic viable.
    Let me know.

    #57999

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi Paolo, I have thought about how generate PROVINCIAL MAP and maybe it is no very difficult. You don`t need add a new PROVINCIA FIELD in the ADD LISTING FORM.
    In order to do PROVINCIAL MAP, you only must use ZIP CODE (ZIP CODE it is included in ADD LISTING FORM).
    In spain all the cities included in the same PROVINCE have the same first two ZIP CODE digits.
    For example GIRONA PROVINCE is all the cities with the follow ZIP CODE: 17XXX.
    So I think you only must use the same functions you are using in order to generate STATE MAP, REGIONAL MAP and CITY MAP, and to use like DATAS for PROVINCIAL MAP the “first two ZIP CODE digits”.
    Do you understand me?
    Do you think it will be possible?
    Let me know if it will be possible to customize GEODIRECTORY and generating PROVINCIAL MAP using ZIP CODE.
    And Let me know approximatelly how much it is.
    I hope your answer.
    Thank`s very much for your support.

    #58044

    Paolo
    Site Admin
    Post count: 31206

    Hi Giuseppe,

    this would be a workaround and would only work for Spain.

    We have no plans at the moment to add provinces.

    Thanks

    #58095

    Guust
    Moderator
    Post count: 29970

    Giuseppe, if you want to, you can edit all your locations in multilocations, and change the name of the region to the name of the province. That will allow for a province page. Note that the search and adding listings will still use the Google API which will ignore your provinces, but at least you will be able to navigate to a province page.
    I have not tested this, but it should work. Maybe there would be some problems i have not thought about.

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket