How do I filter my ads?
Before it was fine, I can select categories and stuff.
Now it became like this:
Related
I want to display a modified version of a product page - for example, something as simple as not displaying the buy button, based on an external validation/check. theoretically, it's not that complicated, but I'm stuck.
Here is what I know/see/understand.
In liquid code, there is
templates -> product.json
sections -> main-product.liquid
I created
templates -> product.alternate.json (a duplicate of product.json minus the buy button)
snippets -> alternate-product.liquid (which is just content_for_layout)
changes in template.liquid to handle the a product template
If I change the product template to alternate - my snippet correctly loads and the alternate product without the buy button is displayed correct.
I change alternate-product.liquid to do an ajax call to to get app proxy.
On app proxy I've tried
returning the same data as product.json, liquid content type this didn't show anything in the body (header and footer are there)
using the site access token to fetch a hardcoded product by id and returning this json (content-type json), same, it's just header and footer.
What I'm trying to do is use a $.get('/apps/s/serve/some-unique-id') that will render the correct json/liquid that shows or doesn't show, the buy now button "some-unique-id" is a client side id.
I know we can manually create the needed HTML tags server side and send them - but this doesn't use the theme/style that's already applied for the rest of the shopify site.
I have a Phonecall hosted control opened inside unified service desk as one of the tab and i have a few grids on that page.
On click of any grid inside my phone call page the respective entity is displayed on the same page.
Like for example if I click on customer product grid entity then that grid is opened similarly, there are other grids on which the user can click and it will load that entity on the same tab.
Now, the issue is as i said earlier that my new entity is being loaded on the same hosted control that is my phone call page. I want to prevent this from happening.
I want to display a different tab for whatever record is clicked within my PhoneCall Hosted control so this way my Phone Call Page is still there.
I know i can do this using Windows Navigation Rule but I will have to create different navigation rules for my different entities and then in future if any other grid is added in my phone call page then i will need to add another navigation rule to cater it. This is not the best approach, I want it to be dynamic. Is there any other way where I can open a different tab if a record is clicked from my phonecall page?
Create a new windows navigation rule. The "From" field should be your Phone Call Page. Leave the Entity, From search, and URL fields in the "Route Logic" section blank. Windows Nav Rules get executed in order, and once they find a match it stops executing. So make the order low enough so that it gets executed where you want it to.
The "Target Tab" and "Show Tab" fields should be a new hosted control that you want the popup to open in. The action is "Route Window".
As far as route type, you are going to have to play with this a bit. I think opening stuff from a subgrid is Route Type "Popup", but you might need to create 2 very similar rules (one with route type "popup" and the other with route type "in place") to account for all scenarios.
See the example screenshot below:
I am building a Joomla 3 website where some articles in a category are intended to be viewed only by registered users, while other articles in the same category are intended to be public.
In testing an article with the "Registered" access level, I find that article's content is revealed in the public Atom/RSS feeds for the category. My expectation is that the article content should not be there.
Here is my test:
http://incyanity.net/index.php/hote
This page is a Category List. The "Test" article correctly displays "Register to read more...". Additionally, in the menu at the top of the page, the drop-down list for this category correctly displays the Test link with a lock icon beside it. The menu item is set to public so visitors can see where the protected content is. Clicking on the menu item takes the user to an error page. Great! This is all desirable behavior.
Edit: I had the menu item set to public and it was working the way I described above, but when I tested just now it seems the behavior has changed again to allow guests to see the whole article. This now forces me to hide the menu item too which is not what I want to do. :( The whole article is still in the Atom/RSS feed though!
http://incyanity.net/index.php/hote?format=feed&type=atom
Both this feed and the RSS version shows the entirety of the body of the "Test" article. Why is this happening? I do want feeds available for people to follow public content published to this category, but anything that requires registration should not be included (or, ideally, the feed should only contain an entry that says something like "[Article Title] has been published. Log in at the website to view").
Since the menu item is set to public, I did try setting it to "Registered" on the off chance that had anything to do with this but the entire "Test" article still displayed in the Atom and RSS feeds.
I've tried asking for help on the official Joomla forum plus various searches on Google for solutions to this and unless my Google-fu is weak I just can't seem to find any answers. I feel like the behavior I'm looking for should be natively supported by Joomla given the integrated user access levels and ideally I want to solve this without turning to a third party plugin.
What am I doing wrong here? Thanks!
To review the configuration, you set:
Article manager options: Show unauthorized links "test"
Article options: View access level: registered;
The first option ensures that you get the links to the articles which have the "access level=registered", and that they show in blogs and category lists.
The second, sets the article's access level as Registered.
This is fine. But in order for Joomla to be able to show the articles in blogs, the introText of the article needs to be visible to all as well. Here comes the trick.
Just add a "Read more" tag (with the button at the bottom of the editor) in the article; the text after the tag will be hidden. The first part of the article needs to be visible to all, otherwise neither Joomla (nor search engines) would be able to show it.
So just add the read more tag... it's that easy. If you don't want any text showing you can start the article with it, but it's against your interest.
I am new to Magento enterprise edition. I need to enable some buttons(Page, News & Video) regarding the product details in my front-end. On mouse click, i need to fetch data related to the product from another website through search key. Is there any solution through which we can directly fetch the data on mouse click or is there any third party tool through which we can access data
As per your requirement an my understanding you need some data to be fetched from another site on mouse click for a product.
On mouse click event you need to do an Ajax request passing the product id or something that is being identified and used by other site as a parameter
I use an ajax plugin (smartAjax) for my website and on one of my pages, I have google map. All is working perfect without using ajax but as soon as I use google map in combination with ajax, google map does not load correctly anymore.
You can view here:
http://mark-i-mark.com/lab/eys/public/ajax1.html
All looks great but when clicking on "SCHEDULES & FEES" in the top menu and then clicking on "OUR CONCEPT", which suppose to bring you back to the map, the map does not appear anymore. If you refresh the page, you can see a short flash of it but it does not load correctly.
This is about the address, as shown in the address bar because if you delete the last part (#ajax1.html), the map appears correctly.
Does anybody have any idea what I may do wrong? I am happy about any suggestions.
cheers ;-)