Camille Alcover
Forum Replies Created
-
AuthorPosts
-
Hi Paolo,
Thanks for the heads-up. I’m not familiar with functions, but for sure I’ll copy the template into the directory you mention 🙂
Once again, I’d like to say I’m very happy with this plugin, I’ll start purchasing some of the addons I need to scale it up a bit.
Cheers,
CamilleHi Paolo,
Thanks for the heads-up. I’m not familiar with functions, but for sure I’ll copy the template into the directory you mention 🙂
Cheers,
CamilleHi Paolo,
I’m getting my way with this plugin now, although, since I’m not a developer, it required some fast learning of basic PHP and CSS 🙂
In case you / anybody else wonders, there IS a way to display the map outside of the “wrapper” (which wraps the content into the 70% middle section of screen max width) in Jupiter. It requires changing the php template for the desired page. Since it may come in handy for others, I’ll explain it below. For instance, if you want to change single listings, with a top section widget area set to “map” :
1. Open listing-detail.php (path is plugin/geodirectory/geodirectory-templates/listing-details.php)
2. Locate the following section :/**
* Calls the top section widget area and the breadcrumbs on the details page.
*
* @since 1.1.0
*/
do_action(‘geodir_detail_before_main_content’);3. Remove it from the “###### TOP CONTENT ######” section
4. Paste it into “// call header” section and above “###### WRAPPER OPEN ######”Now your file should look like this:
header(“X-XSS-Protection: 0″); // IE requirement
// call header
get_header();/**
* Calls the top section widget area and the breadcrumbs on the details page.
*
* @since 1.1.0
*/
do_action(‘geodir_detail_before_main_content’);###### WRAPPER OPEN ######
/** This action is documented in geodirectory-templates/add-listing.php */
do_action(‘geodir_wrapper_open’, ‘details-page’, ‘geodir-wrapper’, ”);###### TOP CONTENT ######
/** This action is documented in geodirectory-templates/add-listing.php */
do_action(‘geodir_top_content’, ‘details-page’);And your page should look like the attached file.
Cheers,
CamilleOups ! Nevermind. I figured it out. It was due to the plugin update, which didn’t take into account the previous theme compatibility settings. I set it back so that it fits my theme and it’s all right again. Sorry 🙂
Hi Paolo, thank you for your answer !
I’m afraid you’re right, so don’t bother. What I did is : I used shortcodes to display the map in a specific section of a dedicated page, and I set this section to fullwidth. I used shortcodes again to display the listing in a different section of the same page, which is contained in the 70% grid.
I’m not entirely happy with the solution because it means the map and listings are unrelated, right? So centering the map on a specific section won’t update listings. So I’m thinking of only keeping the map for a minimal design.
The issue I have with that is, the bubbles don’t display quite right. The place title is featured on top of the pictures, so you can barely see it. Is there a design option to change that ?
-
AuthorPosts