Home > django > django-cms: link to plugin with hashtag

django-cms: link to plugin with hashtag

March 11Hits:1

I have a "contact" link on a webpage, that needs a #idxx hashtag added, so the browsers directly shows contact infos (that is on a about page). As the link is quite static, I've added it with django-cms's {% page_url 'contact' %} tag, and then manually added the hash. BUT: As soon as I change something on the contacts page, and then publish the changes, the plugin's id will change. I already enhance the menu with selected plugins (Institute / About / Contact) Is there an elegant solution for this problem, for example accessing the menu again, only for that specific node?

Real world example: http://www.wti.org

Related Articles

  • django-cms: link to plugin with hashtagMarch 11

    I have a "contact" link on a webpage, that needs a #idxx hashtag added, so the browsers directly shows contact infos (that is on a about page). As the link is quite static, I've added it with django-cms's {% page_url 'contact' %} tag, and then m

  • Problems with same page scroll plugin in django-cmsJune 3

    I need to make a same-page scroll design with links on a sidebar that scrollto anchors for different sections within the same page. I am trying to use the cmsplugin-sections and run into a 'NoneType' object is not iterable error when trying to add a

  • django cms [aldryn newsblog] replace template for pluginJanuary 14

    I need to replace same plugin template on different subpages - e.g. on frontpage I need specific slider template for latest articles, in detail article I need small list, on search result without images etc. [note: everything about aldryn newsblog ap

  • Django CMS Placeholder: Plugin avaliable only to a specific placeholderJanuary 27

    Once I create a custom plugin it's available for every placeholder on the site. What if I want them only avaliable on a specific static_placeholder and excluded from the rest? I know the documentation tells me how to manually include every plugin on

  • Using custom login views in Django CMSJanuary 31

    My question is: How can i provide custom login and logout views for users, while still using the underlying authentication of the cms? If possible I want it all to reside in the Menu at the top. I don't want to use the CMS login and logout page or th

  • Using django-custom-user in existing django-cms projectJanuary 17

    I have an existing django-cms ver. 3.1.3 project where I would like to replace the default django User model with the one found in django-custom-user (to have email as user name for my users). I have added the custom_user app to my INSTALLED_APPS and

  • Django-cms ckeditor permissionsJanuary 21

    We are developing a django-cms (django 1.8, cms 3.2) site including the ckeditor. Logging in with admin, no problems. But when I set a user to staff and give PagePermissions, I get the error "You do not have permission to edit this plugin", when

  • Django CMS blog - Replacing templates for different casesJanuary 25

    I'm not sure, Django CMS Blog is complete app or foundation for self-extending ? I can see one huge logical mistake - inside one app config, I can't easy change template - for list, detail, archive and item - they are strict and hardcoded in plugin c

  • Django cms placeholder in app templateFebruary 10

    I have got some trouble to use placeholder in django cms app template. I have an app blog that contains two template bloglist.html and blogdetail.html and I have extended these templates with page.html where I have placed two placeholder in menu sect

  • django-cms: how to get the Page from an app associated with itFebruary 11

    Given this apphook: class NewsHook(CMSApp): name = _("News") urls = ["apps.news.urls"] apphook_pool.register(NewsHook) and this model inside apps.news.models: class Article(models.Model): title = models.CharField(max_length=255) ... Is

  • Links to plugin files not resolvingJanuary 11

    Has anyone seen an issue where links to plugin files can't be resolved and results in 404 errors? For example, I have a plugin that drops a page template into the active theme directory, and this template file references a reset.css file. The reset.c

  • Pretty Link Lite Plugin on WP MultisiteOctober 20

    I have a subdirectory install of the WP multiste and I'm trying to use the Pretty Link Lite Plugin to create shortlinks. I'm also using the MU domain mapping plugin to map each subdirectory site to a domain name. The pretty link manager creates short

  • How to apply default post categories to link manager pluginApril 4

    I have a project with several custom post types - all sharing the default WP post category taxonomy. I would like to add the link manager plugin (Formally built into WP pre 3.5) to manage links - also sharing the default WP post categories. By defaul

  • Drupal 8 - "Implement menu links as plugins", trying to build a menu treeAugust 12

    In a previous Drupal 8 menu question here, we determined that menu tree building was now a service. In my D8 contrib theme, I was then able to render the main menu tree as: function gratis_preprocess_page(&$vars, $hook) { // Build the main menu links

  • How to add a meaningful link in plugin admin panel?March 17

    I've read too many times this kind of code to add a link in plugin admin page: <?php function plugin_add_settings_link( $links ) { $settings_link = '<a href="options-general.php?page=plugin_name">' . __( 'Settings' ) . '</a>'; arr

  • How to get author developer link on plugin pageOctober 30

    When I upload my plugin to Wordpress's repository it currently shows my full name as the author. It doesn't link to my profile though. I've tried changing the author name to my username, but it still doesn't link. How do I link my plugin to my profil

  • Django/Django CMS - server static files from multiple URLsJanuary 18

    I've set up S3 to host static files for a Django CMS project, using Gulp to upload the built files from a common static directory (/ecommerce/static/). In settings.py I've set the STATIC_URL to be the S3 URL and it works without issue. Here's the rel

  • How to set up multiple domains in django cms?January 29

    Looking to add two domains to one django-cms project. For eg www.example.com & www.example2.com. How would I configure the main url.py to recognize which domain is being queried? I have created different apps for each domain and have set up the templ

  • aldryn django-cms adding template

    aldryn django-cms adding templateFebruary 5

    How do I add custom created template, so user can choose it? I have project running locally. I am awere that with Aldryn desktop app I can add template. But then it's being added to cloud version, and to have it locally I need pull from cloud (which

  • Django-cms show_breadcrumb template tagFebruary 10

    Where is located django-cms {% show_breadcrumb %} tag? I looked all over templatetags in cms app, but didn't find it. --------------Solutions------------- Is defined in django-cms/menus/templatetags/menu_tags.py. See on github.

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.745 s.