Comments (8)
@xh3n1 Perhaps you could investigate this and share your findings?
from phplist3.
@samtuke I wasn't aware that the frontend uses backend stuff, but I agree with @luison that it would be better to separate that.
from phplist3.
@luison Is your goal to be able to style individual table rows within the subscribe pages, or to be able to replace the tables altogether? Adding unique CSS class names or IDs shouldn't be difficult, which would allow you to add more specific styling.
from phplist3.
My goal would be to improve or have more personalization options on those pages. The idea of having an ID on the rows/cells would just be an easy way to help doing it with CSS Styles. The PHP code that generates that seems rather confusing and diversified.
from phplist3.
@luison By personalised options, do you mean custom theming of their inputs and labels? Deeper customisation would require changes to how attributes are added and managed.
from phplist3.
Hi @samtuke. Again as a suggestion whatever you guys find "doable". Truth is the design options via CSS are very limited now and therefore of my suggestion of at least move the attribute class you already seem to include on inputs, radios, etc further up as possible within the element.
In the case of the tables as you are building them today that would be on the TR I guess. In this form the label, text of radio buttons and other elements within that attribute become somehow "modifiable"
With a sample current code:
<tr>
<td><div class="required"><label for="attribute4">Label*</label></div></td>
<td class="attributeinput">
<input type="text" name="attribute4" class="attributeinput" size="40" value="" id="attribute4"></td>
</tr>
Making it just something like:
<tr class="attribute4">
<td class="label_container"><div class="required"><label for="attribute4">Label*</label></div></td>
<td class="attributeinput">
<input type="text" name="attribute4" class="attributeinput" size="40" value="" id="attribute4"></td>
</tr>
Would allow to change the background of the td for the label on some of them, increase padding on most important items, add the required * via CSS, etc.
Again, further tuning via divs and classes would be better, but that kind of change should not break compatibility and allow some small additional tuning.
thanks.
from phplist3.
@luison Thanks for the snippet in #428 -- how about this for next steps:
- Replace table structure with divs, as you proposed
- Add auto-generated IDs for each div containing an input for easier CSS styling
- Add dedicated copies of currently shared UI libraries (e.g. jQuery)
- Make use of those UI libraries explicit within the public page template itself (can be changed or removed by the phpList admin, so other UI libraries can be used instead)
Thoughts? Which of those steps would you be happy to work on?
from phplist3.
It seems that there is no activity on this issue for a long time. Additionally, this discussion can continue on the community forum: https://discuss.phplist.org/t/suggestion-for-css-improvement-on-subscribe-page-construction/4078
from phplist3.
Related Issues (20)
- Emoji in subject lines HOT 1
- list selection gets wiped unexpectedly
- hardcoded table names
- Difficulty to import emails HOT 3
- Cannot create new super admins HOT 1
- Private campain templates HOT 1
- Problem with definition of timestamp columns HOT 3
- feature request for the orgs i am with HOT 2
- Add a plugin homepage hook
- Add a hook to allow plugins to download attachments
- please add arm64 builds of docker images HOT 1
- Also process bounced unidentified message HOT 3
- Read this when opening an issue
- Unsubscribe with confirmation: why system does not to delete my email? HOT 1
- phplist logs me off instantly HOT 9
- Ability to disable 'test' features in future releases? HOT 2
- Unable to update translations HOT 2
- The contents of the email are being reset HOT 1
- Reorganisation of the resources site breaks Find plugins link HOT 7
- max_queries_per_hour 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 phplist3.