PluXml 5.4 - Few questions
HI
I have a few questions:
1. Installation file does not work change the language only in the administration panel can be changed. How do I fix ??
2. How to change the default text URL: categories, archives and article on your (in terms of translation)
3. It is a plugin for registration, because I CMS allows the administrative level ??
4. ERROR !!! Everywhere displayed good characters (letters) only in the side menu and only in the comments is a coding error.
displays good
I get an error encoding characters are incorrect
The error appears when you type (XX) reducing the number of displayable characters
I am counting on help. Regards
I have a few questions:
1. Installation file does not work change the language only in the administration panel can be changed. How do I fix ??
2. How to change the default text URL: categories, archives and article on your (in terms of translation)
3. It is a plugin for registration, because I CMS allows the administrative level ??
4. ERROR !!! Everywhere displayed good characters (letters) only in the side menu and only in the comments is a coding error.
displays good
<?php $plxShow->lastComList('<li><a href="#com_url">#com_content</a></li>'); ?>
I get an error encoding characters are incorrect
<?php $plxShow->lastComList('<li><a href="#com_url">#com_content(33)</a></li>'); ?>
The error appears when you type (XX) reducing the number of displayable characters
I am counting on help. Regards
Connectez-vous ou Inscrivez-vous pour répondre.
Réponses
1. This bug will be fixed with the next release. It is already known.
https://github.com/pluxml/PluXml/issues/108
2. You can't change this part of the url. But this plugin will allow to customise it.
http://forum.pluxml.org/viewtopic.php?id=4087
3. Sorry I don't understand.
4. Indeed the error appears with #com_content(33). Please, try this fix
https://github.com/pluxml/PluXml/commit/1a7a2c8c4d7d9164695424bf16a9c892f08454ea
Consultant PluXml
Ancien responsable et développeur de PluXml (2010 à 2018)
Side Menu> latest post> length the title complete dots ... ???
1. the folder name must be /plugins/plxMyBetterUrls (remove -1.4.2) and see if all files are in this folder (not in a subfolder). Move them into /plugins/plxMyBetterUrls if it's not the case. Then you should see the plugin in the administration area.
2. You can change the ended caracters by passing parameter to $plxShow->lastArtList function
Try this
4th parameter is the ended caracters
Hope this helps
Consultant PluXml
Ancien responsable et développeur de PluXml (2010 à 2018)
my code sidebar.php in themes
Maybe these "..." come from the CSS style of the theme. you can look this with the page inspector of you browser. for exemple with Firefox :
https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector
If you click on the link, can you open the right page ?
In CSS3, the "overflow: auto" rule shorcuts the sentence to avoid a carriage return.
You need to increase the width of the sidebar.
With Firefox, hit control-shift-I on the keyboard to open the inspector. And the mouse select the zone on the sidebar to see the CSS rules and change the width property.
Accès à mon dépôt de plugins et thèmes
installe PluXml plus vite que ton ombre avec kzInstall2
The question of how do these dots on the end of the title?
Look at the possible values for the overflow property here :
http://www.w3schools.com/cssref/pr_pos_overflow.asp
Choose overflow=hidden if you don't want to display any dots, but AMHA it's a mistake.
Yours
Accès à mon dépôt de plugins et thèmes
installe PluXml plus vite que ton ombre avec kzInstall2
Code comments
<?php $plxShow->lastComList('<li><a href="#com_url">#com_content(29)</a></li>'); ?>
template does not have nothing to do with
From what I understand you want to display only last 5 recent posts in the sidebar, with each link truncated to maximum length of 28 characters ? Is that correct ?
Yes
so you want to trunkate the red part of this code :
<?php $plxShow->lastArtList('<li><a class="#art_status" href="#art_url" title="#art_title">#art_title</a></li>', 5, '', ''); ?>
For what I understand we need the red #art_title attribut to behave like the #com_content() one.
http://devzone.pluxml.org/index.php?page=plxShow-lastArtList
#art_title : affiche le titre de l'article (display article title)
http://devzone.pluxml.org/index.php?page=plxShow-lastComList
#com_content(num) : affiche les N (num) premiers caractères du commentaire (display N (num) first caracters of comment)
Let's see with Stephane if adding #art_title(num) is possible.
If not, we can try a CSS trick using a <span> with a 28char width and no overflow like suggested by Bazooka07
(ps : number of displayed articles is in bold)
main code
<ul>
<?php $plxShow->lastArtList('<li style="width:230px;height:22px;overflow:hidden;"><a href="#art_url" title="#art_title">#art_title</a></li>'); ?>
</ul>