Comments (9)
Can you confirm that there is content provided to be displayed? The link in the admin panel is "/en/admin/website/content/legal"
On the demo site the content displayed corresponds to what is provided in the admin panel.
from property_web_builder.
Hi Ed
Yes I have content in both Legal Notice and Privacy Policy, also in both Spanish and English.
Cheers
from property_web_builder.
That is quite strange. Can you tell me if you get some content returned at this url:
/api/v1/web-contents?filter%5Btag%5D=legal
You can also start a console session with "heroku run rails console" and type the ff:
content = Pwb::Content.find_by_key("privacyPolicy")
content.raw_es
content.raw_en
Let me know if there is content for raw_es and raw_en.
from property_web_builder.
@etewiah I see the content on all the options you tell me to see.
I don't get why I can't see the content in the site
from property_web_builder.
Apologies for the delay in getting back to you. I can see what has happened.
I am now using a "section_key" column and I forgot that your installation would not have had that column populated. Please got to the heroku console ( "heroku run rails console" ) and type the following:
privacy = Pwb::Content.find_by_key("privacyPolicy")
privacy.section_key = "privacy"
privacy.save!
legal = Pwb::Content.find_by_key("legalAdvice")
legal.section_key = "legal"
legal.save!
from property_web_builder.
from property_web_builder.
No, the contents table only get populated by the seed tasks when no rows exist.
from property_web_builder.
from property_web_builder.
If the contents table has no rows, it will get populated by the seed task. If you really want to recreate the table, delete all rows and run the seed task - you should only do that if there is a good reason though. Right now everything is fine so I would not do that.
from property_web_builder.
Related Issues (20)
- Error when uploading images to Cloudinary HOT 2
- Mutiple Area Unit HOT 2
- Default Area Unit HOT 1
- Who's using PropertyWebBuilder?
- Google Maps API error: RefererNotAllowedMapError HOT 1
- Project communication channels HOT 1
- Googke Maps Api Key HOT 5
- Problem Deploying app to Heroku HOT 7
- Adding currency HOT 1
- How to edit code for the Heroku deloyed app HOT 2
- Error deploy to heroku HOT 4
- Document deployment to heroku alternative with a free plan HOT 14
- Alterntive to heroku HOT 1
- > I would love to work on this. Fly.io is a good alternative HOT 1
- Heroku error HOT 1
- Title: Security Vulnerability: Potential XSS Vulnerability in PropertyWebBuilder HOT 1
- Cant start app HOT 5
- Adding Philippine Peso to the currency. HOT 1
- Could not find gem 'globalize (~> 5.1.0.beta2)' HOT 5
- Customize admin views HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from property_web_builder.