Code Monkey home page Code Monkey logo

Comments (5)

Jefferson49 avatar Jefferson49 commented on September 27, 2024

Welcome to the plugin and thank you for reporting the issue!

Until now, I have no experience with right to left text. On first sight, I see two options:

  • Use font stettings for templates (see screenshot below). You can set "Poll Name Text Align" and "Answers Text Align" to "right. However, seemingly "Answers Text Align" does not react on the setting. Unfortunatelly, these kind of settings are not available for all texts/fonts.
  • If you have some know-how about css formating, you might want to change the css settings in the following file: joomla\components\com_sexypolling\assets\css\main.css. You can use the developer tools of your browser and identify the css classes of the text objects you want to change. If you know the css class of the object, you can change the css settings in main.css

Poll name text align

from joomla_plugin_sexypolling_reloaded.

brilliu avatar brilliu commented on September 27, 2024

Hi, thank you for the swift reply.
Answers Text Align = right does not do anything.
I have some knowledge of CSS, will try to do that.
The problem it is creating is that I can't control the order of questions, 1, 2 ,3 4, 5 etc...
you can see it in the attached screen
2023-10-09_13-52-31
shot

from joomla_plugin_sexypolling_reloaded.

Jefferson49 avatar Jefferson49 commented on September 27, 2024

I also do not understand why the first 2 answers are not ordered properly. Starting from the third answer, everything from "01/" up to "19/" seems to be o.k.

I checked in the code and the ordering seems to be performed by a database query:
ORDER BY sexy_answers.name

You could use phpMyAdmin to check the answers in the database. Open the "[prefix]_sexy_answers" table with phpMyAdmin and check the "name" column. Try to sort the data according to the "name" column and check if you can find some explaination for the ordering.

from joomla_plugin_sexypolling_reloaded.

Jefferson49 avatar Jefferson49 commented on September 27, 2024

Answers Text Align = right does not do anything.

I was able to identify the root cause and fixed it in the code. The bugfix will be available with the next release.

However, I found out that the bug was only in the template configuration animation. If you save the changes in the template, the "Answers Text Align" setting will be saved properly and the new text alignment is shown in the site module. Therefore, you can use the feature also with the existing plugin version.

from joomla_plugin_sexypolling_reloaded.

Jefferson49 avatar Jefferson49 commented on September 27, 2024

Fixed with 8eeb9df

from joomla_plugin_sexypolling_reloaded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.