Jump to content

The Tourists' Affairs


heldercervantes
 Share

Recommended Posts

Hi guys,

Just launched my latest project, The Tourists' Affairs:

http://www.thetouristsaffairs.com/en/

This one was a pleasure to build. It's based on a tours catalogue, features a tour finder, and for the first time I based a gallery on Instagram embeds. You can see those working on each tour. 

I'm using my basic ingredient set here: Languages, AIOM+, MarkupSEO, and not much more.

Not big or complicated, but neat.

  • Like 10
Link to comment
Share on other sites

Neat indeed...

This isn't meant as a critique or anything, but I just noticed a possible bug:

I was randomly selecting options in the tour-finder dropdowns. The results page URL looked like this:

http://www.thetouristsaffairs.com/en/tours/find-your-tour/?where=1267&when=undefined&what=undefined

(Chrome / Windows)

It's weird because I was definitely checking "when" + "what"... (no JS errors in the console either). Tried different options and combinations - same result.

  • Like 1
Link to comment
Share on other sites

1 hour ago, heldercervantes said:

Thanks for the heads up Dragan. It appears "someone" changed the name of two pages that are vital for the finder :)

 

Sometimes it's better to use the ID of the page for those critical pages, or employ some way to prevent changing the name of the page:

  1. page-rename permission: https://processwire.com/blog/posts/language-access-control-and-more-special-permissions/#how-to-use-the-page-rename-permission
  2. "prevent manual changes" option in the Page Rename Options module: http://modules.processwire.com/modules/page-rename-options/
  • Like 6
Link to comment
Share on other sites

10 hours ago, adrian said:

ID of the page for those critical pages,

I prefer "locked down" names to IDs, because as a developer I might choose to delete the page in question for whatever reason (e.g. for testing purposes, etc...) so identifying by names makes it easy to substitute the page just in case...

EDIT: One more thing against IDs: it is hard to look for its appearances in the codebase, whereas looking for somewhat unique names (I prefer being verbose in this case too) is easy with a decent code editor, even in multiple files.

Edited by szabesz
typo
  • Like 3
Link to comment
Share on other sites

Hello heldercervantes,

I had noticed something on Chromium (52.0.2743.116 on Linux at least). It's still occurring.
The issue doesn't seem to exist on Firefox (48.0).

It's related to the "Find your tour" search form. Trying to use it "freezes" the website.
The only way to have it normal again seems by opening a new tab and entering the url again.

In Firefox I can open Where?, How Long?, or What? without any problem. First closing the last one I clicked on, or directly opening another one.

But on Chromium as soon as I click on Where?, for example,...

Link to comment
Share on other sites

It freezes or crashes.

It seems that the issue doesn't exist on http://thetouristsaffairs.com/ (without the en part).

By the way, thetouristsaffairs.com doesn't redirect to www.thetouristsaffairs.com (or vice versa).          

NB: I've just found it difficult/"buggy" to write normal text after including links in this editor. I can't even remove/disable links here.
I had to copy paste in a text editor.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...