Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about plone

Read more about plone

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - plone

Is it possible to add a if condition inside tal:define?

I'm using python with Zope and I'm trying to create a variable with a if condition (if possible). I'm having a difficult time finding examples and resources online so I don't know if that's possible, ...
test-img

JThao

python

html

plone

zope

Votes: 0

Answers: 2

Latest Answer

You can use an 'and' where the left side is the condition and the right side is the value when the condition is True. Something like this: <div tal:define="myvarible python: CONDITION and 'valu...
test-img

MrTango

Buildout - Allow hosts for package download

I have a Plone 5.0.5 deployment and the need the package zc.zrs for ZODB replication. After adding the information to the buildout.cfg, I've added the URL https://pypi.org/simple on the index paramete...
test-img

Geovano LQ

plone

easy-install

buildout

zodb

Votes: 0

Answers: 1

Latest Answer

The Plone buildout should be able to download from pypi by default. Check if you can download with wget into your download folder: wget https://files.pythonhosted.org/packages/5c/b2/5a516f4883fc766ea3...
test-img

MrTango

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved