How to use the Concrete5 "Page Rating" Add-On - concrete5

I have a page that shows search results containing pages that matched the search criteria. All of the pages returned are the same type of page (e.g., a person's profile). I want to add a star rating system to it so users can rate the profile.
I've tried adding a custom page attribute and updating it using the output rating helper but that didn't work. It looked like it worked but when I refreshed the page it just went back to whatever the rating was set to originally.
So, I added the "Page Ratings" add-on (https://www.concrete5.org/marketplace/addons/page-ratings/) and installed it. There are supposed to be 2 blocks associalted with it. I'm assuming the list block is the one I need in my case. However, when I go to the page and try to add one of those blocks to my area I don't see them listed. Does anyone know how to use this add-on? There is barely any documentation for it.

You do realize this is a "pay for" application? As such, most of the Developers that do charge for their add-ons are very responsive. Not to push you away from here, but if you have a problem with the installation, payment, etc. Really should be addressed by the Developer.

Related

Place order button to automatically download

I'm new here and was directed to try this forum for my quandary with WooCommerce.
I’ve created downloadable products that are free. – I’m using Storefront WooCommerce Theme for WordPress.
– Before the download is available I would like the users information ie: email, name. I’m using the checkout page (place order) for this and bypassing the cart. So instead of collecting payment I’m collecting contact info. I have customized that page and buttons to only gather the information required for download.
– Once they enter the information they are able to download the file, but only from a different page (another click). I’d like download to automatically download on the place order button click.(I've changed the text to read: download specifications)
In summary:
– I would like to have the file download automatically without the place order summary page more of a thank you for your interest page.
Any suggestions would be much appreciated. Thank you again for any help you can give me.
I'm not sure why the negative votes, I thought this was a place to share and find answers.
I did a work-around which works for now. I may revisit this later. There are still 3 clicks but the flow is a lot nicer.
• I copied the woo thank you php check out template to my child theme and made some custom changes to eliminate the extra order information
• changed button title for smoother flow while still gather the user information in my order information.
• I can trim the template even more but that will take a while because the download function is attached to the order table which is actually the information I want to record.
• Then, I thought about attaching a form to the button at the single product page to capture the user info but that opens another can of worms in record keeping since it won’t populate the order table.
What I wanted to do requires lots of heavy lifting which will take some time for me to figure. If I come up with the answer to my original question I will share with the forum.

Custom Template & Rapido Breaks URL Paths

Outline
I have a custom type (Dexterity) called "Gallery Profile", for this type I went into the ZMI (portal_skins/custom), created a new "Page Template" and wrote a custom template for my gallery. The gallery contains a bunch of lower down images and one main image of the owner of the gallery, like a News Item view but a gallery tacked on the bottom.
The customer wants this main image to be published to Facebook when someone hits 'Share' and some more specific info in the title when published.
Work carried out
Configured a Rapido script to write the 'og:image' meta data etc HTML that is required to get this to work (the default Plone stuff only publishes the sites logo unless you're viewing one Image type).
If I go to test the HTML coming out of Rapido via direct web address it works swimmingly. (site.com/##rapido/og_share/block/og_share) - I'm on the slightly older version of Rapido hence the non-plural version of block.
The problem
If you go to my gallery page where we have applied the template, then check the HTML, all of the OG meta data is pointing to the template instead of the current page its on.
This effects queries too (if for example you're using a script to find out what images are within a folder) - it searches /my_template instead of site.com/a_folder/my_template_is_on
In the Rapido Python file I've tried things like:
context.content.absolute_url()
context.content.absolute_url_path()
context.request['URL']
context.request['VIRTUAL_URL']
context.request['ACTUAL_URL']
... and probably more as I've been at this a while.
If you're not on the custom template, it works.
To Reproduce
Create a custom template
Assign it as the default view of a folder or any type.
In your template put <div tal:replace="structure python:context.REQUEST"></div> (just to see the difference)
In your Rapido try using context.app.log() and any of the above
Refresh your templated folder while checking the logs and the output from the context.REQUEST stuff.
You will see the differences and how Rapido is having a hard time getting the URL of the page you are on even though its there.
I've always had this problem with Rapido I just tend to work around it but in this particular situation I am stumped.
So in summary
Am I being an idiot and missing something obvious?
Is this possible?
Thank you for your time.

Rename-ing some woocommerce fields

I have been having some hard times trying to configure my website.
I have been looking left and right on the internet for how can i rename certain fields on my webpage. I came to a point were i dint find any more snippets that i can use. If someone is kind enough to hekp me with the snippets for the bellow problems i would be extremly grateful :D
1) Login/ Registration form
i have renamed the Login and regitration form, but i cant rename or completly remove the recover password button ( i tried 4-5 snippetes so far and non worked)
2) On my Account page i did some editing with the gettext snipped, but i wasn't able to translate the following word "Logout" and "edit your password and account details"
3) i don't know how to translate the "search producs", the content of the box
4) i dont know how to rename the "apply coupon" button and the content of the box. For this one i used some snippets, but nothing happened :(
bellow, you can see my website
http://www.toner.eurofinconsulting.ro/wp/
Making adjustments like you have referenced are fairly simple to do in Woocommerce. Having said that, one of the first things to understand is how to correctly make changes to Woo template files. The easiest thing to do is to copy the entire directory /wp-content/plugins/woocommerce/templates to the root of your theme in a directory named YOUR_THEME/woocommerce. This now allows you to adjust any of the templates without touching files in the plugin directory (which you should NEVER do) while retaining the ability to update Woocommerce as updates are available.
Now, to make your changes:
Login/registration form - All changes you need can now be made in wp-content/themes/YOUR_THEME/woocommerce/my-account/form-login.php
Changes for this can be made in wp-content/themes/YOUR_THEME/woocommerce/my-account/my-account.php.
Changes to the search form - If this is using the Woocommerce search form, try making your changes in wp-content/themes/YOUR_THEME/woocommerce/product-searchform.php. If it is not there then try finding the search template used by your Wordpress theme.

Filtering Posts by tags and displaying them underneath instantly

On my website I have all kinds of products (gift ideas) and want to make them easier accessible for visitors.
The plan is to build a page called 'present finder', where you can select a price range, the persons age (kid, teenie or grownup) and tags referring to their interests (e.g. Design, Nature, Travel, Sports).
It should look something like this:
Link to how it should look
I doubt I would have any trouble building the GUI, or tagging all my posts but:
Question:
How do I make it work that as soon as options are changed (like tags
or price range), the right posts are being displayed underneath
instantly? I don't want to be forced to install a 'search' button and I dont want the page to reload every time the user adds a
tag or changes the price range.
Is there maybe a plugin that does exactly what I need so I don't have to build it from scratch?
I researched for over 40 min and couldn't find anything.
Thanks a lot for your help. Cheers!

Problem attaching Ubercart view to relevant content

Example page: http://giantcalculator.com/content/cartridge-filters
It’s very cumbersome to connect the ubercart view to a relevant content page. In the example above I have attached the view to the bottom; you can scroll down to see it. It is a tedius process though in which I have to create the view, then create a mini panel, include the view in the mini panel, then go to blocks page and add the mini panel to region (currently a region below the main content), then I have to configure the block so the view only appears on it’s one particular page.
This seems far too complicated and the particular region will soon have about 20 blocks inside it, though each only appearing on one page. Is there a better way to attach a view to its relevant content info, or vice versa?
I know the view creates a page of its own, and if I could add the content on top of the view that would be great. Or within the view itself, can the content be added somehow?
I'm almost ready to move forward with this site but I really need to find if there is a better method first. I'm posting this in a number of places and offering a $20 bounty via paypal to the first responder with best alternative that I end up using. (if there is one). Bounty may be shared if two or more people have the same response on different forums and I can't tell who was first, though when I do have an answer I'll promptly post it.
Other forums this will post include Drupal.org paid forum, Ubercart Bounty forum, aardvark, superuser and stackoverflow.
If I understand correctly, I think the piece of the puzzle you're missing is Views arguments. If you ever find yourself creating more than one view, where the only difference is the content (ie. based on taxonomy, or a certain CCK field), you probably want to use that as an argument in the view so it loads the correct content automatically.
I assume "cartridge filters" is a taxonomy term, and the page linked above is a node with this term applied. So you'd add a taxonomy arg to your view in the Views admin, and get it to pull the term from the current node. There are a bunch of tutorials out there on this, and here's a screencast: http://gotdrupal.com/videos/drupal-views-arguments
I'm also not sure why you're using mini panels. They're generally used for sets of blocks or other content to be displayed repeatedly, like a tabbed block or footer. It sounds like you just want a regular block display of the aforementioned view. You could also make this entire page a Panel.

Resources