I have many content pages. In master page I have added the tab About us, support, contact us. Which will come in all pages. But some pages will have different tabs from other pages. EX: group page will have users and message tab, users page will have groups tab and message tab. I can design this in master page as it varies from page to page. The tabs depends on the user permission, for each user it is going to change. What is the best way of doing this.
As a general concept, I would develop the tabs as a user control or server control. The control should render its tabs based on the current user and the current page. If that's enough to get you started, great. If not, post a comment and I'll see if I can put together a sample for you.
Related
I read through all the other questions/answers I could find. Most solutions were quite old already and given that most websites nowadays are single page sites I am hoping there's an easier solution today?
I have a single page website i.e. home, banner, services, team, contact all on the same page with links at the top to scroll using href # to the section on the page.
Since all content is on one page, Google Analytcs only tracks the page as a whole. Is there an easy way to track whether a visitor has scrolled down to a specific section (website is a simple Bootstrap site) and/or clicked on a menu item to scroll down?
You can set a Virtual Pageview based on visibility element. Each section has a div, by assigning an ID to each section you can send a pageview as soon as the ID appears in the screen.
Depend on how your SPA works youca use History change trigger: https://support.google.com/tagmanager/answer/7679322?hl=en&dark=0
I have update a page in my wordpress site using web admin back end, but what I see is that even if I update a page, it does not get updated online. Moreover, some of the content of the page which I see online /live are not actually texted in the area where we put the content.
On the right side navigator, in the page attribute area Parent has been set to No Parent, template --> Home Page.
Can you please let me know what could be the possible reason why the live content of the page is different from what I can see in the actual text area through web admin panel?
Also updating a page does not reflects on the page as well for that particular page.
First make sure you are editing the right page. Click in the frontend adminbar on edit instead of navigating in the backend through the pages list.
Secondly it can be any caching related issue. Check out if there are any plugins or settings for this.
Areas that are on the page but not editable via the content can be widgets or any kind of theme builder stuff. Check in the backend design->widgets.
The page hierarchy (parent: no parent) can be differ from the actually website navigation. Check out design->menus. It is possible to build other hierarchies in the menus.
The scenario is the following:
In an ASP.NET Webforms application,the main page loads (e.g. Home). Then i click on a link and get forwarded to another page of the solution (e.g. Customers). Now, if i do 2 searches on the page (there's a search button that queries the DB and updates a grid), and click brower's back button, instead of being forwarded back to the Home page, i stay on the Customers page. I have to click the back button 2 more times (as many as the posts made) in order to get forwarded properly to the Home page.
Anyone knows why this works like that or what can i do to make the browser's back button forward me to the previous page no matter how many posts i made on the current page?
Most likely there is an .aspx page between your home page and your about page. It probably serves a the purpose of checking for errors or validating information from the first page. When you click the back button from the about page, it navigates back to the inbetween page which contains the code to send it back to the about page. The inbetween page is usually processed so fast that you only see a brief flash of it in the address bar.
The best solution would be a link to navigate back to the home page, if you are not the author, I don't think there is much that you can do :P.
I am developing application for shopify, which replace login and register links to another links, creating a custom pages. For example when user click to login link? it is not redirect to login page, it is open a popap with login form. Also my app create custom pages. For example people page, where shows list of customers. And also a want to customize product page by adding a new fave button. In people page for each people shows count faves and last three faves product with images.
So my problems is theme layouts. Because each theme have self layout and css. I want to my app support all themes. How can i do it?
Sorry for my bad english. I just learning... ))
You have two options here, http://docs.shopify.com/api/tutorials/application-proxies and http://docs.shopify.com/api/scripttag.
App proxy sounds like the solution for your separate 'peoples' page.
If you want to assume that all themes have a log in link (which they all should but it's completely customizable so it's possible some don't), then you could always do something like this
$("a[href='/account/login']").click(funciont() {// show modal}); This isn't guaranteed to work in all themes but it probably will in most.
I TRY to manage content on a Plone-based website, www.capital-tennis.org. I know ALMOST NOTHING about Plone itself.
I want to add 2 portlets to the front page (main page) of the website, one on the left (in the white blank space) and one on the right (to the right of the leagues/tournaments links). The new portlet on the left should mirror the 4 externally visible events in the EVENTS folder at the top of the front page, basically acting as a repeater to bring attention to those events on the front page. These 4 events on the front page should be in thumbnail view. The new portlet on the right should be an external link to a website.
I don't exactly know what kind of permissions I have. I know I can delete and add content to other pages. I assume I can do the same with the front page.
I don't know if I have to use the portlet management tools on the website or if I can write the HTML code to reverse engineer the creation of these 2 portlets.
When you reply, please treat me as an idiot, stepping me through every button press, etc. I would REALLY, REALLY appreciate your help.
Eric
If you have full admin rights you should see Manage portlets link somewhere on the front page after login.
Here you can add
Event portlets which automatically pulls published events on the site
Static text portlet where you can enter text and links with WYSIWYG editor
No need to program. No need to even write HTML.
Please check if you can get this done and if it looks you get there then ask additional information, if needed, in the question comments and I can retrofit the answer.