Lavjaman képe

Még maxlength bár nem vagyok benne biztos.

Amit PP írt egyszerűbb

0
0

*----*----*

$node ? 'alma' : 'bor'

*----*----*

nevergone képe

mert jó érzés, ha írok egy kódot és az szépen azt csinálja amit szeretnék :)

Ha jól csinálod, a Drupal filozófiája és szabályai szerint viszed véghez. Ellenben csak idegeskedés és hajtépés, nem csak neked.

0
0
pp képe

Pontosan mit is szeretnél?

mert így csak ez van:

print arg(2);
0
0
frozen képe

A csoportok jogosultságai rendesen ki vannak osztva a kedvezmény mezőire?
Felhasználók/jogosultágok..

Az említett modulokkal tökéletesen működik, nincs bug.

Üdv

0
0
Czollli képe

Pont ezt :)
Éreztem, hogy rém egyszerű.
Köszönöm pp

A célom az volt, hogy a search-results.tpl.php-ban ki tudjam
iratni a keresőszót.
Lehet, hogy ezzel kellett volna kezdenem...

0
0
d0r0ttya képe

Nem hiszem, hogy erről lenne szó.
A jogosultságok között ehhez kapcsolódóan csak az uc_discounts modulon belül a configure discounts jogot lehet odaadni a felhasználóknak. És az, hogy egyszer jó, egyszer nem a megjelenítés, az is inkább bugra utal.
Szerintem.
De nagyon örülnék neki, ha valaki megcáfolna, mert akkor meglenne a megoldás.

0
0
opera11 képe

Amennyiben a linket a CCK Link modullal kérd be, akkor viewsal a linknek van olyan nézete, hogy a link url-je sima szövegként. Utána hozzáadsz egy Global: Custom Text- mezőt és összerakod

<img src="http://open.thumbshots.org/image.aspx?url=[field_*]" title="[title] - képernyőmentése" alt="Weboldal előnézete" >

Legalábbis én így csináltam...

0
0
opera11 képe

Így elsőre ez ugrott be, bár ezt az eXtplorer-t nem ismerem : http://drupalmodules.com/module/imce

0
0
szj képe

Elnézést az eddigi körülményeskedésért...
Arról van szó, hogy egy vertical accordion menüt szeretnék betenni block-ba.
Többel is próbálkoztam, itt van az egyik:

/***********************************************
* Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

ddaccordion.init({
headerclass: "expandable", //Shared CSS class name of headers group that are expandable
contentclass: "categoryitems", //Shared CSS class name of contents group
revealtype: "mouseover", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
mouseoverdelay: 300, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
persiststate: false, //persist state of opened contents within browser session?
toggleclass: ["", "openheader"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
togglehtml: ["prefix", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
animatespeed: "slow", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
}
})

.arrowlistmenu{
width: 150px; /*width of accordion menu*/
}

.arrowlistmenu .menuheader{ /*CSS class for menu headers in general (expanding or not!)*/
font: bold 14px Arial;
color: white;
background: black url(/start/sites/default/files/bullet/titlebar.png) repeat-x center left;
margin-bottom: 10px; /*bottom spacing between header and rest of content*/
text-transform: uppercase;
padding: 4px 0 4px 10px; /*header text is indented 10px*/
cursor: hand;
cursor: pointer;
}

.arrowlistmenu .openheader{ /*CSS class to apply to expandable header when it's expanded*/
background-image: url(/start/sites/default/files/bullet/titlebar-active.png);
}

.arrowlistmenu ul{ /*CSS for UL of each sub menu*/
list-style-type: none;
margin: 0;
padding: 0;
margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
}

.arrowlistmenu ul li{
padding-bottom: 2px; /*bottom spacing between menu items*/
}

.arrowlistmenu ul li a{
color: #A70303;
background: url(/start/sites/default/files/bullet/arrowbullet.png) no-repeat center left; /*custom bullet list image*/
display: block;
padding: 2px 0;
padding-left: 19px; /*link text is indented 19px*/
text-decoration: none;
font-weight: bold;
border-bottom: 1px solid #dadada;
font-size: 90%;
}

.arrowlistmenu ul li a:visited{
color: #A70303;
}

.arrowlistmenu ul li a:hover{ /*hover state CSS*/
color: #A70303;
background-color: #F3F3F3;
}

A tüneteket ugye már korábban leírtam.

Megköszönök minden segítséget előre is.

SzJ

0
0
szj képe

Világos,

A kód lentebb olvasható.

SzJ

0
0